0s autopkgtest [08:40:47]: starting date and time: 2024-11-16 08:40:47+0000 0s autopkgtest [08:40:47]: git checkout: 6f3be7a8 Fix armhf LXD image generation for plucky 0s autopkgtest [08:40:47]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.g_w1bh2g/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:libgetopt-long-descriptive-perl --apt-upgrade libjson-schema-modern-perl --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=libgetopt-long-descriptive-perl/0.115-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-s390x-13.secgroup --name adt-plucky-s390x-libjson-schema-modern-perl-20241116-084047-juju-7f2275-prod-proposed-migration-environment-15-9fe5340e-4a2a-4f4d-9e02-b45b418b6a14 --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-s390x -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 107s autopkgtest [08:42:34]: testbed dpkg architecture: s390x 107s autopkgtest [08:42:34]: testbed apt version: 2.9.8 107s autopkgtest [08:42:34]: @@@@@@@@@@@@@@@@@@@@ test bed setup 107s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 108s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 108s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.5 kB] 108s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1036 kB] 108s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [94.0 kB] 108s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [153 kB] 108s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [747 kB] 108s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [4940 B] 108s Fetched 2131 kB in 1s (2296 kB/s) 108s Reading package lists... 110s Reading package lists... 110s Building dependency tree... 110s Reading state information... 111s Calculating upgrade... 111s The following NEW packages will be installed: 111s libassuan9 111s The following packages will be upgraded: 111s libgpgme11t64 libseccomp2 python3-cffi-backend python3-markupsafe 111s 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 111s Need to get 352 kB of archives. 111s After this operation, 352 kB of additional disk space will be used. 111s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libseccomp2 s390x 2.5.5-1ubuntu5 [52.1 kB] 111s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x python3-cffi-backend s390x 1.17.1-2build1 [91.3 kB] 111s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libassuan9 s390x 3.0.1-2 [41.3 kB] 111s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x libgpgme11t64 s390x 1.24.0-2ubuntu1 [154 kB] 111s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x python3-markupsafe s390x 2.1.5-1build3 [12.9 kB] 111s Fetched 352 kB in 1s (625 kB/s) 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 55517 files and directories currently installed.) 112s Preparing to unpack .../libseccomp2_2.5.5-1ubuntu5_s390x.deb ... 112s Unpacking libseccomp2:s390x (2.5.5-1ubuntu5) over (2.5.5-1ubuntu4) ... 112s Setting up libseccomp2:s390x (2.5.5-1ubuntu5) ... 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 55517 files and directories currently installed.) 112s Preparing to unpack .../python3-cffi-backend_1.17.1-2build1_s390x.deb ... 112s Unpacking python3-cffi-backend:s390x (1.17.1-2build1) over (1.17.1-2) ... 112s Selecting previously unselected package libassuan9:s390x. 112s Preparing to unpack .../libassuan9_3.0.1-2_s390x.deb ... 112s Unpacking libassuan9:s390x (3.0.1-2) ... 112s Preparing to unpack .../libgpgme11t64_1.24.0-2ubuntu1_s390x.deb ... 112s Unpacking libgpgme11t64:s390x (1.24.0-2ubuntu1) over (1.23.2-5ubuntu4) ... 112s Preparing to unpack .../python3-markupsafe_2.1.5-1build3_s390x.deb ... 112s Unpacking python3-markupsafe (2.1.5-1build3) over (2.1.5-1build2) ... 112s Setting up python3-markupsafe (2.1.5-1build3) ... 112s Setting up libassuan9:s390x (3.0.1-2) ... 112s Setting up libgpgme11t64:s390x (1.24.0-2ubuntu1) ... 112s Setting up python3-cffi-backend:s390x (1.17.1-2build1) ... 112s Processing triggers for libc-bin (2.40-1ubuntu3) ... 112s Reading package lists... 112s Building dependency tree... 112s Reading state information... 112s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 113s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 113s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 113s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 113s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 114s Reading package lists... 114s Reading package lists... 114s Building dependency tree... 114s Reading state information... 114s Calculating upgrade... 114s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 114s Reading package lists... 114s Building dependency tree... 114s Reading state information... 114s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 117s autopkgtest [08:42:44]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP Mon Sep 16 12:49:35 UTC 2024 117s autopkgtest [08:42:44]: @@@@@@@@@@@@@@@@@@@@ apt-source libjson-schema-modern-perl 118s Get:1 http://ftpmaster.internal/ubuntu plucky/universe libjson-schema-modern-perl 0.593-1 (dsc) [4089 B] 118s Get:2 http://ftpmaster.internal/ubuntu plucky/universe libjson-schema-modern-perl 0.593-1 (tar) [204 kB] 118s Get:3 http://ftpmaster.internal/ubuntu plucky/universe libjson-schema-modern-perl 0.593-1 (diff) [7504 B] 118s gpgv: Signature made Sun Oct 27 17:32:08 2024 UTC 118s gpgv: using RSA key D1E1316E93A760A8104D85FABB3A68018649AA06 118s gpgv: Can't check signature: No public key 118s dpkg-source: warning: cannot verify inline signature for ./libjson-schema-modern-perl_0.593-1.dsc: no acceptable signature found 118s autopkgtest [08:42:45]: testing package libjson-schema-modern-perl version 0.593-1 119s autopkgtest [08:42:46]: build not needed 119s autopkgtest [08:42:46]: test autodep8-perl-build-deps: preparing testbed 121s Reading package lists... 121s Building dependency tree... 121s Reading state information... 121s Starting pkgProblemResolver with broken count: 0 121s Starting 2 pkgProblemResolver with broken count: 0 121s Done 121s The following additional packages will be installed: 121s autoconf autodep8 automake autopoint autotools-dev build-essential cpp 121s cpp-14 cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu dctrl-tools debhelper 121s debugedit dh-autoreconf dh-strip-nondeterminism dwz g++ g++-14 121s g++-14-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-14 gcc-14-s390x-linux-gnu 121s gcc-s390x-linux-gnu gettext git git-man intltool-debian javascript-common 121s libalgorithm-c3-perl libarchive-zip-perl libasan8 libautovivification-perl 121s libb-hooks-endofscope-perl libb-hooks-op-check-perl libcc1-0 121s libclass-c3-perl libclass-data-inheritable-perl libclass-inspector-perl 121s libclass-method-modifiers-perl libclass-singleton-perl libclass-tiny-perl 121s libclass-xsaccessor-perl libcpan-meta-check-perl 121s libcpan-requirements-dynamic-perl libcpanel-json-xs-perl 121s libdata-optlist-perl libdata-validate-domain-perl 121s libdatetime-format-rfc3339-perl libdatetime-locale-perl libdatetime-perl 121s libdatetime-timezone-perl libdebhelper-perl libdevel-callchecker-perl 121s libdevel-cycle-perl libdevel-stacktrace-perl libdynaloader-functions-perl 121s libemail-address-xs-perl liberror-perl libeval-closure-perl 121s libexception-class-perl libexporter-tiny-perl libextutils-config-perl 121s libextutils-hascompiler-perl libextutils-helpers-perl 121s libextutils-installpaths-perl libfeature-compat-try-perl libfile-chdir-perl 121s libfile-copy-recursive-perl libfile-sharedir-perl 121s libfile-stripnondeterminism-perl libgcc-14-dev 121s libgetopt-long-descriptive-perl libgit-wrapper-perl libgomp1 121s libimport-into-perl libio-stringy-perl libisl23 libitm1 libjs-bootstrap5 121s libjs-highlight.js libjs-popper.js libjson-perl libjson-schema-modern-perl 121s libmodule-build-tiny-perl libmodule-implementation-perl 121s libmodule-runtime-perl libmojolicious-perl libmoo-perl libmoox-typetiny-perl 121s libmpc3 libmro-compat-perl libnamespace-autoclean-perl 121s libnamespace-clean-perl libnet-domain-tld-perl libnet-idn-encode-perl 121s libpackage-stash-perl libpadwalker-perl libparams-classify-perl 121s libparams-util-perl libparams-validate-perl 121s libparams-validationcompiler-perl libpath-tiny-perl libref-util-perl 121s libref-util-xs-perl librole-tiny-perl libsafe-isa-perl libscope-guard-perl 121s libsereal-decoder-perl libsereal-encoder-perl libsereal-perl 121s libsort-versions-perl libspecio-perl libstdc++-14-dev libstrictures-perl 121s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 121s libsub-install-perl libsub-name-perl libsub-quote-perl 121s libsyntax-keyword-try-perl libtest-deep-perl 121s libtest-deep-unorderedpairs-perl libtest-fatal-perl 121s libtest-file-sharedir-perl libtest-json-schema-acceptance-perl 121s libtest-memory-cycle-perl libtest-needs-perl libtest-warnings-perl 121s libtest-without-module-perl libtest2-suite-perl libtime-moment-perl libtool 121s libtry-tiny-perl libtype-tiny-perl libtype-tiny-xs-perl libubsan1 121s libvariable-magic-perl libxs-parse-keyword-perl libxstring-perl m4 121s pkg-perl-autopkgtest po-debconf 121s Suggested packages: 121s autoconf-archive gnu-standards autoconf-doc cpp-doc gcc-14-locales 121s cpp-14-doc debtags dh-make gcc-14-doc gcc-multilib manpages-dev flex bison 121s gdb gcc-doc gdb-s390x-linux-gnu gettext-doc libasprintf-dev libgettextpo-dev 121s git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui gitk gitweb 121s git-cvs git-mediawiki git-svn apache2 | lighttpd | httpd bootstrap-icons 121s libjs-bootstrap5-doc libscalar-number-perl libstdc++-14-doc 121s libbareword-filehandles-perl libindirect-perl libmultidimensional-perl 121s libtool-doc gfortran | fortran95-compiler gcj-jdk libdevel-lexalias-perl 121s m4-doc libmail-box-perl 121s Recommended packages: 121s libclass-c3-xs-perl libdevel-lexalias-perl libarchive-cpio-perl node-jquery 121s libjson-xs-perl libev-perl libfuture-asyncawait-perl libio-socket-socks-perl 121s libio-socket-ssl-perl libmojo-server-fastcgi-perl libpackage-stash-xs-perl 121s libunicode-utf8-perl libreadonly-perl libmodule-pluggable-perl libltdl-dev 121s libmail-sendmail-perl 121s The following NEW packages will be installed: 121s autoconf autodep8 automake autopkgtest-satdep autopoint autotools-dev 121s build-essential cpp cpp-14 cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu 121s dctrl-tools debhelper debugedit dh-autoreconf dh-strip-nondeterminism dwz 121s g++ g++-14 g++-14-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-14 121s gcc-14-s390x-linux-gnu gcc-s390x-linux-gnu gettext git git-man 121s intltool-debian javascript-common libalgorithm-c3-perl libarchive-zip-perl 121s libasan8 libautovivification-perl libb-hooks-endofscope-perl 121s libb-hooks-op-check-perl libcc1-0 libclass-c3-perl 121s libclass-data-inheritable-perl libclass-inspector-perl 121s libclass-method-modifiers-perl libclass-singleton-perl libclass-tiny-perl 121s libclass-xsaccessor-perl libcpan-meta-check-perl 121s libcpan-requirements-dynamic-perl libcpanel-json-xs-perl 121s libdata-optlist-perl libdata-validate-domain-perl 121s libdatetime-format-rfc3339-perl libdatetime-locale-perl libdatetime-perl 121s libdatetime-timezone-perl libdebhelper-perl libdevel-callchecker-perl 121s libdevel-cycle-perl libdevel-stacktrace-perl libdynaloader-functions-perl 121s libemail-address-xs-perl liberror-perl libeval-closure-perl 121s libexception-class-perl libexporter-tiny-perl libextutils-config-perl 121s libextutils-hascompiler-perl libextutils-helpers-perl 121s libextutils-installpaths-perl libfeature-compat-try-perl libfile-chdir-perl 121s libfile-copy-recursive-perl libfile-sharedir-perl 121s libfile-stripnondeterminism-perl libgcc-14-dev 121s libgetopt-long-descriptive-perl libgit-wrapper-perl libgomp1 121s libimport-into-perl libio-stringy-perl libisl23 libitm1 libjs-bootstrap5 121s libjs-highlight.js libjs-popper.js libjson-perl libjson-schema-modern-perl 121s libmodule-build-tiny-perl libmodule-implementation-perl 121s libmodule-runtime-perl libmojolicious-perl libmoo-perl libmoox-typetiny-perl 121s libmpc3 libmro-compat-perl libnamespace-autoclean-perl 121s libnamespace-clean-perl libnet-domain-tld-perl libnet-idn-encode-perl 121s libpackage-stash-perl libpadwalker-perl libparams-classify-perl 121s libparams-util-perl libparams-validate-perl 121s libparams-validationcompiler-perl libpath-tiny-perl libref-util-perl 121s libref-util-xs-perl librole-tiny-perl libsafe-isa-perl libscope-guard-perl 121s libsereal-decoder-perl libsereal-encoder-perl libsereal-perl 121s libsort-versions-perl libspecio-perl libstdc++-14-dev libstrictures-perl 121s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 121s libsub-install-perl libsub-name-perl libsub-quote-perl 121s libsyntax-keyword-try-perl libtest-deep-perl 121s libtest-deep-unorderedpairs-perl libtest-fatal-perl 121s libtest-file-sharedir-perl libtest-json-schema-acceptance-perl 121s libtest-memory-cycle-perl libtest-needs-perl libtest-warnings-perl 121s libtest-without-module-perl libtest2-suite-perl libtime-moment-perl libtool 121s libtry-tiny-perl libtype-tiny-perl libtype-tiny-xs-perl libubsan1 121s libvariable-magic-perl libxs-parse-keyword-perl libxstring-perl m4 121s pkg-perl-autopkgtest po-debconf 121s 0 upgraded, 145 newly installed, 0 to remove and 0 not upgraded. 121s Need to get 66.8 MB/66.8 MB of archives. 121s After this operation, 248 MB of additional disk space will be used. 121s Get:1 /tmp/autopkgtest.Liz2nS/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [1188 B] 121s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x m4 s390x 1.4.19-4build1 [256 kB] 122s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x autoconf all 2.72-3 [382 kB] 122s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x dctrl-tools s390x 2.24-3build3 [106 kB] 122s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x autodep8 all 0.28+nmu1ubuntu1 [13.7 kB] 122s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x autotools-dev all 20220109.1 [44.9 kB] 122s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x automake all 1:1.16.5-1.3ubuntu1 [558 kB] 122s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x autopoint all 0.22.5-2 [616 kB] 122s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libisl23 s390x 0.27-1 [704 kB] 122s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libmpc3 s390x 1.3.1-1build2 [57.8 kB] 122s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14-s390x-linux-gnu s390x 14.2.0-8ubuntu1 [9570 kB] 122s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-14 s390x 14.2.0-8ubuntu1 [1026 B] 122s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x cpp-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [5452 B] 122s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x cpp s390x 4:14.1.0-2ubuntu1 [22.4 kB] 122s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x libcc1-0 s390x 14.2.0-8ubuntu1 [50.6 kB] 122s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x libgomp1 s390x 14.2.0-8ubuntu1 [151 kB] 122s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libitm1 s390x 14.2.0-8ubuntu1 [30.9 kB] 122s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x libasan8 s390x 14.2.0-8ubuntu1 [2963 kB] 122s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x libubsan1 s390x 14.2.0-8ubuntu1 [1184 kB] 122s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x libgcc-14-dev s390x 14.2.0-8ubuntu1 [1037 kB] 122s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14-s390x-linux-gnu s390x 14.2.0-8ubuntu1 [18.7 MB] 123s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-14 s390x 14.2.0-8ubuntu1 [518 kB] 123s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x gcc-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [1204 B] 123s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x gcc s390x 4:14.1.0-2ubuntu1 [4996 B] 123s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x libstdc++-14-dev s390x 14.2.0-8ubuntu1 [2608 kB] 123s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14-s390x-linux-gnu s390x 14.2.0-8ubuntu1 [11.0 MB] 123s Get:27 http://ftpmaster.internal/ubuntu plucky/main s390x g++-14 s390x 14.2.0-8ubuntu1 [19.9 kB] 123s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x g++-s390x-linux-gnu s390x 4:14.1.0-2ubuntu1 [956 B] 123s Get:29 http://ftpmaster.internal/ubuntu plucky/main s390x g++ s390x 4:14.1.0-2ubuntu1 [1076 B] 123s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x build-essential s390x 12.10ubuntu1 [4930 B] 123s Get:31 http://ftpmaster.internal/ubuntu plucky/main s390x libdebhelper-perl all 13.20ubuntu1 [94.2 kB] 123s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x libtool all 2.4.7-7build1 [166 kB] 123s Get:33 http://ftpmaster.internal/ubuntu plucky/main s390x dh-autoreconf all 20 [16.1 kB] 123s Get:34 http://ftpmaster.internal/ubuntu plucky/main s390x libarchive-zip-perl all 1.68-1 [90.2 kB] 123s Get:35 http://ftpmaster.internal/ubuntu plucky/main s390x libfile-stripnondeterminism-perl all 1.14.0-1 [20.1 kB] 123s Get:36 http://ftpmaster.internal/ubuntu plucky/main s390x dh-strip-nondeterminism all 1.14.0-1 [5058 B] 123s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x debugedit s390x 1:5.1-1 [49.9 kB] 123s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x dwz s390x 0.15-1build6 [122 kB] 123s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x gettext s390x 0.22.5-2 [996 kB] 123s Get:40 http://ftpmaster.internal/ubuntu plucky/main s390x intltool-debian all 0.35.0+20060710.6 [23.2 kB] 123s Get:41 http://ftpmaster.internal/ubuntu plucky/main s390x po-debconf all 1.0.21+nmu1 [233 kB] 123s Get:42 http://ftpmaster.internal/ubuntu plucky/main s390x debhelper all 13.20ubuntu1 [893 kB] 123s Get:43 http://ftpmaster.internal/ubuntu plucky/main s390x liberror-perl all 0.17029-2 [25.6 kB] 123s Get:44 http://ftpmaster.internal/ubuntu plucky/main s390x git-man all 1:2.45.2-1ubuntu1 [1122 kB] 123s Get:45 http://ftpmaster.internal/ubuntu plucky/main s390x git s390x 1:2.45.2-1ubuntu1 [4071 kB] 123s Get:46 http://ftpmaster.internal/ubuntu plucky/main s390x javascript-common all 11+nmu1 [5936 B] 123s Get:47 http://ftpmaster.internal/ubuntu plucky/universe s390x libalgorithm-c3-perl all 0.11-2 [10.2 kB] 123s Get:48 http://ftpmaster.internal/ubuntu plucky/universe s390x libautovivification-perl s390x 0.18-2build5 [22.3 kB] 123s Get:49 http://ftpmaster.internal/ubuntu plucky/main s390x libb-hooks-op-check-perl s390x 0.22-3build2 [9566 B] 123s Get:50 http://ftpmaster.internal/ubuntu plucky/main s390x libdynaloader-functions-perl all 0.004-1 [11.4 kB] 123s Get:51 http://ftpmaster.internal/ubuntu plucky/main s390x libdevel-callchecker-perl s390x 0.009-1build1 [14.2 kB] 123s Get:52 http://ftpmaster.internal/ubuntu plucky/main s390x libparams-classify-perl s390x 0.015-2build6 [20.6 kB] 123s Get:53 http://ftpmaster.internal/ubuntu plucky/main s390x libmodule-runtime-perl all 0.016-2 [16.4 kB] 123s Get:54 http://ftpmaster.internal/ubuntu plucky/main s390x libtry-tiny-perl all 0.32-1 [21.2 kB] 124s Get:55 http://ftpmaster.internal/ubuntu plucky/main s390x libmodule-implementation-perl all 0.09-2 [12.0 kB] 124s Get:56 http://ftpmaster.internal/ubuntu plucky/main s390x libsub-exporter-progressive-perl all 0.001013-3 [6718 B] 124s Get:57 http://ftpmaster.internal/ubuntu plucky/main s390x libvariable-magic-perl s390x 0.64-1build1 [36.4 kB] 124s Get:58 http://ftpmaster.internal/ubuntu plucky/main s390x libb-hooks-endofscope-perl all 0.28-1 [15.8 kB] 124s Get:59 http://ftpmaster.internal/ubuntu plucky/universe s390x libclass-c3-perl all 0.35-2 [18.4 kB] 124s Get:60 http://ftpmaster.internal/ubuntu plucky/main s390x libclass-data-inheritable-perl all 0.10-1 [8038 B] 124s Get:61 http://ftpmaster.internal/ubuntu plucky/main s390x libclass-inspector-perl all 1.36-3 [15.4 kB] 124s Get:62 http://ftpmaster.internal/ubuntu plucky/main s390x libclass-method-modifiers-perl all 2.15-1 [16.1 kB] 124s Get:63 http://ftpmaster.internal/ubuntu plucky/universe s390x libclass-singleton-perl all 1.6-2 [11.5 kB] 124s Get:64 http://ftpmaster.internal/ubuntu plucky/universe s390x libclass-tiny-perl all 1.008-2 [16.4 kB] 124s Get:65 http://ftpmaster.internal/ubuntu plucky/main s390x libclass-xsaccessor-perl s390x 1.19-4build5 [34.2 kB] 124s Get:66 http://ftpmaster.internal/ubuntu plucky/universe s390x libcpan-meta-check-perl all 0.018-1 [6090 B] 124s Get:67 http://ftpmaster.internal/ubuntu plucky/universe s390x libextutils-config-perl all 0.010-1 [7806 B] 124s Get:68 http://ftpmaster.internal/ubuntu plucky/universe s390x libextutils-hascompiler-perl all 0.025-1 [7738 B] 124s Get:69 http://ftpmaster.internal/ubuntu plucky/universe s390x libcpan-requirements-dynamic-perl all 0.001-2 [8206 B] 124s Get:70 http://ftpmaster.internal/ubuntu plucky/main s390x libcpanel-json-xs-perl s390x 4.38-1build1 [117 kB] 124s Get:71 http://ftpmaster.internal/ubuntu plucky/main s390x libparams-util-perl s390x 1.102-3build1 [21.3 kB] 124s Get:72 http://ftpmaster.internal/ubuntu plucky/main s390x libsub-install-perl all 0.929-1 [9764 B] 124s Get:73 http://ftpmaster.internal/ubuntu plucky/main s390x libdata-optlist-perl all 0.114-1 [9708 B] 124s Get:74 http://ftpmaster.internal/ubuntu plucky/main s390x libnet-domain-tld-perl all 1.75-4 [29.0 kB] 124s Get:75 http://ftpmaster.internal/ubuntu plucky/main s390x libdata-validate-domain-perl all 0.15-1 [10.4 kB] 124s Get:76 http://ftpmaster.internal/ubuntu plucky/main s390x libfile-sharedir-perl all 1.118-3 [14.0 kB] 124s Get:77 http://ftpmaster.internal/ubuntu plucky/main s390x libpackage-stash-perl all 0.40-1 [19.5 kB] 124s Get:78 http://ftpmaster.internal/ubuntu plucky/main s390x libsub-identify-perl s390x 0.14-3build4 [10.0 kB] 124s Get:79 http://ftpmaster.internal/ubuntu plucky/main s390x libsub-name-perl s390x 0.27-1build4 [11.0 kB] 124s Get:80 http://ftpmaster.internal/ubuntu plucky/main s390x libnamespace-clean-perl all 0.27-2 [14.0 kB] 124s Get:81 http://ftpmaster.internal/ubuntu plucky/universe s390x libnamespace-autoclean-perl all 0.31-1 [11.9 kB] 124s Get:82 http://ftpmaster.internal/ubuntu plucky/main s390x libsub-exporter-perl all 0.990-1 [49.0 kB] 124s Get:83 http://ftpmaster.internal/ubuntu plucky/universe s390x libeval-closure-perl all 0.14-3 [10.1 kB] 124s Get:84 http://ftpmaster.internal/ubuntu plucky/main s390x libdevel-stacktrace-perl all 2.0500-1 [22.1 kB] 124s Get:85 http://ftpmaster.internal/ubuntu plucky/main s390x libexception-class-perl all 1.45-1 [28.6 kB] 124s Get:86 http://ftpmaster.internal/ubuntu plucky/universe s390x libparams-validationcompiler-perl all 0.31-1 [28.3 kB] 124s Get:87 http://ftpmaster.internal/ubuntu plucky/universe s390x libmro-compat-perl all 0.15-2 [10.1 kB] 124s Get:88 http://ftpmaster.internal/ubuntu plucky/main s390x librole-tiny-perl all 2.002004-1 [16.3 kB] 124s Get:89 http://ftpmaster.internal/ubuntu plucky/main s390x libsub-quote-perl all 2.006008-1ubuntu1 [20.7 kB] 124s Get:90 http://ftpmaster.internal/ubuntu plucky/universe s390x libxstring-perl s390x 0.005-2build4 [7886 B] 124s Get:91 http://ftpmaster.internal/ubuntu plucky/universe s390x libspecio-perl all 0.48-1 [137 kB] 124s Get:92 http://ftpmaster.internal/ubuntu plucky/universe s390x libdatetime-locale-perl all 1:1.41-1 [3193 kB] 124s Get:93 http://ftpmaster.internal/ubuntu plucky/universe s390x libdatetime-timezone-perl all 1:2.63-2+2024b [259 kB] 124s Get:94 http://ftpmaster.internal/ubuntu plucky/universe s390x libdatetime-perl s390x 2:1.65-1build3 [96.5 kB] 124s Get:95 http://ftpmaster.internal/ubuntu plucky/universe s390x libdatetime-format-rfc3339-perl all 1.8.0-1 [8156 B] 124s Get:96 http://ftpmaster.internal/ubuntu plucky/universe s390x libdevel-cycle-perl all 1.12-2 [10.1 kB] 124s Get:97 http://ftpmaster.internal/ubuntu plucky/main s390x libemail-address-xs-perl s390x 1.05-1build5 [29.3 kB] 124s Get:98 http://ftpmaster.internal/ubuntu plucky/main s390x libexporter-tiny-perl all 1.006002-1 [36.8 kB] 124s Get:99 http://ftpmaster.internal/ubuntu plucky/universe s390x libextutils-helpers-perl all 0.028-1 [10.8 kB] 124s Get:100 http://ftpmaster.internal/ubuntu plucky/universe s390x libextutils-installpaths-perl all 0.014-1 [13.2 kB] 124s Get:101 http://ftpmaster.internal/ubuntu plucky/main s390x libxs-parse-keyword-perl s390x 0.46-1 [62.5 kB] 124s Get:102 http://ftpmaster.internal/ubuntu plucky/main s390x libsyntax-keyword-try-perl s390x 0.30-1 [24.8 kB] 124s Get:103 http://ftpmaster.internal/ubuntu plucky/universe s390x libfeature-compat-try-perl all 0.05-1 [9998 B] 124s Get:104 http://ftpmaster.internal/ubuntu plucky/main s390x libfile-chdir-perl all 0.1008-1.2 [10.4 kB] 124s Get:105 http://ftpmaster.internal/ubuntu plucky/universe s390x libfile-copy-recursive-perl all 0.45-4 [16.5 kB] 124s Get:106 http://ftpmaster.internal/ubuntu plucky/main s390x libio-stringy-perl all 2.113-2 [45.3 kB] 124s Get:107 http://ftpmaster.internal/ubuntu plucky/universe s390x libparams-validate-perl s390x 1.31-2build4 [54.9 kB] 124s Get:108 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x libgetopt-long-descriptive-perl all 0.115-1 [24.9 kB] 124s Get:109 http://ftpmaster.internal/ubuntu plucky/main s390x libsort-versions-perl all 1.62-3 [7378 B] 124s Get:110 http://ftpmaster.internal/ubuntu plucky/main s390x libgit-wrapper-perl all 0.048-2 [29.5 kB] 124s Get:111 http://ftpmaster.internal/ubuntu plucky/main s390x libimport-into-perl all 1.002005-2 [10.7 kB] 124s Get:112 http://ftpmaster.internal/ubuntu plucky/universe s390x libjs-popper.js all 1.16.1+ds-6 [54.1 kB] 124s Get:113 http://ftpmaster.internal/ubuntu plucky/universe s390x libjs-bootstrap5 all 5.3.3+dfsg-1 [309 kB] 124s Get:114 http://ftpmaster.internal/ubuntu plucky/universe s390x libjs-highlight.js all 9.18.5+dfsg1-2 [385 kB] 125s Get:115 http://ftpmaster.internal/ubuntu plucky/main s390x libjson-perl all 4.10000-1 [81.9 kB] 125s Get:116 http://ftpmaster.internal/ubuntu plucky/universe s390x libmojolicious-perl all 9.38+dfsg-1 [760 kB] 125s Get:117 http://ftpmaster.internal/ubuntu plucky/main s390x libmoo-perl all 2.005005-1 [47.4 kB] 125s Get:118 http://ftpmaster.internal/ubuntu plucky/universe s390x libtype-tiny-perl all 2.004000-1 [354 kB] 125s Get:119 http://ftpmaster.internal/ubuntu plucky/universe s390x libmoox-typetiny-perl all 0.002003-4 [5930 B] 125s Get:120 http://ftpmaster.internal/ubuntu plucky/main s390x libpath-tiny-perl all 0.146-1 [47.5 kB] 125s Get:121 http://ftpmaster.internal/ubuntu plucky/universe s390x libref-util-perl all 0.204-2 [15.1 kB] 125s Get:122 http://ftpmaster.internal/ubuntu plucky/universe s390x libsafe-isa-perl all 1.000010-1 [7684 B] 125s Get:123 http://ftpmaster.internal/ubuntu plucky/main s390x libstrictures-perl all 2.000006-1 [16.3 kB] 125s Get:124 http://ftpmaster.internal/ubuntu plucky/universe s390x libjson-schema-modern-perl all 0.593-1 [100 kB] 125s Get:125 http://ftpmaster.internal/ubuntu plucky/universe s390x libmodule-build-tiny-perl all 0.048-1 [9710 B] 125s Get:126 http://ftpmaster.internal/ubuntu plucky/universe s390x libnet-idn-encode-perl s390x 2.500-5build1 [84.0 kB] 125s Get:127 http://ftpmaster.internal/ubuntu plucky/universe s390x libpadwalker-perl s390x 2.5-1build7 [15.6 kB] 125s Get:128 http://ftpmaster.internal/ubuntu plucky/universe s390x libref-util-xs-perl s390x 0.117-2build5 [12.9 kB] 125s Get:129 http://ftpmaster.internal/ubuntu plucky/universe s390x libscope-guard-perl all 0.21-2 [7730 B] 125s Get:130 http://ftpmaster.internal/ubuntu plucky/main s390x libsereal-decoder-perl s390x 5.004+ds-1build4 [107 kB] 125s Get:131 http://ftpmaster.internal/ubuntu plucky/main s390x libsereal-encoder-perl s390x 5.004+ds-1build4 [112 kB] 125s Get:132 http://ftpmaster.internal/ubuntu plucky/universe s390x libsereal-perl all 5.004-1 [8770 B] 125s Get:133 http://ftpmaster.internal/ubuntu plucky/universe s390x libtest-deep-perl all 1.204-1 [47.1 kB] 125s Get:134 http://ftpmaster.internal/ubuntu plucky/universe s390x libtest-deep-unorderedpairs-perl all 0.006-3 [9052 B] 125s Get:135 http://ftpmaster.internal/ubuntu plucky/universe s390x libtest-fatal-perl all 0.017-1 [12.2 kB] 125s Get:136 http://ftpmaster.internal/ubuntu plucky/universe s390x libtest-file-sharedir-perl all 1.001002-2 [26.3 kB] 125s Get:137 http://ftpmaster.internal/ubuntu plucky/universe s390x libtest2-suite-perl all 0.000163-1 [377 kB] 125s Get:138 http://ftpmaster.internal/ubuntu plucky/universe s390x libtest-json-schema-acceptance-perl all 1.026-1 [89.6 kB] 125s Get:139 http://ftpmaster.internal/ubuntu plucky/universe s390x libtest-memory-cycle-perl all 1.06-2 [11.0 kB] 125s Get:140 http://ftpmaster.internal/ubuntu plucky/universe s390x libtest-needs-perl all 0.002010-1 [8530 B] 125s Get:141 http://ftpmaster.internal/ubuntu plucky/universe s390x libtest-warnings-perl all 0.033-1 [18.9 kB] 125s Get:142 http://ftpmaster.internal/ubuntu plucky/universe s390x libtest-without-module-perl all 0.23-1 [9732 B] 125s Get:143 http://ftpmaster.internal/ubuntu plucky/main s390x libtime-moment-perl s390x 0.44-2build5 [75.5 kB] 125s Get:144 http://ftpmaster.internal/ubuntu plucky/universe s390x libtype-tiny-xs-perl s390x 0.025-2build1 [25.4 kB] 125s Get:145 http://ftpmaster.internal/ubuntu plucky/universe s390x pkg-perl-autopkgtest all 0.80 [18.7 kB] 125s Fetched 66.8 MB in 4s (17.6 MB/s) 125s Selecting previously unselected package m4. 125s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 55524 files and directories currently installed.) 125s Preparing to unpack .../000-m4_1.4.19-4build1_s390x.deb ... 125s Unpacking m4 (1.4.19-4build1) ... 125s Selecting previously unselected package autoconf. 125s Preparing to unpack .../001-autoconf_2.72-3_all.deb ... 125s Unpacking autoconf (2.72-3) ... 125s Selecting previously unselected package dctrl-tools. 125s Preparing to unpack .../002-dctrl-tools_2.24-3build3_s390x.deb ... 125s Unpacking dctrl-tools (2.24-3build3) ... 125s Selecting previously unselected package autodep8. 125s Preparing to unpack .../003-autodep8_0.28+nmu1ubuntu1_all.deb ... 125s Unpacking autodep8 (0.28+nmu1ubuntu1) ... 125s Selecting previously unselected package autotools-dev. 125s Preparing to unpack .../004-autotools-dev_20220109.1_all.deb ... 125s Unpacking autotools-dev (20220109.1) ... 125s Selecting previously unselected package automake. 125s Preparing to unpack .../005-automake_1%3a1.16.5-1.3ubuntu1_all.deb ... 125s Unpacking automake (1:1.16.5-1.3ubuntu1) ... 125s Selecting previously unselected package autopoint. 125s Preparing to unpack .../006-autopoint_0.22.5-2_all.deb ... 125s Unpacking autopoint (0.22.5-2) ... 125s Selecting previously unselected package libisl23:s390x. 125s Preparing to unpack .../007-libisl23_0.27-1_s390x.deb ... 125s Unpacking libisl23:s390x (0.27-1) ... 125s Selecting previously unselected package libmpc3:s390x. 125s Preparing to unpack .../008-libmpc3_1.3.1-1build2_s390x.deb ... 125s Unpacking libmpc3:s390x (1.3.1-1build2) ... 125s Selecting previously unselected package cpp-14-s390x-linux-gnu. 126s Preparing to unpack .../009-cpp-14-s390x-linux-gnu_14.2.0-8ubuntu1_s390x.deb ... 126s Unpacking cpp-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 126s Selecting previously unselected package cpp-14. 126s Preparing to unpack .../010-cpp-14_14.2.0-8ubuntu1_s390x.deb ... 126s Unpacking cpp-14 (14.2.0-8ubuntu1) ... 126s Selecting previously unselected package cpp-s390x-linux-gnu. 126s Preparing to unpack .../011-cpp-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 126s Unpacking cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 126s Selecting previously unselected package cpp. 126s Preparing to unpack .../012-cpp_4%3a14.1.0-2ubuntu1_s390x.deb ... 126s Unpacking cpp (4:14.1.0-2ubuntu1) ... 126s Selecting previously unselected package libcc1-0:s390x. 126s Preparing to unpack .../013-libcc1-0_14.2.0-8ubuntu1_s390x.deb ... 126s Unpacking libcc1-0:s390x (14.2.0-8ubuntu1) ... 126s Selecting previously unselected package libgomp1:s390x. 126s Preparing to unpack .../014-libgomp1_14.2.0-8ubuntu1_s390x.deb ... 126s Unpacking libgomp1:s390x (14.2.0-8ubuntu1) ... 126s Selecting previously unselected package libitm1:s390x. 126s Preparing to unpack .../015-libitm1_14.2.0-8ubuntu1_s390x.deb ... 126s Unpacking libitm1:s390x (14.2.0-8ubuntu1) ... 126s Selecting previously unselected package libasan8:s390x. 126s Preparing to unpack .../016-libasan8_14.2.0-8ubuntu1_s390x.deb ... 126s Unpacking libasan8:s390x (14.2.0-8ubuntu1) ... 126s Selecting previously unselected package libubsan1:s390x. 126s Preparing to unpack .../017-libubsan1_14.2.0-8ubuntu1_s390x.deb ... 126s Unpacking libubsan1:s390x (14.2.0-8ubuntu1) ... 126s Selecting previously unselected package libgcc-14-dev:s390x. 126s Preparing to unpack .../018-libgcc-14-dev_14.2.0-8ubuntu1_s390x.deb ... 126s Unpacking libgcc-14-dev:s390x (14.2.0-8ubuntu1) ... 126s Selecting previously unselected package gcc-14-s390x-linux-gnu. 126s Preparing to unpack .../019-gcc-14-s390x-linux-gnu_14.2.0-8ubuntu1_s390x.deb ... 126s Unpacking gcc-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 126s Selecting previously unselected package gcc-14. 126s Preparing to unpack .../020-gcc-14_14.2.0-8ubuntu1_s390x.deb ... 126s Unpacking gcc-14 (14.2.0-8ubuntu1) ... 126s Selecting previously unselected package gcc-s390x-linux-gnu. 126s Preparing to unpack .../021-gcc-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 126s Unpacking gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 126s Selecting previously unselected package gcc. 126s Preparing to unpack .../022-gcc_4%3a14.1.0-2ubuntu1_s390x.deb ... 126s Unpacking gcc (4:14.1.0-2ubuntu1) ... 126s Selecting previously unselected package libstdc++-14-dev:s390x. 126s Preparing to unpack .../023-libstdc++-14-dev_14.2.0-8ubuntu1_s390x.deb ... 126s Unpacking libstdc++-14-dev:s390x (14.2.0-8ubuntu1) ... 126s Selecting previously unselected package g++-14-s390x-linux-gnu. 126s Preparing to unpack .../024-g++-14-s390x-linux-gnu_14.2.0-8ubuntu1_s390x.deb ... 126s Unpacking g++-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 126s Selecting previously unselected package g++-14. 126s Preparing to unpack .../025-g++-14_14.2.0-8ubuntu1_s390x.deb ... 126s Unpacking g++-14 (14.2.0-8ubuntu1) ... 126s Selecting previously unselected package g++-s390x-linux-gnu. 126s Preparing to unpack .../026-g++-s390x-linux-gnu_4%3a14.1.0-2ubuntu1_s390x.deb ... 126s Unpacking g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 126s Selecting previously unselected package g++. 126s Preparing to unpack .../027-g++_4%3a14.1.0-2ubuntu1_s390x.deb ... 126s Unpacking g++ (4:14.1.0-2ubuntu1) ... 126s Selecting previously unselected package build-essential. 126s Preparing to unpack .../028-build-essential_12.10ubuntu1_s390x.deb ... 126s Unpacking build-essential (12.10ubuntu1) ... 126s Selecting previously unselected package libdebhelper-perl. 126s Preparing to unpack .../029-libdebhelper-perl_13.20ubuntu1_all.deb ... 126s Unpacking libdebhelper-perl (13.20ubuntu1) ... 126s Selecting previously unselected package libtool. 126s Preparing to unpack .../030-libtool_2.4.7-7build1_all.deb ... 126s Unpacking libtool (2.4.7-7build1) ... 126s Selecting previously unselected package dh-autoreconf. 126s Preparing to unpack .../031-dh-autoreconf_20_all.deb ... 126s Unpacking dh-autoreconf (20) ... 126s Selecting previously unselected package libarchive-zip-perl. 126s Preparing to unpack .../032-libarchive-zip-perl_1.68-1_all.deb ... 126s Unpacking libarchive-zip-perl (1.68-1) ... 127s Selecting previously unselected package libfile-stripnondeterminism-perl. 127s Preparing to unpack .../033-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... 127s Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... 127s Selecting previously unselected package dh-strip-nondeterminism. 127s Preparing to unpack .../034-dh-strip-nondeterminism_1.14.0-1_all.deb ... 127s Unpacking dh-strip-nondeterminism (1.14.0-1) ... 127s Selecting previously unselected package debugedit. 127s Preparing to unpack .../035-debugedit_1%3a5.1-1_s390x.deb ... 127s Unpacking debugedit (1:5.1-1) ... 127s Selecting previously unselected package dwz. 127s Preparing to unpack .../036-dwz_0.15-1build6_s390x.deb ... 127s Unpacking dwz (0.15-1build6) ... 127s Selecting previously unselected package gettext. 127s Preparing to unpack .../037-gettext_0.22.5-2_s390x.deb ... 127s Unpacking gettext (0.22.5-2) ... 127s Selecting previously unselected package intltool-debian. 127s Preparing to unpack .../038-intltool-debian_0.35.0+20060710.6_all.deb ... 127s Unpacking intltool-debian (0.35.0+20060710.6) ... 127s Selecting previously unselected package po-debconf. 127s Preparing to unpack .../039-po-debconf_1.0.21+nmu1_all.deb ... 127s Unpacking po-debconf (1.0.21+nmu1) ... 127s Selecting previously unselected package debhelper. 127s Preparing to unpack .../040-debhelper_13.20ubuntu1_all.deb ... 127s Unpacking debhelper (13.20ubuntu1) ... 127s Selecting previously unselected package liberror-perl. 127s Preparing to unpack .../041-liberror-perl_0.17029-2_all.deb ... 127s Unpacking liberror-perl (0.17029-2) ... 127s Selecting previously unselected package git-man. 127s Preparing to unpack .../042-git-man_1%3a2.45.2-1ubuntu1_all.deb ... 127s Unpacking git-man (1:2.45.2-1ubuntu1) ... 127s Selecting previously unselected package git. 127s Preparing to unpack .../043-git_1%3a2.45.2-1ubuntu1_s390x.deb ... 127s Unpacking git (1:2.45.2-1ubuntu1) ... 127s Selecting previously unselected package javascript-common. 127s Preparing to unpack .../044-javascript-common_11+nmu1_all.deb ... 127s Unpacking javascript-common (11+nmu1) ... 127s Selecting previously unselected package libalgorithm-c3-perl. 127s Preparing to unpack .../045-libalgorithm-c3-perl_0.11-2_all.deb ... 127s Unpacking libalgorithm-c3-perl (0.11-2) ... 127s Selecting previously unselected package libautovivification-perl:s390x. 127s Preparing to unpack .../046-libautovivification-perl_0.18-2build5_s390x.deb ... 127s Unpacking libautovivification-perl:s390x (0.18-2build5) ... 127s Selecting previously unselected package libb-hooks-op-check-perl:s390x. 127s Preparing to unpack .../047-libb-hooks-op-check-perl_0.22-3build2_s390x.deb ... 127s Unpacking libb-hooks-op-check-perl:s390x (0.22-3build2) ... 127s Selecting previously unselected package libdynaloader-functions-perl. 127s Preparing to unpack .../048-libdynaloader-functions-perl_0.004-1_all.deb ... 127s Unpacking libdynaloader-functions-perl (0.004-1) ... 127s Selecting previously unselected package libdevel-callchecker-perl:s390x. 127s Preparing to unpack .../049-libdevel-callchecker-perl_0.009-1build1_s390x.deb ... 127s Unpacking libdevel-callchecker-perl:s390x (0.009-1build1) ... 127s Selecting previously unselected package libparams-classify-perl:s390x. 127s Preparing to unpack .../050-libparams-classify-perl_0.015-2build6_s390x.deb ... 127s Unpacking libparams-classify-perl:s390x (0.015-2build6) ... 127s Selecting previously unselected package libmodule-runtime-perl. 127s Preparing to unpack .../051-libmodule-runtime-perl_0.016-2_all.deb ... 127s Unpacking libmodule-runtime-perl (0.016-2) ... 127s Selecting previously unselected package libtry-tiny-perl. 127s Preparing to unpack .../052-libtry-tiny-perl_0.32-1_all.deb ... 127s Unpacking libtry-tiny-perl (0.32-1) ... 127s Selecting previously unselected package libmodule-implementation-perl. 127s Preparing to unpack .../053-libmodule-implementation-perl_0.09-2_all.deb ... 127s Unpacking libmodule-implementation-perl (0.09-2) ... 127s Selecting previously unselected package libsub-exporter-progressive-perl. 127s Preparing to unpack .../054-libsub-exporter-progressive-perl_0.001013-3_all.deb ... 127s Unpacking libsub-exporter-progressive-perl (0.001013-3) ... 127s Selecting previously unselected package libvariable-magic-perl. 127s Preparing to unpack .../055-libvariable-magic-perl_0.64-1build1_s390x.deb ... 127s Unpacking libvariable-magic-perl (0.64-1build1) ... 127s Selecting previously unselected package libb-hooks-endofscope-perl. 127s Preparing to unpack .../056-libb-hooks-endofscope-perl_0.28-1_all.deb ... 127s Unpacking libb-hooks-endofscope-perl (0.28-1) ... 127s Selecting previously unselected package libclass-c3-perl. 127s Preparing to unpack .../057-libclass-c3-perl_0.35-2_all.deb ... 127s Unpacking libclass-c3-perl (0.35-2) ... 127s Selecting previously unselected package libclass-data-inheritable-perl. 127s Preparing to unpack .../058-libclass-data-inheritable-perl_0.10-1_all.deb ... 127s Unpacking libclass-data-inheritable-perl (0.10-1) ... 127s Selecting previously unselected package libclass-inspector-perl. 127s Preparing to unpack .../059-libclass-inspector-perl_1.36-3_all.deb ... 127s Unpacking libclass-inspector-perl (1.36-3) ... 127s Selecting previously unselected package libclass-method-modifiers-perl. 127s Preparing to unpack .../060-libclass-method-modifiers-perl_2.15-1_all.deb ... 127s Unpacking libclass-method-modifiers-perl (2.15-1) ... 127s Selecting previously unselected package libclass-singleton-perl. 127s Preparing to unpack .../061-libclass-singleton-perl_1.6-2_all.deb ... 127s Unpacking libclass-singleton-perl (1.6-2) ... 127s Selecting previously unselected package libclass-tiny-perl. 127s Preparing to unpack .../062-libclass-tiny-perl_1.008-2_all.deb ... 127s Unpacking libclass-tiny-perl (1.008-2) ... 127s Selecting previously unselected package libclass-xsaccessor-perl. 127s Preparing to unpack .../063-libclass-xsaccessor-perl_1.19-4build5_s390x.deb ... 127s Unpacking libclass-xsaccessor-perl (1.19-4build5) ... 127s Selecting previously unselected package libcpan-meta-check-perl. 127s Preparing to unpack .../064-libcpan-meta-check-perl_0.018-1_all.deb ... 127s Unpacking libcpan-meta-check-perl (0.018-1) ... 127s Selecting previously unselected package libextutils-config-perl. 127s Preparing to unpack .../065-libextutils-config-perl_0.010-1_all.deb ... 127s Unpacking libextutils-config-perl (0.010-1) ... 127s Selecting previously unselected package libextutils-hascompiler-perl. 127s Preparing to unpack .../066-libextutils-hascompiler-perl_0.025-1_all.deb ... 127s Unpacking libextutils-hascompiler-perl (0.025-1) ... 127s Selecting previously unselected package libcpan-requirements-dynamic-perl. 127s Preparing to unpack .../067-libcpan-requirements-dynamic-perl_0.001-2_all.deb ... 127s Unpacking libcpan-requirements-dynamic-perl (0.001-2) ... 127s Selecting previously unselected package libcpanel-json-xs-perl:s390x. 127s Preparing to unpack .../068-libcpanel-json-xs-perl_4.38-1build1_s390x.deb ... 127s Unpacking libcpanel-json-xs-perl:s390x (4.38-1build1) ... 127s Selecting previously unselected package libparams-util-perl. 127s Preparing to unpack .../069-libparams-util-perl_1.102-3build1_s390x.deb ... 127s Unpacking libparams-util-perl (1.102-3build1) ... 127s Selecting previously unselected package libsub-install-perl. 127s Preparing to unpack .../070-libsub-install-perl_0.929-1_all.deb ... 127s Unpacking libsub-install-perl (0.929-1) ... 127s Selecting previously unselected package libdata-optlist-perl. 127s Preparing to unpack .../071-libdata-optlist-perl_0.114-1_all.deb ... 127s Unpacking libdata-optlist-perl (0.114-1) ... 127s Selecting previously unselected package libnet-domain-tld-perl. 127s Preparing to unpack .../072-libnet-domain-tld-perl_1.75-4_all.deb ... 127s Unpacking libnet-domain-tld-perl (1.75-4) ... 127s Selecting previously unselected package libdata-validate-domain-perl. 127s Preparing to unpack .../073-libdata-validate-domain-perl_0.15-1_all.deb ... 127s Unpacking libdata-validate-domain-perl (0.15-1) ... 127s Selecting previously unselected package libfile-sharedir-perl. 127s Preparing to unpack .../074-libfile-sharedir-perl_1.118-3_all.deb ... 127s Unpacking libfile-sharedir-perl (1.118-3) ... 127s Selecting previously unselected package libpackage-stash-perl. 127s Preparing to unpack .../075-libpackage-stash-perl_0.40-1_all.deb ... 127s Unpacking libpackage-stash-perl (0.40-1) ... 127s Selecting previously unselected package libsub-identify-perl. 127s Preparing to unpack .../076-libsub-identify-perl_0.14-3build4_s390x.deb ... 127s Unpacking libsub-identify-perl (0.14-3build4) ... 127s Selecting previously unselected package libsub-name-perl:s390x. 127s Preparing to unpack .../077-libsub-name-perl_0.27-1build4_s390x.deb ... 127s Unpacking libsub-name-perl:s390x (0.27-1build4) ... 127s Selecting previously unselected package libnamespace-clean-perl. 127s Preparing to unpack .../078-libnamespace-clean-perl_0.27-2_all.deb ... 127s Unpacking libnamespace-clean-perl (0.27-2) ... 127s Selecting previously unselected package libnamespace-autoclean-perl. 127s Preparing to unpack .../079-libnamespace-autoclean-perl_0.31-1_all.deb ... 127s Unpacking libnamespace-autoclean-perl (0.31-1) ... 127s Selecting previously unselected package libsub-exporter-perl. 127s Preparing to unpack .../080-libsub-exporter-perl_0.990-1_all.deb ... 127s Unpacking libsub-exporter-perl (0.990-1) ... 127s Selecting previously unselected package libeval-closure-perl. 127s Preparing to unpack .../081-libeval-closure-perl_0.14-3_all.deb ... 127s Unpacking libeval-closure-perl (0.14-3) ... 127s Selecting previously unselected package libdevel-stacktrace-perl. 127s Preparing to unpack .../082-libdevel-stacktrace-perl_2.0500-1_all.deb ... 127s Unpacking libdevel-stacktrace-perl (2.0500-1) ... 127s Selecting previously unselected package libexception-class-perl. 127s Preparing to unpack .../083-libexception-class-perl_1.45-1_all.deb ... 127s Unpacking libexception-class-perl (1.45-1) ... 127s Selecting previously unselected package libparams-validationcompiler-perl. 127s Preparing to unpack .../084-libparams-validationcompiler-perl_0.31-1_all.deb ... 127s Unpacking libparams-validationcompiler-perl (0.31-1) ... 127s Selecting previously unselected package libmro-compat-perl. 127s Preparing to unpack .../085-libmro-compat-perl_0.15-2_all.deb ... 127s Unpacking libmro-compat-perl (0.15-2) ... 127s Selecting previously unselected package librole-tiny-perl. 127s Preparing to unpack .../086-librole-tiny-perl_2.002004-1_all.deb ... 127s Unpacking librole-tiny-perl (2.002004-1) ... 127s Selecting previously unselected package libsub-quote-perl. 127s Preparing to unpack .../087-libsub-quote-perl_2.006008-1ubuntu1_all.deb ... 127s Unpacking libsub-quote-perl (2.006008-1ubuntu1) ... 127s Selecting previously unselected package libxstring-perl:s390x. 127s Preparing to unpack .../088-libxstring-perl_0.005-2build4_s390x.deb ... 127s Unpacking libxstring-perl:s390x (0.005-2build4) ... 127s Selecting previously unselected package libspecio-perl. 127s Preparing to unpack .../089-libspecio-perl_0.48-1_all.deb ... 127s Unpacking libspecio-perl (0.48-1) ... 127s Selecting previously unselected package libdatetime-locale-perl. 127s Preparing to unpack .../090-libdatetime-locale-perl_1%3a1.41-1_all.deb ... 127s Unpacking libdatetime-locale-perl (1:1.41-1) ... 128s Selecting previously unselected package libdatetime-timezone-perl. 128s Preparing to unpack .../091-libdatetime-timezone-perl_1%3a2.63-2+2024b_all.deb ... 128s Unpacking libdatetime-timezone-perl (1:2.63-2+2024b) ... 128s Selecting previously unselected package libdatetime-perl. 128s Preparing to unpack .../092-libdatetime-perl_2%3a1.65-1build3_s390x.deb ... 128s Unpacking libdatetime-perl (2:1.65-1build3) ... 128s Selecting previously unselected package libdatetime-format-rfc3339-perl. 128s Preparing to unpack .../093-libdatetime-format-rfc3339-perl_1.8.0-1_all.deb ... 128s Unpacking libdatetime-format-rfc3339-perl (1.8.0-1) ... 128s Selecting previously unselected package libdevel-cycle-perl. 128s Preparing to unpack .../094-libdevel-cycle-perl_1.12-2_all.deb ... 128s Unpacking libdevel-cycle-perl (1.12-2) ... 128s Selecting previously unselected package libemail-address-xs-perl. 128s Preparing to unpack .../095-libemail-address-xs-perl_1.05-1build5_s390x.deb ... 128s Unpacking libemail-address-xs-perl (1.05-1build5) ... 128s Selecting previously unselected package libexporter-tiny-perl. 128s Preparing to unpack .../096-libexporter-tiny-perl_1.006002-1_all.deb ... 128s Unpacking libexporter-tiny-perl (1.006002-1) ... 128s Selecting previously unselected package libextutils-helpers-perl. 128s Preparing to unpack .../097-libextutils-helpers-perl_0.028-1_all.deb ... 128s Unpacking libextutils-helpers-perl (0.028-1) ... 128s Selecting previously unselected package libextutils-installpaths-perl. 128s Preparing to unpack .../098-libextutils-installpaths-perl_0.014-1_all.deb ... 128s Unpacking libextutils-installpaths-perl (0.014-1) ... 128s Selecting previously unselected package libxs-parse-keyword-perl. 128s Preparing to unpack .../099-libxs-parse-keyword-perl_0.46-1_s390x.deb ... 128s Unpacking libxs-parse-keyword-perl (0.46-1) ... 128s Selecting previously unselected package libsyntax-keyword-try-perl. 128s Preparing to unpack .../100-libsyntax-keyword-try-perl_0.30-1_s390x.deb ... 128s Unpacking libsyntax-keyword-try-perl (0.30-1) ... 128s Selecting previously unselected package libfeature-compat-try-perl. 128s Preparing to unpack .../101-libfeature-compat-try-perl_0.05-1_all.deb ... 128s Unpacking libfeature-compat-try-perl (0.05-1) ... 128s Selecting previously unselected package libfile-chdir-perl. 128s Preparing to unpack .../102-libfile-chdir-perl_0.1008-1.2_all.deb ... 128s Unpacking libfile-chdir-perl (0.1008-1.2) ... 128s Selecting previously unselected package libfile-copy-recursive-perl. 128s Preparing to unpack .../103-libfile-copy-recursive-perl_0.45-4_all.deb ... 128s Unpacking libfile-copy-recursive-perl (0.45-4) ... 128s Selecting previously unselected package libio-stringy-perl. 128s Preparing to unpack .../104-libio-stringy-perl_2.113-2_all.deb ... 128s Unpacking libio-stringy-perl (2.113-2) ... 128s Selecting previously unselected package libparams-validate-perl:s390x. 128s Preparing to unpack .../105-libparams-validate-perl_1.31-2build4_s390x.deb ... 128s Unpacking libparams-validate-perl:s390x (1.31-2build4) ... 128s Selecting previously unselected package libgetopt-long-descriptive-perl. 128s Preparing to unpack .../106-libgetopt-long-descriptive-perl_0.115-1_all.deb ... 128s Unpacking libgetopt-long-descriptive-perl (0.115-1) ... 128s Selecting previously unselected package libsort-versions-perl. 128s Preparing to unpack .../107-libsort-versions-perl_1.62-3_all.deb ... 128s Unpacking libsort-versions-perl (1.62-3) ... 128s Selecting previously unselected package libgit-wrapper-perl. 128s Preparing to unpack .../108-libgit-wrapper-perl_0.048-2_all.deb ... 128s Unpacking libgit-wrapper-perl (0.048-2) ... 128s Selecting previously unselected package libimport-into-perl. 128s Preparing to unpack .../109-libimport-into-perl_1.002005-2_all.deb ... 128s Unpacking libimport-into-perl (1.002005-2) ... 128s Selecting previously unselected package libjs-popper.js. 128s Preparing to unpack .../110-libjs-popper.js_1.16.1+ds-6_all.deb ... 128s Unpacking libjs-popper.js (1.16.1+ds-6) ... 128s Selecting previously unselected package libjs-bootstrap5. 128s Preparing to unpack .../111-libjs-bootstrap5_5.3.3+dfsg-1_all.deb ... 128s Unpacking libjs-bootstrap5 (5.3.3+dfsg-1) ... 128s Selecting previously unselected package libjs-highlight.js. 128s Preparing to unpack .../112-libjs-highlight.js_9.18.5+dfsg1-2_all.deb ... 128s Unpacking libjs-highlight.js (9.18.5+dfsg1-2) ... 128s Selecting previously unselected package libjson-perl. 128s Preparing to unpack .../113-libjson-perl_4.10000-1_all.deb ... 128s Unpacking libjson-perl (4.10000-1) ... 128s Selecting previously unselected package libmojolicious-perl. 128s Preparing to unpack .../114-libmojolicious-perl_9.38+dfsg-1_all.deb ... 128s Unpacking libmojolicious-perl (9.38+dfsg-1) ... 128s Selecting previously unselected package libmoo-perl. 128s Preparing to unpack .../115-libmoo-perl_2.005005-1_all.deb ... 128s Unpacking libmoo-perl (2.005005-1) ... 128s Selecting previously unselected package libtype-tiny-perl. 128s Preparing to unpack .../116-libtype-tiny-perl_2.004000-1_all.deb ... 128s Unpacking libtype-tiny-perl (2.004000-1) ... 128s Selecting previously unselected package libmoox-typetiny-perl. 128s Preparing to unpack .../117-libmoox-typetiny-perl_0.002003-4_all.deb ... 128s Unpacking libmoox-typetiny-perl (0.002003-4) ... 128s Selecting previously unselected package libpath-tiny-perl. 128s Preparing to unpack .../118-libpath-tiny-perl_0.146-1_all.deb ... 128s Unpacking libpath-tiny-perl (0.146-1) ... 128s Selecting previously unselected package libref-util-perl. 128s Preparing to unpack .../119-libref-util-perl_0.204-2_all.deb ... 128s Unpacking libref-util-perl (0.204-2) ... 128s Selecting previously unselected package libsafe-isa-perl. 128s Preparing to unpack .../120-libsafe-isa-perl_1.000010-1_all.deb ... 128s Unpacking libsafe-isa-perl (1.000010-1) ... 128s Selecting previously unselected package libstrictures-perl. 128s Preparing to unpack .../121-libstrictures-perl_2.000006-1_all.deb ... 128s Unpacking libstrictures-perl (2.000006-1) ... 128s Selecting previously unselected package libjson-schema-modern-perl. 128s Preparing to unpack .../122-libjson-schema-modern-perl_0.593-1_all.deb ... 128s Unpacking libjson-schema-modern-perl (0.593-1) ... 128s Selecting previously unselected package libmodule-build-tiny-perl. 128s Preparing to unpack .../123-libmodule-build-tiny-perl_0.048-1_all.deb ... 128s Unpacking libmodule-build-tiny-perl (0.048-1) ... 128s Selecting previously unselected package libnet-idn-encode-perl. 128s Preparing to unpack .../124-libnet-idn-encode-perl_2.500-5build1_s390x.deb ... 128s Unpacking libnet-idn-encode-perl (2.500-5build1) ... 128s Selecting previously unselected package libpadwalker-perl. 128s Preparing to unpack .../125-libpadwalker-perl_2.5-1build7_s390x.deb ... 128s Unpacking libpadwalker-perl (2.5-1build7) ... 128s Selecting previously unselected package libref-util-xs-perl. 128s Preparing to unpack .../126-libref-util-xs-perl_0.117-2build5_s390x.deb ... 128s Unpacking libref-util-xs-perl (0.117-2build5) ... 128s Selecting previously unselected package libscope-guard-perl. 128s Preparing to unpack .../127-libscope-guard-perl_0.21-2_all.deb ... 128s Unpacking libscope-guard-perl (0.21-2) ... 128s Selecting previously unselected package libsereal-decoder-perl. 128s Preparing to unpack .../128-libsereal-decoder-perl_5.004+ds-1build4_s390x.deb ... 128s Unpacking libsereal-decoder-perl (5.004+ds-1build4) ... 128s Selecting previously unselected package libsereal-encoder-perl. 128s Preparing to unpack .../129-libsereal-encoder-perl_5.004+ds-1build4_s390x.deb ... 128s Unpacking libsereal-encoder-perl (5.004+ds-1build4) ... 128s Selecting previously unselected package libsereal-perl. 128s Preparing to unpack .../130-libsereal-perl_5.004-1_all.deb ... 128s Unpacking libsereal-perl (5.004-1) ... 128s Selecting previously unselected package libtest-deep-perl. 128s Preparing to unpack .../131-libtest-deep-perl_1.204-1_all.deb ... 128s Unpacking libtest-deep-perl (1.204-1) ... 128s Selecting previously unselected package libtest-deep-unorderedpairs-perl. 128s Preparing to unpack .../132-libtest-deep-unorderedpairs-perl_0.006-3_all.deb ... 128s Unpacking libtest-deep-unorderedpairs-perl (0.006-3) ... 128s Selecting previously unselected package libtest-fatal-perl. 128s Preparing to unpack .../133-libtest-fatal-perl_0.017-1_all.deb ... 128s Unpacking libtest-fatal-perl (0.017-1) ... 128s Selecting previously unselected package libtest-file-sharedir-perl. 128s Preparing to unpack .../134-libtest-file-sharedir-perl_1.001002-2_all.deb ... 128s Unpacking libtest-file-sharedir-perl (1.001002-2) ... 128s Selecting previously unselected package libtest2-suite-perl. 128s Preparing to unpack .../135-libtest2-suite-perl_0.000163-1_all.deb ... 128s Unpacking libtest2-suite-perl (0.000163-1) ... 128s Selecting previously unselected package libtest-json-schema-acceptance-perl. 128s Preparing to unpack .../136-libtest-json-schema-acceptance-perl_1.026-1_all.deb ... 128s Unpacking libtest-json-schema-acceptance-perl (1.026-1) ... 128s Selecting previously unselected package libtest-memory-cycle-perl. 128s Preparing to unpack .../137-libtest-memory-cycle-perl_1.06-2_all.deb ... 128s Unpacking libtest-memory-cycle-perl (1.06-2) ... 128s Selecting previously unselected package libtest-needs-perl. 128s Preparing to unpack .../138-libtest-needs-perl_0.002010-1_all.deb ... 128s Unpacking libtest-needs-perl (0.002010-1) ... 128s Selecting previously unselected package libtest-warnings-perl. 128s Preparing to unpack .../139-libtest-warnings-perl_0.033-1_all.deb ... 128s Unpacking libtest-warnings-perl (0.033-1) ... 128s Selecting previously unselected package libtest-without-module-perl. 128s Preparing to unpack .../140-libtest-without-module-perl_0.23-1_all.deb ... 128s Unpacking libtest-without-module-perl (0.23-1) ... 128s Selecting previously unselected package libtime-moment-perl. 128s Preparing to unpack .../141-libtime-moment-perl_0.44-2build5_s390x.deb ... 128s Unpacking libtime-moment-perl (0.44-2build5) ... 128s Selecting previously unselected package libtype-tiny-xs-perl:s390x. 128s Preparing to unpack .../142-libtype-tiny-xs-perl_0.025-2build1_s390x.deb ... 128s Unpacking libtype-tiny-xs-perl:s390x (0.025-2build1) ... 128s Selecting previously unselected package pkg-perl-autopkgtest. 128s Preparing to unpack .../143-pkg-perl-autopkgtest_0.80_all.deb ... 128s Unpacking pkg-perl-autopkgtest (0.80) ... 128s Selecting previously unselected package autopkgtest-satdep. 128s Preparing to unpack .../144-1-autopkgtest-satdep.deb ... 128s Unpacking autopkgtest-satdep (0) ... 128s Setting up javascript-common (11+nmu1) ... 128s Setting up libdevel-cycle-perl (1.12-2) ... 128s Setting up libextutils-config-perl (0.010-1) ... 128s Setting up libsafe-isa-perl (1.000010-1) ... 128s Setting up libextutils-helpers-perl (0.028-1) ... 128s Setting up libclass-inspector-perl (1.36-3) ... 128s Setting up libtest-without-module-perl (0.23-1) ... 128s Setting up libdynaloader-functions-perl (0.004-1) ... 128s Setting up libtest-deep-perl (1.204-1) ... 128s Setting up libclass-method-modifiers-perl (2.15-1) ... 128s Setting up libref-util-xs-perl (0.117-2build5) ... 128s Setting up libjs-popper.js (1.16.1+ds-6) ... 128s Setting up libnet-idn-encode-perl (2.500-5build1) ... 128s Setting up libarchive-zip-perl (1.68-1) ... 128s Setting up libsub-identify-perl (0.14-3build4) ... 128s Setting up libcpanel-json-xs-perl:s390x (4.38-1build1) ... 128s Setting up libextutils-installpaths-perl (0.014-1) ... 128s Setting up libio-stringy-perl (2.113-2) ... 128s Setting up libdebhelper-perl (13.20ubuntu1) ... 128s Setting up libtry-tiny-perl (0.32-1) ... 128s Setting up libtest-warnings-perl (0.033-1) ... 128s Setting up libtest-fatal-perl (0.017-1) ... 128s Setting up libextutils-hascompiler-perl (0.025-1) ... 128s Setting up m4 (1.4.19-4build1) ... 128s Setting up libclass-singleton-perl (1.6-2) ... 128s Setting up libtime-moment-perl (0.44-2build5) ... 128s Setting up libpadwalker-perl (2.5-1build7) ... 128s Setting up libcpan-requirements-dynamic-perl (0.001-2) ... 128s Setting up libxstring-perl:s390x (0.005-2build4) ... 128s Setting up libgomp1:s390x (14.2.0-8ubuntu1) ... 128s Setting up libsereal-encoder-perl (5.004+ds-1build4) ... 128s Setting up libsub-install-perl (0.929-1) ... 128s Setting up libtest2-suite-perl (0.000163-1) ... 128s Setting up libtest-needs-perl (0.002010-1) ... 128s Setting up libscope-guard-perl (0.21-2) ... 128s Setting up libfile-copy-recursive-perl (0.45-4) ... 128s Setting up liberror-perl (0.17029-2) ... 128s Setting up libautovivification-perl:s390x (0.18-2build5) ... 128s Setting up libtest-memory-cycle-perl (1.06-2) ... 128s Setting up autotools-dev (20220109.1) ... 128s Setting up libclass-data-inheritable-perl (0.10-1) ... 128s Setting up libalgorithm-c3-perl (0.11-2) ... 128s Setting up libclass-tiny-perl (1.008-2) ... 128s Setting up libtest-deep-unorderedpairs-perl (0.006-3) ... 128s Setting up libref-util-perl (0.204-2) ... 128s Setting up libnet-domain-tld-perl (1.75-4) ... 128s Setting up libmpc3:s390x (1.3.1-1build2) ... 128s Setting up libvariable-magic-perl (0.64-1build1) ... 128s Setting up autopoint (0.22.5-2) ... 128s Setting up libb-hooks-op-check-perl:s390x (0.22-3build2) ... 128s Setting up libparams-util-perl (1.102-3build1) ... 128s Setting up autoconf (2.72-3) ... 128s Setting up libsub-exporter-progressive-perl (0.001013-3) ... 128s Setting up libubsan1:s390x (14.2.0-8ubuntu1) ... 128s Setting up libsub-name-perl:s390x (0.27-1build4) ... 128s Setting up libtype-tiny-xs-perl:s390x (0.025-2build1) ... 128s Setting up dwz (0.15-1build6) ... 128s Setting up libdata-validate-domain-perl (0.15-1) ... 128s Setting up libcpan-meta-check-perl (0.018-1) ... 128s Setting up libjs-highlight.js (9.18.5+dfsg1-2) ... 128s Setting up libfile-chdir-perl (0.1008-1.2) ... 128s Setting up libpath-tiny-perl (0.146-1) ... 128s Setting up libasan8:s390x (14.2.0-8ubuntu1) ... 128s Setting up libjson-perl (4.10000-1) ... 128s Setting up librole-tiny-perl (2.002004-1) ... 128s Setting up debugedit (1:5.1-1) ... 128s Setting up libfile-sharedir-perl (1.118-3) ... 128s Setting up git-man (1:2.45.2-1ubuntu1) ... 128s Setting up libstrictures-perl (2.000006-1) ... 128s Setting up libsub-quote-perl (2.006008-1ubuntu1) ... 128s Setting up libdevel-stacktrace-perl (2.0500-1) ... 128s Setting up libclass-xsaccessor-perl (1.19-4build5) ... 128s Setting up libsort-versions-perl (1.62-3) ... 128s Setting up libexporter-tiny-perl (1.006002-1) ... 128s Setting up libisl23:s390x (0.27-1) ... 128s Setting up libjs-bootstrap5 (5.3.3+dfsg-1) ... 128s Setting up libsereal-decoder-perl (5.004+ds-1build4) ... 128s Setting up libcc1-0:s390x (14.2.0-8ubuntu1) ... 128s Setting up dctrl-tools (2.24-3build3) ... 128s Setting up libitm1:s390x (14.2.0-8ubuntu1) ... 128s Setting up autodep8 (0.28+nmu1ubuntu1) ... 128s Setting up libemail-address-xs-perl (1.05-1build5) ... 128s Setting up automake (1:1.16.5-1.3ubuntu1) ... 128s update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode 128s Setting up libmodule-build-tiny-perl (0.048-1) ... 128s Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... 128s Setting up gettext (0.22.5-2) ... 128s Setting up libmojolicious-perl (9.38+dfsg-1) ... 128s Setting up libtype-tiny-perl (2.004000-1) ... 128s Setting up libsereal-perl (5.004-1) ... 128s Setting up libexception-class-perl (1.45-1) ... 128s Setting up libclass-c3-perl (0.35-2) ... 128s Setting up libdevel-callchecker-perl:s390x (0.009-1build1) ... 128s Setting up intltool-debian (0.35.0+20060710.6) ... 128s Setting up libxs-parse-keyword-perl (0.46-1) ... 128s Setting up libtest-file-sharedir-perl (1.001002-2) ... 128s Setting up libdata-optlist-perl (0.114-1) ... 128s Setting up git (1:2.45.2-1ubuntu1) ... 128s Setting up pkg-perl-autopkgtest (0.80) ... 128s Setting up cpp-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 128s Setting up cpp-14 (14.2.0-8ubuntu1) ... 128s Setting up dh-strip-nondeterminism (1.14.0-1) ... 128s Setting up libsyntax-keyword-try-perl (0.30-1) ... 128s Setting up libgit-wrapper-perl (0.048-2) ... 128s Setting up libmro-compat-perl (0.15-2) ... 128s Setting up libgcc-14-dev:s390x (14.2.0-8ubuntu1) ... 128s Setting up libstdc++-14-dev:s390x (14.2.0-8ubuntu1) ... 128s Setting up libsub-exporter-perl (0.990-1) ... 128s Setting up libeval-closure-perl (0.14-3) ... 128s Setting up libparams-validationcompiler-perl (0.31-1) ... 128s Setting up libfeature-compat-try-perl (0.05-1) ... 128s Setting up cpp-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 128s Setting up po-debconf (1.0.21+nmu1) ... 128s Setting up libparams-classify-perl:s390x (0.015-2build6) ... 128s Setting up gcc-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 128s Setting up gcc-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 128s Setting up libmodule-runtime-perl (0.016-2) ... 128s Setting up g++-14-s390x-linux-gnu (14.2.0-8ubuntu1) ... 128s Setting up cpp (4:14.1.0-2ubuntu1) ... 128s Setting up libmodule-implementation-perl (0.09-2) ... 128s Setting up libpackage-stash-perl (0.40-1) ... 128s Setting up libimport-into-perl (1.002005-2) ... 128s Setting up libmoo-perl (2.005005-1) ... 128s Setting up g++-s390x-linux-gnu (4:14.1.0-2ubuntu1) ... 128s Setting up gcc-14 (14.2.0-8ubuntu1) ... 128s Setting up libspecio-perl (0.48-1) ... 128s Setting up libmoox-typetiny-perl (0.002003-4) ... 128s Setting up g++-14 (14.2.0-8ubuntu1) ... 128s Setting up libparams-validate-perl:s390x (1.31-2build4) ... 128s Setting up libb-hooks-endofscope-perl (0.28-1) ... 128s Setting up libtool (2.4.7-7build1) ... 128s Setting up gcc (4:14.1.0-2ubuntu1) ... 128s Setting up dh-autoreconf (20) ... 128s Setting up libnamespace-clean-perl (0.27-2) ... 128s Setting up libgetopt-long-descriptive-perl (0.115-1) ... 128s Setting up g++ (4:14.1.0-2ubuntu1) ... 128s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 128s Setting up libtest-json-schema-acceptance-perl (1.026-1) ... 128s Setting up build-essential (12.10ubuntu1) ... 128s Setting up libnamespace-autoclean-perl (0.31-1) ... 128s Setting up libdatetime-locale-perl (1:1.41-1) ... 128s Setting up libdatetime-timezone-perl (1:2.63-2+2024b) ... 128s Setting up debhelper (13.20ubuntu1) ... 128s Setting up libjson-schema-modern-perl (0.593-1) ... 128s Setting up libdatetime-perl (2:1.65-1build3) ... 128s Setting up libdatetime-format-rfc3339-perl (1.8.0-1) ... 128s Setting up autopkgtest-satdep (0) ... 128s Processing triggers for man-db (2.13.0-1) ... 130s Processing triggers for install-info (7.1.1-1) ... 130s Processing triggers for libc-bin (2.40-1ubuntu3) ... 134s (Reading database ... 65261 files and directories currently installed.) 134s Removing autopkgtest-satdep (0) ... 134s autopkgtest [08:43:01]: test autodep8-perl-build-deps: /usr/share/pkg-perl-autopkgtest/runner build-deps 134s autopkgtest [08:43:01]: test autodep8-perl-build-deps: [----------------------- 134s t/00-report-prereqs.t ................... 134s 1..1 134s # 134s # Versions for all modules listed in static metadata (including optional ones): 134s # 134s # === Configure Requires === 134s # 134s # Module Want Have 134s # ------------------- ----- -------- 134s # Module::Build::Tiny 0.034 0.048 134s # perl 5.020 5.040000 134s # 134s # === Test Requires === 134s # 134s # Module Want Have 134s # ------------------------------ -------- -------- 134s # CPAN::Meta::Check 0.011 0.018 134s # CPAN::Meta::Requirements any 2.143 134s # Data::Dumper any 2.189 134s # File::Spec any 3.90 134s # IPC::Open3 any 1.22 134s # Math::BigInt 1.999701 2.003002 134s # Module::Metadata any 1.000038 134s # Test2::API any 1.302199 134s # Test2::V0 any 0.000163 134s # Test::Deep any 1.204 134s # Test::Deep::UnorderedPairs any 0.006 134s # Test::Fatal any 0.017 134s # Test::File::ShareDir any 1.001002 134s # Test::JSON::Schema::Acceptance 1.021 1.026 134s # Test::Memory::Cycle any 1.06 134s # Test::More 0.96 1.302199 134s # Test::Needs any 0.002010 134s # Test::Warnings any 0.033 134s # Test::Without::Module 0.21 0.23 134s # lib any 0.65 134s # perl v5.20.0 5.040000 134s # utf8 any 1.25 134s # 134s # === Test Recommends === 134s # 134s # Module Want Have 134s # ---------- -------- -------- 134s # CPAN::Meta 2.120900 2.150010 134s # 134s # === Runtime Requires === 134s # 134s # Module Want Have 134s # ------------------------- -------- -------- 134s # B any 1.89 134s # Carp any 1.54 134s # Cpanel::JSON::XS 4.38 4.38 134s # Digest::MD5 any 2.58_01 134s # Exporter any 5.78 134s # Feature::Compat::Try any 0.05 134s # File::ShareDir any 1.118 134s # Getopt::Long::Descriptive any 0.115 134s # JSON::PP 4.11 4.16 134s # List::Util 1.55 1.63 134s # MIME::Base64 any 3.16_01 134s # Math::BigFloat any 2.003002 134s # Math::BigInt 1.999701 2.003002 134s # Module::Runtime any 0.016 134s # Mojo::JSON any undef 134s # Mojo::JSON::Pointer any undef 134s # Mojo::URL any undef 134s # Mojolicious 7.87 9.38 134s # Moo any 2.005005 134s # Moo::Role any 2.005005 134s # MooX::TypeTiny 0.002002 0.002003 134s # Path::Tiny any 0.146 134s # Ref::Util 0.100 0.204 134s # Safe::Isa 1.000008 1.000010 134s # Scalar::Util any 1.63 134s # Storable any 3.32 134s # Sub::Install any 0.929 134s # Types::Common::Numeric any 2.004000 134s # Types::Standard 1.016003 2.004000 134s # autovivification any 0.18 134s # constant any 1.33 134s # experimental 0.026 0.032 134s # if any 0.0610 134s # namespace::clean any 0.27 134s # open any 1.13 134s # overload any 1.37 134s # perl v5.20.0 5.040000 134s # stable 0.031 0.033 134s # strict any 1.13 134s # strictures 2 2.000006 134s # warnings any 1.70 134s # 134s # === Runtime Suggests === 134s # 134s # Module Want Have 134s # ------------------------- ---- ------ 134s # Class::XSAccessor any 1.19 134s # Data::Validate::Domain any 0.15 134s # DateTime::Format::RFC3339 any v1.8.0 134s # Email::Address::XS 1.04 1.05 134s # Net::IDN::Encode any 2.500 134s # Ref::Util::XS any 0.117 134s # Sereal any 5.004 134s # Time::Moment any 0.44 134s # Type::Tiny::XS any 0.025 134s # 134s # === Other Modules === 134s # 134s # Module Have 134s # ---------------- -------- 134s # Cpanel::JSON::XS 4.38 134s # Encode 3.21 134s # File::Temp 0.2311 134s # JSON::PP 4.16 134s # JSON::XS missing 134s # Math::BigFloat 2.003002 134s # Math::BigInt 2.003002 134s # Module::Runtime 0.016 134s # Mojolicious 9.38 134s # Pod::Coverage missing 134s # Sereal::Decoder 5.004 134s # Sereal::Encoder 5.004 134s # Sub::Name 0.27 134s # YAML missing 134s # autodie 2.37 134s # 134s ok 1 - Reported prereqs 134s ok 135s t/add-schema.t .......................... 135s # Subtest: evaluate a document 135s ok 1 - evaluate a Document object 135s ok 2 - resource index from the document is copied to the main object 135s ok 3 - evaluate a Document object again without error 135s 1..3 135s ok 1 - evaluate a document 135s # Subtest: evaluate a uri 135s ok 1 - evaluate with a uri that is not yet loaded 135s ok 2 - the metaschema is now loaded and its resources are indexed 135s ok 3 - evaluate against the metaschema again 135s ok 4 - evaluate against the a subschema of the metaschema 135s ok 5 - evaluate against the a fragment of the metaschema that does not exist 135s ok 6 - evaluate against the a plain-name fragment of the metaschema that does not exist 135s 1..6 135s ok 2 - evaluate a uri 135s # Subtest: add a uri resource 135s ok 1 - ->get in scalar context on a URI to the head of a document 135s ok 2 - get() did not return a reference to the original data 135s ok 3 - ->get in list context on a URI to the head of a document 135s ok 4 - ->get in scalar context on a URI to inside of a document 135s ok 5 - ->get in list context on a URI to inside of a document 135s 1..5 135s ok 3 - add a uri resource 135s # Subtest: add a schema associated with a uri 135s ok 1 - cannot use a uri with a fragment 135s ok 2 - added the schema data with an associated uri 135s ok 3 - can now evaluate using a uri to a subschema of a resource we loaded earlier 135s ok 4 - can also evaluate using a non-canonical uri 135s ok 5 - can add the same document and associate it with another schema 135s ok 6 - can add the same document twice, using deprecated interface 135s ok 7 - warned when using deprecated form of add_schema 135s ok 8 - can add the same document again with the proper interface 135s ok 9 - now the document is available as all three uris 135s 1..9 135s ok 4 - add a schema associated with a uri 135s # Subtest: add a document without associating it with a uri 135s ok 1 - added the document without an associated uri 135s ok 2 - document only added under its canonical uri 135s 1..2 135s ok 5 - add a document without associating it with a uri 135s # Subtest: add a schema without a uri 135s ok 1 - added the schema data without an associated uri 135s ok 2 - document only added under its canonical uri 135s 1..2 135s ok 6 - add a schema without a uri 135s # Subtest: $ref to non-canonical uri 135s ok 1 - errors use the canonical uri, not the uri used to evaluate against 135s ok 2 - non-canonical uri is not used to resolve inner $id keywords 135s ok 3 - the canonical uri is updated when use the canonical uri, not the uri used to evaluate against 135s ok 4 - canonical_uri is not always what was in the $ref, even when no local $id is present 135s ok 5 - canonical_uri fragment also needs to be adjusted 135s ok 6 - canonical_uri starts out containing a fragment and can be appended to during traversal 135s 1..6 135s ok 7 - $ref to non-canonical uri 135s # Subtest: register a document against multiple uris; do not allow duplicate uris 135s ok 1 - resource index from the document is copied to the main object 135s ok 2 - add a secondary uri for the same document 135s ok 3 - secondary uri not also added to the document 135s ok 4 - cannot call add_schema with the same URI as for another schema 135s ok 5 - cannot reuse the same $id in another document 135s ok 6 - resource index remains unchanged after erroneous add_schema calls 135s ok 7 - adding the same schema *content* again does not fail, and returns the original document object 135s ok 8 - original document remains unchanged - the new uri was not added to it 135s ok 9 - new uri was added against the original document (no new document created) 135s ok 10 - ->get in scalar context on a secondary URI with a plain-name fragment 135s ok 11 - ->get in list context on a URI with a plain-name fragment includes the canonical uri 135s ok 12 - ->get in scalar context for a nonexistent resource returns undef 135s ok 13 - ->get in list context for a nonexistent resource returns empty list 135s 1..13 135s ok 8 - register a document against multiple uris; do not allow duplicate uris 135s # Subtest: external resource with externally-supplied uri; main resource with multiple uris 135s ok 1 - all uris in result are correct, using secondary uri as the target 135s ok 2 - all uris in result are correct, using main uri as the target 135s ok 3 - all uris in result are correct, using the literal schema as the target 135s 1..3 135s ok 9 - external resource with externally-supplied uri; main resource with multiple uris 135s # Subtest: document with no canonical URI, but assigned a URI through add_schema 135s ok 1 - evaluate a schema referencing a document given an ad-hoc uri 135s ok 2 - adding a uri to an existing document does not change its canonical uri 135s 1..2 135s ok 10 - document with no canonical URI, but assigned a URI through add_schema 135s 1..10 135s ok 138s t/additional-tests-draft2019-09.t ....... 138s # AUTHOR_TESTING: 138s # AUTOMATED_TESTING: 1 138s # EXTENDED_TESTING: 138s # NO_TODO: 138s # TEST_DIR: 138s # NO_SHORT_CIRCUIT: 138s # 138s # running tests in /tmp/autopkgtest.Liz2nS/autopkgtest_tmp/smokeXOIdE1/t/additional-tests-draft2019-09 against draft2019-09... 138s # 138s ok 1 - anchor.json: "non-schema object containing an $anchor property" - "skip traversing definition for a valid result" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 2 - anchor.json: "non-schema object containing an $anchor property" - "const at const_not_anchor does not match" { 138s # result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "#/$defs/const_not_anchor/const", 138s # "error": "value does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/else/$ref/const" 138s # }, 138s # { 138s # "error": "subschema is not valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/else" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "#/$defs/const_not_anchor/const", 138s # "error": "value does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/else/$ref/const" 138s # }, 138s # { 138s # "error": "subschema is not valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/else" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s # 138s ok 3 - annotation-collection.json: "annotations come from an allOf, unevaluated is a sibling" - "properties evaluated from allOf" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 4 - annotation-collection.json: "annotations come from an allOf, unevaluated is a sibling" - "extra property" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/bar", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/bar", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 5 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is a sibling" - "properties evaluated from additionalProperties" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 6 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is a sibling" - "extra property" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/bar", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/bar", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 7 - annotation-collection.json: "annotations come from an allOf, unevaluated is in an allOf" - "properties evaluated from allOf, but unevaluated is buried" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/foo", 138s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "no subschemas are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/anyOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/foo", 138s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "no subschemas are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/anyOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 8 - annotation-collection.json: "annotations come from an allOf, unevaluated is in an allOf" - "no properties" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 9 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is in an allOf" - "properties evaluated from additionalProperties, but unevaluated is buried" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/foo", 138s # "keywordLocation": "/allOf/0/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/allOf/0/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "subschema 0 is not valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/allOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/foo", 138s # "keywordLocation": "/allOf/0/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/allOf/0/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "subschema 0 is not valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/allOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 10 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is in an allOf" - "no properties" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 11 - annotation-collection.json: "collect annotations inside a 'not', even if collection is disabled" - "unevaluated property" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 12 - annotation-collection.json: "collect annotations inside a 'not', even if collection is disabled" - "annotations are still collected inside a 'not'" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/not" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/not" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s # 138s ok 13 - badRef.json: "good references in schemas" - "this data is never used" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 14 - badRef.json: "bad $ref in schema: not a valid anchor fragment" - "this data is never used" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "$ref value is not a valid URI reference", 138s # "instanceLocation": "", 138s # "keywordLocation": "/then/$ref" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "$ref value is not a valid URI reference", 138s # "instanceLocation": "", 138s # "keywordLocation": "/then/$ref" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 15 - badRef.json: "bad $ref in schema: not a valid json pointer fragment" - "this data is never used" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "$ref value is not a valid URI reference", 138s # "instanceLocation": "", 138s # "keywordLocation": "/then/$ref" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "$ref value is not a valid URI reference", 138s # "instanceLocation": "", 138s # "keywordLocation": "/then/$ref" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s # 138s ok 16 - faux-buggy-schemas.json: "identifiers in non-schemas that look like schemas" - "match the type checks" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 17 - faux-buggy-schemas.json: "identifiers in non-schemas that look like schemas" - "match none of the options" { 138s # result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/0/type", 138s # "error": "got string, not integer", 138s # "instanceLocation": "", 138s # "keywordLocation": "/anyOf/0/type" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/1/type", 138s # "error": "got string, not integer", 138s # "instanceLocation": "", 138s # "keywordLocation": "/anyOf/1/type" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/2/const", 138s # "error": "value does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/anyOf/2/const" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "http://localhost:1234/enum.json#/enum", 138s # "error": "value does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/anyOf/3/enum" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf", 138s # "error": "no subschemas are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/anyOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/0/type", 138s # "error": "got string, not integer", 138s # "instanceLocation": "", 138s # "keywordLocation": "/anyOf/0/type" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/1/type", 138s # "error": "got string, not integer", 138s # "instanceLocation": "", 138s # "keywordLocation": "/anyOf/1/type" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/2/const", 138s # "error": "value does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/anyOf/2/const" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "http://localhost:1234/enum.json#/enum", 138s # "error": "value does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/anyOf/3/enum" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf", 138s # "error": "no subschemas are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/anyOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s # 138s ok 18 - format-duration.json: "validation of duration strings" - "years and months can appear without days" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 19 - format-duration.json: "validation of duration strings" - "months and days can appear without years" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 20 - format-duration.json: "validation of duration strings" - "hours and minutes can appear without seconds" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 21 - format-duration.json: "validation of duration strings" - "minutes and seconds can appear without hour" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 22 - format-duration.json: "validation of duration strings" - "elements may be omitted if their value is zero" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 23 - format-duration.json: "validation of duration strings" - "half a year duration, with full stop decimal point" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 24 - format-duration.json: "validation of duration strings" - "half a year duration, with comma decimal point" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 25 - format-duration.json: "validation of duration strings" - "only one unit can have a non-integer quantity" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid duration", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid duration", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 26 - format-duration.json: "validation of duration strings" - "only the smallest unit can have a non-integer quantity" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid duration", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid duration", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s # 138s ok 27 - format-ipv4.json: "validation of ipv4 strings" - "leading zeroes should be rejected, as they are treated as octal values" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid ipv4", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid ipv4", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 28 - format-ipv4.json: "validation of ipv4 strings" - "leading zeroes should be rejected, even if not a valid octal value" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid ipv4", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid ipv4", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 29 - format-ipv4.json: "validation of ipv4 strings" - "value without leading zero is valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 30 - format-ipv4.json: "validation of ipv4 strings" - "non-ascii digits should be rejected" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid ipv4", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid ipv4", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s # 138s ok 31 - format-ipv6.json: "validation of ipv6 strings" - "fully expanded with zeroes" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 32 - format-ipv6.json: "validation of ipv6 strings" - "partially collapsed zeroes" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 33 - format-ipv6.json: "validation of ipv6 strings" - "4,2 zeroes" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 34 - format-ipv6.json: "validation of ipv6 strings" - "8 single zeroes, no double colon" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 35 - format-ipv6.json: "validation of ipv6 strings" - "7 single zeroes, leading double colon" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 36 - format-ipv6.json: "validation of ipv6 strings" - "6 single zeroes, leading double colon" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 37 - format-ipv6.json: "validation of ipv6 strings" - "5 single zeroes, leading double colon" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 38 - format-ipv6.json: "validation of ipv6 strings" - "4 single zeroes, leading double colon" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 39 - format-ipv6.json: "validation of ipv6 strings" - "3 single zeroes, leading double colon" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 40 - format-ipv6.json: "validation of ipv6 strings" - "2 single zeroes, leading double colon" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 41 - format-ipv6.json: "validation of ipv6 strings" - "1 single zero, leading double colon" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 42 - format-ipv6.json: "validation of ipv6 strings" - "1 single zero, trailing double colon" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 43 - format-ipv6.json: "validation of ipv6 strings" - "2 leading colons with 8 zeroes" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid ipv6", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid ipv6", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 44 - format-ipv6.json: "validation of ipv6 strings" - "1 leading colon with 8 zeroes" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid ipv6", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid ipv6", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 45 - format-ipv6.json: "validation of ipv6 strings" - "colons in the middle with 8 zeroes" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid ipv6", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid ipv6", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 46 - format-ipv6.json: "validation of ipv6 strings" - "1 trailing colon with 8 zeroes" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid ipv6", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid ipv6", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 47 - format-ipv6.json: "validation of ipv6 strings" - "2 trailing colons with 8 zeroes" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid ipv6", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid ipv6", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s # 138s ok 48 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with empty json-pointer" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 49 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with one-char json-pointer" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 50 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with longer json-pointer" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 51 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer \#" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 52 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "\#\# is not a valid json-pointer" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid relative-json-pointer", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid relative-json-pointer", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 53 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "zero cannot be followed by other digits, plus json-pointer" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid relative-json-pointer", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid relative-json-pointer", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 54 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "zero cannot be followed by other digits, plus octothorpe" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid relative-json-pointer", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid relative-json-pointer", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s # 138s ok 55 - formats.json: "format validation after a $ref" - "invalid duration" { 138s # result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "#/$defs/my_format/format", 138s # "error": "not a valid duration", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$ref/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "#/$defs/my_format/format", 138s # "error": "not a valid duration", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$ref/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 56 - formats.json: "format validation after a $ref" - "valid duration" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 57 - formats.json: "format validation after an $id" - "invalid duration" { 138s # result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "bloop#/allOf/0/format", 138s # "error": "not a valid duration", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/allOf/0/format" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "bloop#/allOf", 138s # "error": "subschema 0 is not valid", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/allOf" 138s # }, 138s # { 138s # "error": "subschema is not valid against all items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "bloop#/allOf/0/format", 138s # "error": "not a valid duration", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/allOf/0/format" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "bloop#/allOf", 138s # "error": "subschema 0 is not valid", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/allOf" 138s # }, 138s # { 138s # "error": "subschema is not valid against all items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 58 - formats.json: "format validation after an $id" - "valid duration" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s # 138s ok 59 - id.json: "non-schema object containing an $id property" - "skip traversing definition for a valid result" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 60 - id.json: "non-schema object containing an $id property" - "const at const_not_id does not match" { 138s # result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "#/$defs/const_not_id/const", 138s # "error": "value does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/else/$ref/const" 138s # }, 138s # { 138s # "error": "subschema is not valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/else" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "#/$defs/const_not_id/const", 138s # "error": "value does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/else/$ref/const" 138s # }, 138s # { 138s # "error": "subschema is not valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/else" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 61 - id.json: "'' not permitted as $id" - "schema would pass without $id" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "$id cannot be empty", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$id" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "$id cannot be empty", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$id" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 62 - id.json: "'' not permitted as $id" - "schema would fail even without $id" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "$id cannot be empty", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$id" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "$id cannot be empty", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$id" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 63 - id.json: "'\#' not permitted as $id" - "schema would pass without $id" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "$id cannot be empty", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$id" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "$id cannot be empty", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$id" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 64 - id.json: "'\#' not permitted as $id" - "schema would fail even without $id" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "$id cannot be empty", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$id" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "$id cannot be empty", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$id" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s # 138s ok 65 - integers.json: "type checks" - "beyond int64 lower boundary" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 66 - integers.json: "type checks" - "int64 lower boundary" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 67 - integers.json: "type checks" - "beyond int32 lower boundary" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 68 - integers.json: "type checks" - "int32 lower boundary" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 69 - integers.json: "type checks" - "zero" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 70 - integers.json: "type checks" - "int32 upper boundary" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 71 - integers.json: "type checks" - "beyond int32 upper boundary" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 72 - integers.json: "type checks" - "upper int64 boundary" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 73 - integers.json: "type checks" - "beyond int64 upper boundary" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 74 - integers.json: "int32 range checks" - "beyond lower boundary" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than -2147483648", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than -2147483648", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 75 - integers.json: "int32 range checks" - "lower boundary" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 76 - integers.json: "int32 range checks" - "zero" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 77 - integers.json: "int32 range checks" - "upper boundary" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 78 - integers.json: "int32 range checks" - "beyond upper boundary" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2147483647", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2147483647", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 79 - integers.json: "int64 range checks" - "beyond lower boundary" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than -9223372036854775808", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than -9223372036854775808", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 80 - integers.json: "int64 range checks" - "lower boundary" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 81 - integers.json: "int64 range checks" - "zero" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 82 - integers.json: "int64 range checks" - "upper boundary" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 83 - integers.json: "int64 range checks" - "beyond upper boundary" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 9223372036854775807", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 9223372036854775807", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 84 - integers.json: "equality checks" - "beyond int64 lower boundary" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 85 - integers.json: "equality checks" - "int64 lower boundary" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 86 - integers.json: "equality checks" - "beyond int32 lower boundary" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 87 - integers.json: "equality checks" - "int32 lower boundary" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 88 - integers.json: "equality checks" - "zero" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 89 - integers.json: "equality checks" - "one" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/enum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/enum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 90 - integers.json: "equality checks" - "int32 upper boundary" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 91 - integers.json: "equality checks" - "beyond int32 upper boundary" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 92 - integers.json: "equality checks" - "int64 upper boundary" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 93 - integers.json: "equality checks" - "beyond int64 upper boundary" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s # 138s ok 94 - keyword-independence.json: "contains + exclusiveMaximum" - "array, contains invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 95 - keyword-independence.json: "contains + exclusiveMaximum" - "array, contains valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 96 - keyword-independence.json: "contains + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 97 - keyword-independence.json: "contains + exclusiveMaximum" - "number, exclusiveMaximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 98 - keyword-independence.json: "contains + exclusiveMinimum" - "array, contains invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 99 - keyword-independence.json: "contains + exclusiveMinimum" - "array, contains valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 100 - keyword-independence.json: "contains + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 101 - keyword-independence.json: "contains + exclusiveMinimum" - "number, exclusiveMinimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 102 - keyword-independence.json: "contains + maximum" - "array, contains invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 103 - keyword-independence.json: "contains + maximum" - "array, contains valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 104 - keyword-independence.json: "contains + maximum" - "number, maximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 105 - keyword-independence.json: "contains + maximum" - "number, maximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 106 - keyword-independence.json: "contains + minimum" - "array, contains invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 107 - keyword-independence.json: "contains + minimum" - "array, contains valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 108 - keyword-independence.json: "contains + minimum" - "number, minimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 109 - keyword-independence.json: "contains + minimum" - "number, minimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 110 - keyword-independence.json: "contains + multipleOf" - "array, contains invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 111 - keyword-independence.json: "contains + multipleOf" - "array, contains valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 112 - keyword-independence.json: "contains + multipleOf" - "number, multipleOf invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 113 - keyword-independence.json: "contains + multipleOf" - "number, multipleOf valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 114 - keyword-independence.json: "exclusiveMaximum + items" - "array, items invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 115 - keyword-independence.json: "exclusiveMaximum + items" - "array, items valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 116 - keyword-independence.json: "exclusiveMaximum + items" - "number, exclusiveMaximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 117 - keyword-independence.json: "exclusiveMaximum + items" - "number, exclusiveMaximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 118 - keyword-independence.json: "exclusiveMinimum + items" - "array, items invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 119 - keyword-independence.json: "exclusiveMinimum + items" - "array, items valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 120 - keyword-independence.json: "exclusiveMinimum + items" - "number, exclusiveMinimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 121 - keyword-independence.json: "exclusiveMinimum + items" - "number, exclusiveMinimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 122 - keyword-independence.json: "items + maximum" - "array, items invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 123 - keyword-independence.json: "items + maximum" - "array, items valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 124 - keyword-independence.json: "items + maximum" - "number, maximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 125 - keyword-independence.json: "items + maximum" - "number, maximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 126 - keyword-independence.json: "items + minimum" - "array, items invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 127 - keyword-independence.json: "items + minimum" - "array, items valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 128 - keyword-independence.json: "items + minimum" - "number, minimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 129 - keyword-independence.json: "items + minimum" - "number, minimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 130 - keyword-independence.json: "items + multipleOf" - "array, items invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 131 - keyword-independence.json: "items + multipleOf" - "array, items valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 132 - keyword-independence.json: "items + multipleOf" - "number, multipleOf invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 133 - keyword-independence.json: "items + multipleOf" - "number, multipleOf valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 134 - keyword-independence.json: "exclusiveMaximum + maxItems" - "array, maxItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 135 - keyword-independence.json: "exclusiveMaximum + maxItems" - "array, maxItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 136 - keyword-independence.json: "exclusiveMaximum + maxItems" - "number, exclusiveMaximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 137 - keyword-independence.json: "exclusiveMaximum + maxItems" - "number, exclusiveMaximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 138 - keyword-independence.json: "exclusiveMinimum + maxItems" - "array, maxItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 139 - keyword-independence.json: "exclusiveMinimum + maxItems" - "array, maxItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 140 - keyword-independence.json: "exclusiveMinimum + maxItems" - "number, exclusiveMinimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 141 - keyword-independence.json: "exclusiveMinimum + maxItems" - "number, exclusiveMinimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 142 - keyword-independence.json: "maxItems + maximum" - "array, maxItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 143 - keyword-independence.json: "maxItems + maximum" - "array, maxItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 144 - keyword-independence.json: "maxItems + maximum" - "number, maximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 145 - keyword-independence.json: "maxItems + maximum" - "number, maximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 146 - keyword-independence.json: "maxItems + minimum" - "array, maxItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 147 - keyword-independence.json: "maxItems + minimum" - "array, maxItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 148 - keyword-independence.json: "maxItems + minimum" - "number, minimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 149 - keyword-independence.json: "maxItems + minimum" - "number, minimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 150 - keyword-independence.json: "maxItems + multipleOf" - "array, maxItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 151 - keyword-independence.json: "maxItems + multipleOf" - "array, maxItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 152 - keyword-independence.json: "maxItems + multipleOf" - "number, multipleOf invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 153 - keyword-independence.json: "maxItems + multipleOf" - "number, multipleOf valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 154 - keyword-independence.json: "exclusiveMaximum + minItems" - "array, minItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 155 - keyword-independence.json: "exclusiveMaximum + minItems" - "array, minItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 156 - keyword-independence.json: "exclusiveMaximum + minItems" - "number, exclusiveMaximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 157 - keyword-independence.json: "exclusiveMaximum + minItems" - "number, exclusiveMaximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 158 - keyword-independence.json: "exclusiveMinimum + minItems" - "array, minItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 159 - keyword-independence.json: "exclusiveMinimum + minItems" - "array, minItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 160 - keyword-independence.json: "exclusiveMinimum + minItems" - "number, exclusiveMinimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 161 - keyword-independence.json: "exclusiveMinimum + minItems" - "number, exclusiveMinimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 162 - keyword-independence.json: "maximum + minItems" - "array, minItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 163 - keyword-independence.json: "maximum + minItems" - "array, minItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 164 - keyword-independence.json: "maximum + minItems" - "number, maximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 165 - keyword-independence.json: "maximum + minItems" - "number, maximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 166 - keyword-independence.json: "minItems + minimum" - "array, minItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 167 - keyword-independence.json: "minItems + minimum" - "array, minItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 168 - keyword-independence.json: "minItems + minimum" - "number, minimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 169 - keyword-independence.json: "minItems + minimum" - "number, minimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 170 - keyword-independence.json: "minItems + multipleOf" - "array, minItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 171 - keyword-independence.json: "minItems + multipleOf" - "array, minItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 172 - keyword-independence.json: "minItems + multipleOf" - "number, multipleOf invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 173 - keyword-independence.json: "minItems + multipleOf" - "number, multipleOf valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 174 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "array, unevaluatedItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 175 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "array, unevaluatedItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 176 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "number, exclusiveMaximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 177 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "number, exclusiveMaximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 178 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "array, unevaluatedItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 179 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "array, unevaluatedItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 180 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "number, exclusiveMinimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 181 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "number, exclusiveMinimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 182 - keyword-independence.json: "maximum + unevaluatedItems" - "array, unevaluatedItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 183 - keyword-independence.json: "maximum + unevaluatedItems" - "array, unevaluatedItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 184 - keyword-independence.json: "maximum + unevaluatedItems" - "number, maximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 185 - keyword-independence.json: "maximum + unevaluatedItems" - "number, maximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 186 - keyword-independence.json: "minimum + unevaluatedItems" - "array, unevaluatedItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 187 - keyword-independence.json: "minimum + unevaluatedItems" - "array, unevaluatedItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 188 - keyword-independence.json: "minimum + unevaluatedItems" - "number, minimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 189 - keyword-independence.json: "minimum + unevaluatedItems" - "number, minimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 190 - keyword-independence.json: "multipleOf + unevaluatedItems" - "array, unevaluatedItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 191 - keyword-independence.json: "multipleOf + unevaluatedItems" - "array, unevaluatedItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 192 - keyword-independence.json: "multipleOf + unevaluatedItems" - "number, multipleOf invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 193 - keyword-independence.json: "multipleOf + unevaluatedItems" - "number, multipleOf valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 194 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "array, uniqueItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 195 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "array, uniqueItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 196 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "number, exclusiveMaximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 197 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "number, exclusiveMaximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 198 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "array, uniqueItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 199 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "array, uniqueItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 200 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "number, exclusiveMinimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 201 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "number, exclusiveMinimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 202 - keyword-independence.json: "maximum + uniqueItems" - "array, uniqueItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 203 - keyword-independence.json: "maximum + uniqueItems" - "array, uniqueItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 204 - keyword-independence.json: "maximum + uniqueItems" - "number, maximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 205 - keyword-independence.json: "maximum + uniqueItems" - "number, maximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 206 - keyword-independence.json: "minimum + uniqueItems" - "array, uniqueItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 207 - keyword-independence.json: "minimum + uniqueItems" - "array, uniqueItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 208 - keyword-independence.json: "minimum + uniqueItems" - "number, minimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 209 - keyword-independence.json: "minimum + uniqueItems" - "number, minimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 210 - keyword-independence.json: "multipleOf + uniqueItems" - "array, uniqueItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 211 - keyword-independence.json: "multipleOf + uniqueItems" - "array, uniqueItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 212 - keyword-independence.json: "multipleOf + uniqueItems" - "number, multipleOf invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 213 - keyword-independence.json: "multipleOf + uniqueItems" - "number, multipleOf valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 214 - keyword-independence.json: "additionalProperties + contains" - "array, contains invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 215 - keyword-independence.json: "additionalProperties + contains" - "array, contains valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 216 - keyword-independence.json: "additionalProperties + contains" - "object, additionalProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 217 - keyword-independence.json: "additionalProperties + contains" - "object, additionalProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 218 - keyword-independence.json: "contains + dependentRequired" - "array, contains invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 219 - keyword-independence.json: "contains + dependentRequired" - "array, contains valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 220 - keyword-independence.json: "contains + dependentRequired" - "object, dependentRequired invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 221 - keyword-independence.json: "contains + dependentRequired" - "object, dependentRequired valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 222 - keyword-independence.json: "contains + dependentSchemas" - "array, contains invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 223 - keyword-independence.json: "contains + dependentSchemas" - "array, contains valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 224 - keyword-independence.json: "contains + dependentSchemas" - "object, dependentSchemas invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 225 - keyword-independence.json: "contains + dependentSchemas" - "object, dependentSchemas valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 226 - keyword-independence.json: "contains + maxProperties" - "array, contains invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 227 - keyword-independence.json: "contains + maxProperties" - "array, contains valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 228 - keyword-independence.json: "contains + maxProperties" - "object, maxProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 229 - keyword-independence.json: "contains + maxProperties" - "object, maxProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 230 - keyword-independence.json: "contains + minProperties" - "array, contains invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 231 - keyword-independence.json: "contains + minProperties" - "array, contains valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 232 - keyword-independence.json: "contains + minProperties" - "object, minProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 233 - keyword-independence.json: "contains + minProperties" - "object, minProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 234 - keyword-independence.json: "contains + patternProperties" - "array, contains invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 235 - keyword-independence.json: "contains + patternProperties" - "array, contains valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 236 - keyword-independence.json: "contains + patternProperties" - "object, patternProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 237 - keyword-independence.json: "contains + patternProperties" - "object, patternProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 238 - keyword-independence.json: "contains + properties" - "array, contains invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 239 - keyword-independence.json: "contains + properties" - "array, contains valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 240 - keyword-independence.json: "contains + properties" - "object, properties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 241 - keyword-independence.json: "contains + properties" - "object, properties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 242 - keyword-independence.json: "contains + propertyNames" - "array, contains invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 243 - keyword-independence.json: "contains + propertyNames" - "array, contains valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 244 - keyword-independence.json: "contains + propertyNames" - "object, propertyNames invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 245 - keyword-independence.json: "contains + propertyNames" - "object, propertyNames valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 246 - keyword-independence.json: "contains + required" - "array, contains invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 247 - keyword-independence.json: "contains + required" - "array, contains valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 248 - keyword-independence.json: "contains + required" - "object, required invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 249 - keyword-independence.json: "contains + required" - "object, required valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 250 - keyword-independence.json: "contains + unevaluatedProperties" - "array, contains invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 251 - keyword-independence.json: "contains + unevaluatedProperties" - "array, contains valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 252 - keyword-independence.json: "contains + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 253 - keyword-independence.json: "contains + unevaluatedProperties" - "object, unevaluatedProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 254 - keyword-independence.json: "additionalProperties + items" - "array, items invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 255 - keyword-independence.json: "additionalProperties + items" - "array, items valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 256 - keyword-independence.json: "additionalProperties + items" - "object, additionalProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 257 - keyword-independence.json: "additionalProperties + items" - "object, additionalProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 258 - keyword-independence.json: "dependentRequired + items" - "array, items invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 259 - keyword-independence.json: "dependentRequired + items" - "array, items valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 260 - keyword-independence.json: "dependentRequired + items" - "object, dependentRequired invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 261 - keyword-independence.json: "dependentRequired + items" - "object, dependentRequired valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 262 - keyword-independence.json: "dependentSchemas + items" - "array, items invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 263 - keyword-independence.json: "dependentSchemas + items" - "array, items valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 264 - keyword-independence.json: "dependentSchemas + items" - "object, dependentSchemas invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 265 - keyword-independence.json: "dependentSchemas + items" - "object, dependentSchemas valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 266 - keyword-independence.json: "items + maxProperties" - "array, items invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 267 - keyword-independence.json: "items + maxProperties" - "array, items valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 268 - keyword-independence.json: "items + maxProperties" - "object, maxProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 269 - keyword-independence.json: "items + maxProperties" - "object, maxProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 270 - keyword-independence.json: "items + minProperties" - "array, items invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 271 - keyword-independence.json: "items + minProperties" - "array, items valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 272 - keyword-independence.json: "items + minProperties" - "object, minProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 273 - keyword-independence.json: "items + minProperties" - "object, minProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 274 - keyword-independence.json: "items + patternProperties" - "array, items invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 275 - keyword-independence.json: "items + patternProperties" - "array, items valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 276 - keyword-independence.json: "items + patternProperties" - "object, patternProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 277 - keyword-independence.json: "items + patternProperties" - "object, patternProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 278 - keyword-independence.json: "items + properties" - "array, items invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 279 - keyword-independence.json: "items + properties" - "array, items valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 280 - keyword-independence.json: "items + properties" - "object, properties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 281 - keyword-independence.json: "items + properties" - "object, properties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 282 - keyword-independence.json: "items + propertyNames" - "array, items invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 283 - keyword-independence.json: "items + propertyNames" - "array, items valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 284 - keyword-independence.json: "items + propertyNames" - "object, propertyNames invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 285 - keyword-independence.json: "items + propertyNames" - "object, propertyNames valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 286 - keyword-independence.json: "items + required" - "array, items invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 287 - keyword-independence.json: "items + required" - "array, items valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 288 - keyword-independence.json: "items + required" - "object, required invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 289 - keyword-independence.json: "items + required" - "object, required valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 290 - keyword-independence.json: "items + unevaluatedProperties" - "array, items invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 291 - keyword-independence.json: "items + unevaluatedProperties" - "array, items valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 292 - keyword-independence.json: "items + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 293 - keyword-independence.json: "items + unevaluatedProperties" - "object, unevaluatedProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 294 - keyword-independence.json: "additionalProperties + maxItems" - "array, maxItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 295 - keyword-independence.json: "additionalProperties + maxItems" - "array, maxItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 296 - keyword-independence.json: "additionalProperties + maxItems" - "object, additionalProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 297 - keyword-independence.json: "additionalProperties + maxItems" - "object, additionalProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 298 - keyword-independence.json: "dependentRequired + maxItems" - "array, maxItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 299 - keyword-independence.json: "dependentRequired + maxItems" - "array, maxItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 300 - keyword-independence.json: "dependentRequired + maxItems" - "object, dependentRequired invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 301 - keyword-independence.json: "dependentRequired + maxItems" - "object, dependentRequired valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 302 - keyword-independence.json: "dependentSchemas + maxItems" - "array, maxItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 303 - keyword-independence.json: "dependentSchemas + maxItems" - "array, maxItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 304 - keyword-independence.json: "dependentSchemas + maxItems" - "object, dependentSchemas invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 305 - keyword-independence.json: "dependentSchemas + maxItems" - "object, dependentSchemas valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 306 - keyword-independence.json: "maxItems + maxProperties" - "array, maxItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 307 - keyword-independence.json: "maxItems + maxProperties" - "array, maxItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 308 - keyword-independence.json: "maxItems + maxProperties" - "object, maxProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 309 - keyword-independence.json: "maxItems + maxProperties" - "object, maxProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 310 - keyword-independence.json: "maxItems + minProperties" - "array, maxItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 311 - keyword-independence.json: "maxItems + minProperties" - "array, maxItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 312 - keyword-independence.json: "maxItems + minProperties" - "object, minProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 313 - keyword-independence.json: "maxItems + minProperties" - "object, minProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 314 - keyword-independence.json: "maxItems + patternProperties" - "array, maxItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 315 - keyword-independence.json: "maxItems + patternProperties" - "array, maxItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 316 - keyword-independence.json: "maxItems + patternProperties" - "object, patternProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 317 - keyword-independence.json: "maxItems + patternProperties" - "object, patternProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 318 - keyword-independence.json: "maxItems + properties" - "array, maxItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 319 - keyword-independence.json: "maxItems + properties" - "array, maxItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 320 - keyword-independence.json: "maxItems + properties" - "object, properties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 321 - keyword-independence.json: "maxItems + properties" - "object, properties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 322 - keyword-independence.json: "maxItems + propertyNames" - "array, maxItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 323 - keyword-independence.json: "maxItems + propertyNames" - "array, maxItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 324 - keyword-independence.json: "maxItems + propertyNames" - "object, propertyNames invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 325 - keyword-independence.json: "maxItems + propertyNames" - "object, propertyNames valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 326 - keyword-independence.json: "maxItems + required" - "array, maxItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 327 - keyword-independence.json: "maxItems + required" - "array, maxItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 328 - keyword-independence.json: "maxItems + required" - "object, required invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 329 - keyword-independence.json: "maxItems + required" - "object, required valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 330 - keyword-independence.json: "maxItems + unevaluatedProperties" - "array, maxItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 331 - keyword-independence.json: "maxItems + unevaluatedProperties" - "array, maxItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 332 - keyword-independence.json: "maxItems + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 333 - keyword-independence.json: "maxItems + unevaluatedProperties" - "object, unevaluatedProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 334 - keyword-independence.json: "additionalProperties + minItems" - "array, minItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 335 - keyword-independence.json: "additionalProperties + minItems" - "array, minItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 336 - keyword-independence.json: "additionalProperties + minItems" - "object, additionalProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 337 - keyword-independence.json: "additionalProperties + minItems" - "object, additionalProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 338 - keyword-independence.json: "dependentRequired + minItems" - "array, minItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 339 - keyword-independence.json: "dependentRequired + minItems" - "array, minItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 340 - keyword-independence.json: "dependentRequired + minItems" - "object, dependentRequired invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 341 - keyword-independence.json: "dependentRequired + minItems" - "object, dependentRequired valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 342 - keyword-independence.json: "dependentSchemas + minItems" - "array, minItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 343 - keyword-independence.json: "dependentSchemas + minItems" - "array, minItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 344 - keyword-independence.json: "dependentSchemas + minItems" - "object, dependentSchemas invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 345 - keyword-independence.json: "dependentSchemas + minItems" - "object, dependentSchemas valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 346 - keyword-independence.json: "maxProperties + minItems" - "array, minItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 347 - keyword-independence.json: "maxProperties + minItems" - "array, minItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 348 - keyword-independence.json: "maxProperties + minItems" - "object, maxProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 349 - keyword-independence.json: "maxProperties + minItems" - "object, maxProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 350 - keyword-independence.json: "minItems + minProperties" - "array, minItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 351 - keyword-independence.json: "minItems + minProperties" - "array, minItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 352 - keyword-independence.json: "minItems + minProperties" - "object, minProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 353 - keyword-independence.json: "minItems + minProperties" - "object, minProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 354 - keyword-independence.json: "minItems + patternProperties" - "array, minItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 355 - keyword-independence.json: "minItems + patternProperties" - "array, minItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 356 - keyword-independence.json: "minItems + patternProperties" - "object, patternProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 357 - keyword-independence.json: "minItems + patternProperties" - "object, patternProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 358 - keyword-independence.json: "minItems + properties" - "array, minItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 359 - keyword-independence.json: "minItems + properties" - "array, minItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 360 - keyword-independence.json: "minItems + properties" - "object, properties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 361 - keyword-independence.json: "minItems + properties" - "object, properties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 362 - keyword-independence.json: "minItems + propertyNames" - "array, minItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 363 - keyword-independence.json: "minItems + propertyNames" - "array, minItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 364 - keyword-independence.json: "minItems + propertyNames" - "object, propertyNames invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 365 - keyword-independence.json: "minItems + propertyNames" - "object, propertyNames valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 366 - keyword-independence.json: "minItems + required" - "array, minItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 367 - keyword-independence.json: "minItems + required" - "array, minItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 368 - keyword-independence.json: "minItems + required" - "object, required invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 369 - keyword-independence.json: "minItems + required" - "object, required valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 370 - keyword-independence.json: "minItems + unevaluatedProperties" - "array, minItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 371 - keyword-independence.json: "minItems + unevaluatedProperties" - "array, minItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 372 - keyword-independence.json: "minItems + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 373 - keyword-independence.json: "minItems + unevaluatedProperties" - "object, unevaluatedProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 374 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 375 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 376 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "object, additionalProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 377 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "object, additionalProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 378 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "array, unevaluatedItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 379 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "array, unevaluatedItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 380 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "object, dependentRequired invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 381 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "object, dependentRequired valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 382 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "array, unevaluatedItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 383 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "array, unevaluatedItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 384 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "object, dependentSchemas invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 385 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "object, dependentSchemas valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 386 - keyword-independence.json: "maxProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 387 - keyword-independence.json: "maxProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 388 - keyword-independence.json: "maxProperties + unevaluatedItems" - "object, maxProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 389 - keyword-independence.json: "maxProperties + unevaluatedItems" - "object, maxProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 390 - keyword-independence.json: "minProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 391 - keyword-independence.json: "minProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 392 - keyword-independence.json: "minProperties + unevaluatedItems" - "object, minProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 393 - keyword-independence.json: "minProperties + unevaluatedItems" - "object, minProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 394 - keyword-independence.json: "patternProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 395 - keyword-independence.json: "patternProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 396 - keyword-independence.json: "patternProperties + unevaluatedItems" - "object, patternProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 397 - keyword-independence.json: "patternProperties + unevaluatedItems" - "object, patternProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 398 - keyword-independence.json: "properties + unevaluatedItems" - "array, unevaluatedItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 399 - keyword-independence.json: "properties + unevaluatedItems" - "array, unevaluatedItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 400 - keyword-independence.json: "properties + unevaluatedItems" - "object, properties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 401 - keyword-independence.json: "properties + unevaluatedItems" - "object, properties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 402 - keyword-independence.json: "propertyNames + unevaluatedItems" - "array, unevaluatedItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 403 - keyword-independence.json: "propertyNames + unevaluatedItems" - "array, unevaluatedItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 404 - keyword-independence.json: "propertyNames + unevaluatedItems" - "object, propertyNames invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 405 - keyword-independence.json: "propertyNames + unevaluatedItems" - "object, propertyNames valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 406 - keyword-independence.json: "required + unevaluatedItems" - "array, unevaluatedItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 407 - keyword-independence.json: "required + unevaluatedItems" - "array, unevaluatedItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 408 - keyword-independence.json: "required + unevaluatedItems" - "object, required invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 409 - keyword-independence.json: "required + unevaluatedItems" - "object, required valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 410 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "array, unevaluatedItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 411 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "array, unevaluatedItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 412 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 413 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "object, unevaluatedProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 414 - keyword-independence.json: "additionalProperties + uniqueItems" - "array, uniqueItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 415 - keyword-independence.json: "additionalProperties + uniqueItems" - "array, uniqueItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 416 - keyword-independence.json: "additionalProperties + uniqueItems" - "object, additionalProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 417 - keyword-independence.json: "additionalProperties + uniqueItems" - "object, additionalProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 418 - keyword-independence.json: "dependentRequired + uniqueItems" - "array, uniqueItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 419 - keyword-independence.json: "dependentRequired + uniqueItems" - "array, uniqueItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 420 - keyword-independence.json: "dependentRequired + uniqueItems" - "object, dependentRequired invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 421 - keyword-independence.json: "dependentRequired + uniqueItems" - "object, dependentRequired valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 422 - keyword-independence.json: "dependentSchemas + uniqueItems" - "array, uniqueItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 423 - keyword-independence.json: "dependentSchemas + uniqueItems" - "array, uniqueItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 424 - keyword-independence.json: "dependentSchemas + uniqueItems" - "object, dependentSchemas invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 425 - keyword-independence.json: "dependentSchemas + uniqueItems" - "object, dependentSchemas valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 426 - keyword-independence.json: "maxProperties + uniqueItems" - "array, uniqueItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 427 - keyword-independence.json: "maxProperties + uniqueItems" - "array, uniqueItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 428 - keyword-independence.json: "maxProperties + uniqueItems" - "object, maxProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 429 - keyword-independence.json: "maxProperties + uniqueItems" - "object, maxProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 430 - keyword-independence.json: "minProperties + uniqueItems" - "array, uniqueItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 431 - keyword-independence.json: "minProperties + uniqueItems" - "array, uniqueItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 432 - keyword-independence.json: "minProperties + uniqueItems" - "object, minProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 433 - keyword-independence.json: "minProperties + uniqueItems" - "object, minProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 434 - keyword-independence.json: "patternProperties + uniqueItems" - "array, uniqueItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 435 - keyword-independence.json: "patternProperties + uniqueItems" - "array, uniqueItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 436 - keyword-independence.json: "patternProperties + uniqueItems" - "object, patternProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 437 - keyword-independence.json: "patternProperties + uniqueItems" - "object, patternProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 438 - keyword-independence.json: "properties + uniqueItems" - "array, uniqueItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 439 - keyword-independence.json: "properties + uniqueItems" - "array, uniqueItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 440 - keyword-independence.json: "properties + uniqueItems" - "object, properties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 441 - keyword-independence.json: "properties + uniqueItems" - "object, properties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 442 - keyword-independence.json: "propertyNames + uniqueItems" - "array, uniqueItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 443 - keyword-independence.json: "propertyNames + uniqueItems" - "array, uniqueItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 444 - keyword-independence.json: "propertyNames + uniqueItems" - "object, propertyNames invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 445 - keyword-independence.json: "propertyNames + uniqueItems" - "object, propertyNames valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 446 - keyword-independence.json: "required + uniqueItems" - "array, uniqueItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 447 - keyword-independence.json: "required + uniqueItems" - "array, uniqueItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 448 - keyword-independence.json: "required + uniqueItems" - "object, required invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 449 - keyword-independence.json: "required + uniqueItems" - "object, required valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 450 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "array, uniqueItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 451 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "array, uniqueItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 452 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "object, unevaluatedProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 453 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "object, unevaluatedProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 454 - keyword-independence.json: "contains + maxLength" - "array, contains invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 455 - keyword-independence.json: "contains + maxLength" - "array, contains valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 456 - keyword-independence.json: "contains + maxLength" - "string, maxLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 457 - keyword-independence.json: "contains + maxLength" - "string, maxLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 458 - keyword-independence.json: "contains + minLength" - "array, contains invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 459 - keyword-independence.json: "contains + minLength" - "array, contains valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 460 - keyword-independence.json: "contains + minLength" - "string, minLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 461 - keyword-independence.json: "contains + minLength" - "string, minLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 462 - keyword-independence.json: "contains + pattern" - "array, contains invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is not valid against any item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/contains" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 463 - keyword-independence.json: "contains + pattern" - "array, contains valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 464 - keyword-independence.json: "contains + pattern" - "string, pattern invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 465 - keyword-independence.json: "contains + pattern" - "string, pattern valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 466 - keyword-independence.json: "items + maxLength" - "array, items invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 467 - keyword-independence.json: "items + maxLength" - "array, items valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 468 - keyword-independence.json: "items + maxLength" - "string, maxLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 469 - keyword-independence.json: "items + maxLength" - "string, maxLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 470 - keyword-independence.json: "items + minLength" - "array, items invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 471 - keyword-independence.json: "items + minLength" - "array, items valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 472 - keyword-independence.json: "items + minLength" - "string, minLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 473 - keyword-independence.json: "items + minLength" - "string, minLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 474 - keyword-independence.json: "items + pattern" - "array, items invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/items/0" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 475 - keyword-independence.json: "items + pattern" - "array, items valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 476 - keyword-independence.json: "items + pattern" - "string, pattern invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 477 - keyword-independence.json: "items + pattern" - "string, pattern valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 478 - keyword-independence.json: "maxItems + maxLength" - "array, maxItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 479 - keyword-independence.json: "maxItems + maxLength" - "array, maxItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 480 - keyword-independence.json: "maxItems + maxLength" - "string, maxLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 481 - keyword-independence.json: "maxItems + maxLength" - "string, maxLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 482 - keyword-independence.json: "maxItems + minLength" - "array, maxItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 483 - keyword-independence.json: "maxItems + minLength" - "array, maxItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 484 - keyword-independence.json: "maxItems + minLength" - "string, minLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 485 - keyword-independence.json: "maxItems + minLength" - "string, minLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 486 - keyword-independence.json: "maxItems + pattern" - "array, maxItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has more than 1 item", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 487 - keyword-independence.json: "maxItems + pattern" - "array, maxItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 488 - keyword-independence.json: "maxItems + pattern" - "string, pattern invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 489 - keyword-independence.json: "maxItems + pattern" - "string, pattern valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 490 - keyword-independence.json: "maxLength + minItems" - "array, minItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 491 - keyword-independence.json: "maxLength + minItems" - "array, minItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 492 - keyword-independence.json: "maxLength + minItems" - "string, maxLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 493 - keyword-independence.json: "maxLength + minItems" - "string, maxLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 494 - keyword-independence.json: "minItems + minLength" - "array, minItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 495 - keyword-independence.json: "minItems + minLength" - "array, minItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 496 - keyword-independence.json: "minItems + minLength" - "string, minLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 497 - keyword-independence.json: "minItems + minLength" - "string, minLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 498 - keyword-independence.json: "minItems + pattern" - "array, minItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "array has fewer than 2 items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 499 - keyword-independence.json: "minItems + pattern" - "array, minItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 500 - keyword-independence.json: "minItems + pattern" - "string, pattern invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 501 - keyword-independence.json: "minItems + pattern" - "string, pattern valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 502 - keyword-independence.json: "maxLength + unevaluatedItems" - "array, unevaluatedItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 503 - keyword-independence.json: "maxLength + unevaluatedItems" - "array, unevaluatedItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 504 - keyword-independence.json: "maxLength + unevaluatedItems" - "string, maxLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 505 - keyword-independence.json: "maxLength + unevaluatedItems" - "string, maxLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 506 - keyword-independence.json: "minLength + unevaluatedItems" - "array, unevaluatedItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 507 - keyword-independence.json: "minLength + unevaluatedItems" - "array, unevaluatedItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 508 - keyword-independence.json: "minLength + unevaluatedItems" - "string, minLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 509 - keyword-independence.json: "minLength + unevaluatedItems" - "string, minLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 510 - keyword-independence.json: "pattern + unevaluatedItems" - "array, unevaluatedItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional item not permitted", 138s # "instanceLocation": "/0", 138s # "keywordLocation": "/unevaluatedItems" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 511 - keyword-independence.json: "pattern + unevaluatedItems" - "array, unevaluatedItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 512 - keyword-independence.json: "pattern + unevaluatedItems" - "string, pattern invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 513 - keyword-independence.json: "pattern + unevaluatedItems" - "string, pattern valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 514 - keyword-independence.json: "maxLength + uniqueItems" - "array, uniqueItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 515 - keyword-independence.json: "maxLength + uniqueItems" - "array, uniqueItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 516 - keyword-independence.json: "maxLength + uniqueItems" - "string, maxLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 517 - keyword-independence.json: "maxLength + uniqueItems" - "string, maxLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 518 - keyword-independence.json: "minLength + uniqueItems" - "array, uniqueItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 519 - keyword-independence.json: "minLength + uniqueItems" - "array, uniqueItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 520 - keyword-independence.json: "minLength + uniqueItems" - "string, minLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 521 - keyword-independence.json: "minLength + uniqueItems" - "string, minLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 522 - keyword-independence.json: "pattern + uniqueItems" - "array, uniqueItems invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "items at indices 0 and 1 are not unique", 138s # "instanceLocation": "", 138s # "keywordLocation": "/uniqueItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 523 - keyword-independence.json: "pattern + uniqueItems" - "array, uniqueItems valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 524 - keyword-independence.json: "pattern + uniqueItems" - "string, pattern invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 525 - keyword-independence.json: "pattern + uniqueItems" - "string, pattern valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 526 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 527 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "number, exclusiveMaximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 528 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "object, additionalProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 529 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "object, additionalProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 530 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 531 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "number, exclusiveMaximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 532 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "object, dependentRequired invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 533 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "object, dependentRequired valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 534 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 535 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "number, exclusiveMaximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 536 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "object, dependentSchemas invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 537 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "object, dependentSchemas valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 538 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "number, exclusiveMaximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 539 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "number, exclusiveMaximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 540 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "object, maxProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 541 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "object, maxProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 542 - keyword-independence.json: "exclusiveMaximum + minProperties" - "number, exclusiveMaximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 543 - keyword-independence.json: "exclusiveMaximum + minProperties" - "number, exclusiveMaximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 544 - keyword-independence.json: "exclusiveMaximum + minProperties" - "object, minProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 545 - keyword-independence.json: "exclusiveMaximum + minProperties" - "object, minProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 546 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "number, exclusiveMaximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 547 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "number, exclusiveMaximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 548 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "object, patternProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 549 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "object, patternProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 550 - keyword-independence.json: "exclusiveMaximum + properties" - "number, exclusiveMaximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 551 - keyword-independence.json: "exclusiveMaximum + properties" - "number, exclusiveMaximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 552 - keyword-independence.json: "exclusiveMaximum + properties" - "object, properties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 553 - keyword-independence.json: "exclusiveMaximum + properties" - "object, properties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 554 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "number, exclusiveMaximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 555 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "number, exclusiveMaximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 556 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "object, propertyNames invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 557 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "object, propertyNames valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 558 - keyword-independence.json: "exclusiveMaximum + required" - "number, exclusiveMaximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 559 - keyword-independence.json: "exclusiveMaximum + required" - "number, exclusiveMaximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 560 - keyword-independence.json: "exclusiveMaximum + required" - "object, required invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 561 - keyword-independence.json: "exclusiveMaximum + required" - "object, required valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 562 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "number, exclusiveMaximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 563 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "number, exclusiveMaximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 564 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 565 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 566 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 567 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "number, exclusiveMinimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 568 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "object, additionalProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 569 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "object, additionalProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 570 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 571 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "number, exclusiveMinimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 572 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "object, dependentRequired invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 573 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "object, dependentRequired valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 574 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 575 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "number, exclusiveMinimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 576 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "object, dependentSchemas invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 577 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "object, dependentSchemas valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 578 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "number, exclusiveMinimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 579 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "number, exclusiveMinimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 580 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "object, maxProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 581 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "object, maxProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 582 - keyword-independence.json: "exclusiveMinimum + minProperties" - "number, exclusiveMinimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 583 - keyword-independence.json: "exclusiveMinimum + minProperties" - "number, exclusiveMinimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 584 - keyword-independence.json: "exclusiveMinimum + minProperties" - "object, minProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 585 - keyword-independence.json: "exclusiveMinimum + minProperties" - "object, minProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 586 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "number, exclusiveMinimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 587 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "number, exclusiveMinimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 588 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "object, patternProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 589 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "object, patternProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 590 - keyword-independence.json: "exclusiveMinimum + properties" - "number, exclusiveMinimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 591 - keyword-independence.json: "exclusiveMinimum + properties" - "number, exclusiveMinimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 592 - keyword-independence.json: "exclusiveMinimum + properties" - "object, properties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 593 - keyword-independence.json: "exclusiveMinimum + properties" - "object, properties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 594 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "number, exclusiveMinimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 595 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "number, exclusiveMinimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 596 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "object, propertyNames invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 597 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "object, propertyNames valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 598 - keyword-independence.json: "exclusiveMinimum + required" - "number, exclusiveMinimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 599 - keyword-independence.json: "exclusiveMinimum + required" - "number, exclusiveMinimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 600 - keyword-independence.json: "exclusiveMinimum + required" - "object, required invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 601 - keyword-independence.json: "exclusiveMinimum + required" - "object, required valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 602 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "number, exclusiveMinimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 603 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "number, exclusiveMinimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 604 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 605 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 606 - keyword-independence.json: "additionalProperties + maximum" - "number, maximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 607 - keyword-independence.json: "additionalProperties + maximum" - "number, maximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 608 - keyword-independence.json: "additionalProperties + maximum" - "object, additionalProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 609 - keyword-independence.json: "additionalProperties + maximum" - "object, additionalProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 610 - keyword-independence.json: "dependentRequired + maximum" - "number, maximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 611 - keyword-independence.json: "dependentRequired + maximum" - "number, maximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 612 - keyword-independence.json: "dependentRequired + maximum" - "object, dependentRequired invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 613 - keyword-independence.json: "dependentRequired + maximum" - "object, dependentRequired valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 614 - keyword-independence.json: "dependentSchemas + maximum" - "number, maximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 615 - keyword-independence.json: "dependentSchemas + maximum" - "number, maximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 616 - keyword-independence.json: "dependentSchemas + maximum" - "object, dependentSchemas invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 617 - keyword-independence.json: "dependentSchemas + maximum" - "object, dependentSchemas valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 618 - keyword-independence.json: "maxProperties + maximum" - "number, maximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 619 - keyword-independence.json: "maxProperties + maximum" - "number, maximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 620 - keyword-independence.json: "maxProperties + maximum" - "object, maxProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 621 - keyword-independence.json: "maxProperties + maximum" - "object, maxProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 622 - keyword-independence.json: "maximum + minProperties" - "number, maximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 623 - keyword-independence.json: "maximum + minProperties" - "number, maximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 624 - keyword-independence.json: "maximum + minProperties" - "object, minProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 625 - keyword-independence.json: "maximum + minProperties" - "object, minProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 626 - keyword-independence.json: "maximum + patternProperties" - "number, maximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 627 - keyword-independence.json: "maximum + patternProperties" - "number, maximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 628 - keyword-independence.json: "maximum + patternProperties" - "object, patternProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 629 - keyword-independence.json: "maximum + patternProperties" - "object, patternProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 630 - keyword-independence.json: "maximum + properties" - "number, maximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 631 - keyword-independence.json: "maximum + properties" - "number, maximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 632 - keyword-independence.json: "maximum + properties" - "object, properties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 633 - keyword-independence.json: "maximum + properties" - "object, properties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 634 - keyword-independence.json: "maximum + propertyNames" - "number, maximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 635 - keyword-independence.json: "maximum + propertyNames" - "number, maximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 636 - keyword-independence.json: "maximum + propertyNames" - "object, propertyNames invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 637 - keyword-independence.json: "maximum + propertyNames" - "object, propertyNames valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 638 - keyword-independence.json: "maximum + required" - "number, maximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 639 - keyword-independence.json: "maximum + required" - "number, maximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 640 - keyword-independence.json: "maximum + required" - "object, required invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 641 - keyword-independence.json: "maximum + required" - "object, required valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 642 - keyword-independence.json: "maximum + unevaluatedProperties" - "number, maximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 643 - keyword-independence.json: "maximum + unevaluatedProperties" - "number, maximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 644 - keyword-independence.json: "maximum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 645 - keyword-independence.json: "maximum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 646 - keyword-independence.json: "additionalProperties + minimum" - "number, minimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 647 - keyword-independence.json: "additionalProperties + minimum" - "number, minimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 648 - keyword-independence.json: "additionalProperties + minimum" - "object, additionalProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 649 - keyword-independence.json: "additionalProperties + minimum" - "object, additionalProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 650 - keyword-independence.json: "dependentRequired + minimum" - "number, minimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 651 - keyword-independence.json: "dependentRequired + minimum" - "number, minimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 652 - keyword-independence.json: "dependentRequired + minimum" - "object, dependentRequired invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 653 - keyword-independence.json: "dependentRequired + minimum" - "object, dependentRequired valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 654 - keyword-independence.json: "dependentSchemas + minimum" - "number, minimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 655 - keyword-independence.json: "dependentSchemas + minimum" - "number, minimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 656 - keyword-independence.json: "dependentSchemas + minimum" - "object, dependentSchemas invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 657 - keyword-independence.json: "dependentSchemas + minimum" - "object, dependentSchemas valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 658 - keyword-independence.json: "maxProperties + minimum" - "number, minimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 659 - keyword-independence.json: "maxProperties + minimum" - "number, minimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 660 - keyword-independence.json: "maxProperties + minimum" - "object, maxProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 661 - keyword-independence.json: "maxProperties + minimum" - "object, maxProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 662 - keyword-independence.json: "minProperties + minimum" - "number, minimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 663 - keyword-independence.json: "minProperties + minimum" - "number, minimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 664 - keyword-independence.json: "minProperties + minimum" - "object, minProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 665 - keyword-independence.json: "minProperties + minimum" - "object, minProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 666 - keyword-independence.json: "minimum + patternProperties" - "number, minimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 667 - keyword-independence.json: "minimum + patternProperties" - "number, minimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 668 - keyword-independence.json: "minimum + patternProperties" - "object, patternProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 669 - keyword-independence.json: "minimum + patternProperties" - "object, patternProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 670 - keyword-independence.json: "minimum + properties" - "number, minimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 671 - keyword-independence.json: "minimum + properties" - "number, minimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 672 - keyword-independence.json: "minimum + properties" - "object, properties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 673 - keyword-independence.json: "minimum + properties" - "object, properties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 674 - keyword-independence.json: "minimum + propertyNames" - "number, minimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 675 - keyword-independence.json: "minimum + propertyNames" - "number, minimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 676 - keyword-independence.json: "minimum + propertyNames" - "object, propertyNames invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 677 - keyword-independence.json: "minimum + propertyNames" - "object, propertyNames valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 678 - keyword-independence.json: "minimum + required" - "number, minimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 679 - keyword-independence.json: "minimum + required" - "number, minimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 680 - keyword-independence.json: "minimum + required" - "object, required invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 681 - keyword-independence.json: "minimum + required" - "object, required valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 682 - keyword-independence.json: "minimum + unevaluatedProperties" - "number, minimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 683 - keyword-independence.json: "minimum + unevaluatedProperties" - "number, minimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 684 - keyword-independence.json: "minimum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 685 - keyword-independence.json: "minimum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 686 - keyword-independence.json: "additionalProperties + multipleOf" - "number, multipleOf invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 687 - keyword-independence.json: "additionalProperties + multipleOf" - "number, multipleOf valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 688 - keyword-independence.json: "additionalProperties + multipleOf" - "object, additionalProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 689 - keyword-independence.json: "additionalProperties + multipleOf" - "object, additionalProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 690 - keyword-independence.json: "dependentRequired + multipleOf" - "number, multipleOf invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 691 - keyword-independence.json: "dependentRequired + multipleOf" - "number, multipleOf valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 692 - keyword-independence.json: "dependentRequired + multipleOf" - "object, dependentRequired invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 693 - keyword-independence.json: "dependentRequired + multipleOf" - "object, dependentRequired valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 694 - keyword-independence.json: "dependentSchemas + multipleOf" - "number, multipleOf invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 695 - keyword-independence.json: "dependentSchemas + multipleOf" - "number, multipleOf valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 696 - keyword-independence.json: "dependentSchemas + multipleOf" - "object, dependentSchemas invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 697 - keyword-independence.json: "dependentSchemas + multipleOf" - "object, dependentSchemas valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 698 - keyword-independence.json: "maxProperties + multipleOf" - "number, multipleOf invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 699 - keyword-independence.json: "maxProperties + multipleOf" - "number, multipleOf valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 700 - keyword-independence.json: "maxProperties + multipleOf" - "object, maxProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 701 - keyword-independence.json: "maxProperties + multipleOf" - "object, maxProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 702 - keyword-independence.json: "minProperties + multipleOf" - "number, multipleOf invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 703 - keyword-independence.json: "minProperties + multipleOf" - "number, multipleOf valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 704 - keyword-independence.json: "minProperties + multipleOf" - "object, minProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 705 - keyword-independence.json: "minProperties + multipleOf" - "object, minProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 706 - keyword-independence.json: "multipleOf + patternProperties" - "number, multipleOf invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 707 - keyword-independence.json: "multipleOf + patternProperties" - "number, multipleOf valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 708 - keyword-independence.json: "multipleOf + patternProperties" - "object, patternProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 709 - keyword-independence.json: "multipleOf + patternProperties" - "object, patternProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 710 - keyword-independence.json: "multipleOf + properties" - "number, multipleOf invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 711 - keyword-independence.json: "multipleOf + properties" - "number, multipleOf valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 712 - keyword-independence.json: "multipleOf + properties" - "object, properties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 713 - keyword-independence.json: "multipleOf + properties" - "object, properties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 714 - keyword-independence.json: "multipleOf + propertyNames" - "number, multipleOf invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 715 - keyword-independence.json: "multipleOf + propertyNames" - "number, multipleOf valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 716 - keyword-independence.json: "multipleOf + propertyNames" - "object, propertyNames invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 717 - keyword-independence.json: "multipleOf + propertyNames" - "object, propertyNames valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 718 - keyword-independence.json: "multipleOf + required" - "number, multipleOf invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 719 - keyword-independence.json: "multipleOf + required" - "number, multipleOf valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 720 - keyword-independence.json: "multipleOf + required" - "object, required invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 721 - keyword-independence.json: "multipleOf + required" - "object, required valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 722 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "number, multipleOf invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 723 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "number, multipleOf valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 724 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 725 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "object, unevaluatedProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 726 - keyword-independence.json: "exclusiveMaximum + maxLength" - "number, exclusiveMaximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 727 - keyword-independence.json: "exclusiveMaximum + maxLength" - "number, exclusiveMaximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 728 - keyword-independence.json: "exclusiveMaximum + maxLength" - "string, maxLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 729 - keyword-independence.json: "exclusiveMaximum + maxLength" - "string, maxLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 730 - keyword-independence.json: "exclusiveMaximum + minLength" - "number, exclusiveMaximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 731 - keyword-independence.json: "exclusiveMaximum + minLength" - "number, exclusiveMaximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 732 - keyword-independence.json: "exclusiveMaximum + minLength" - "string, minLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 733 - keyword-independence.json: "exclusiveMaximum + minLength" - "string, minLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 734 - keyword-independence.json: "exclusiveMaximum + pattern" - "number, exclusiveMaximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMaximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 735 - keyword-independence.json: "exclusiveMaximum + pattern" - "number, exclusiveMaximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 736 - keyword-independence.json: "exclusiveMaximum + pattern" - "string, pattern invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 737 - keyword-independence.json: "exclusiveMaximum + pattern" - "string, pattern valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 738 - keyword-independence.json: "exclusiveMinimum + maxLength" - "number, exclusiveMinimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 739 - keyword-independence.json: "exclusiveMinimum + maxLength" - "number, exclusiveMinimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 740 - keyword-independence.json: "exclusiveMinimum + maxLength" - "string, maxLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 741 - keyword-independence.json: "exclusiveMinimum + maxLength" - "string, maxLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 742 - keyword-independence.json: "exclusiveMinimum + minLength" - "number, exclusiveMinimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 743 - keyword-independence.json: "exclusiveMinimum + minLength" - "number, exclusiveMinimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 744 - keyword-independence.json: "exclusiveMinimum + minLength" - "string, minLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 745 - keyword-independence.json: "exclusiveMinimum + minLength" - "string, minLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 746 - keyword-independence.json: "exclusiveMinimum + pattern" - "number, exclusiveMinimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than or equal to 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/exclusiveMinimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 747 - keyword-independence.json: "exclusiveMinimum + pattern" - "number, exclusiveMinimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 748 - keyword-independence.json: "exclusiveMinimum + pattern" - "string, pattern invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 749 - keyword-independence.json: "exclusiveMinimum + pattern" - "string, pattern valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 750 - keyword-independence.json: "maxLength + maximum" - "number, maximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 751 - keyword-independence.json: "maxLength + maximum" - "number, maximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 752 - keyword-independence.json: "maxLength + maximum" - "string, maxLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 753 - keyword-independence.json: "maxLength + maximum" - "string, maxLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 754 - keyword-independence.json: "maximum + minLength" - "number, maximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 755 - keyword-independence.json: "maximum + minLength" - "number, maximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 756 - keyword-independence.json: "maximum + minLength" - "string, minLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 757 - keyword-independence.json: "maximum + minLength" - "string, minLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 758 - keyword-independence.json: "maximum + pattern" - "number, maximum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 759 - keyword-independence.json: "maximum + pattern" - "number, maximum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 760 - keyword-independence.json: "maximum + pattern" - "string, pattern invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 761 - keyword-independence.json: "maximum + pattern" - "string, pattern valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 762 - keyword-independence.json: "maxLength + minimum" - "number, minimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 763 - keyword-independence.json: "maxLength + minimum" - "number, minimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 764 - keyword-independence.json: "maxLength + minimum" - "string, maxLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 765 - keyword-independence.json: "maxLength + minimum" - "string, maxLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 766 - keyword-independence.json: "minLength + minimum" - "number, minimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 767 - keyword-independence.json: "minLength + minimum" - "number, minimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 768 - keyword-independence.json: "minLength + minimum" - "string, minLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 769 - keyword-independence.json: "minLength + minimum" - "string, minLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 770 - keyword-independence.json: "minimum + pattern" - "number, minimum invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minimum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 771 - keyword-independence.json: "minimum + pattern" - "number, minimum valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 772 - keyword-independence.json: "minimum + pattern" - "string, pattern invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 773 - keyword-independence.json: "minimum + pattern" - "string, pattern valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 774 - keyword-independence.json: "maxLength + multipleOf" - "number, multipleOf invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 775 - keyword-independence.json: "maxLength + multipleOf" - "number, multipleOf valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 776 - keyword-independence.json: "maxLength + multipleOf" - "string, maxLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 777 - keyword-independence.json: "maxLength + multipleOf" - "string, maxLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 778 - keyword-independence.json: "minLength + multipleOf" - "number, multipleOf invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 779 - keyword-independence.json: "minLength + multipleOf" - "number, multipleOf valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 780 - keyword-independence.json: "minLength + multipleOf" - "string, minLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 781 - keyword-independence.json: "minLength + multipleOf" - "string, minLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 782 - keyword-independence.json: "multipleOf + pattern" - "number, multipleOf invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/multipleOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 783 - keyword-independence.json: "multipleOf + pattern" - "number, multipleOf valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 784 - keyword-independence.json: "multipleOf + pattern" - "string, pattern invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 785 - keyword-independence.json: "multipleOf + pattern" - "string, pattern valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 786 - keyword-independence.json: "additionalProperties + maxLength" - "object, additionalProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 787 - keyword-independence.json: "additionalProperties + maxLength" - "object, additionalProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 788 - keyword-independence.json: "additionalProperties + maxLength" - "string, maxLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 789 - keyword-independence.json: "additionalProperties + maxLength" - "string, maxLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 790 - keyword-independence.json: "additionalProperties + minLength" - "object, additionalProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 791 - keyword-independence.json: "additionalProperties + minLength" - "object, additionalProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 792 - keyword-independence.json: "additionalProperties + minLength" - "string, minLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 793 - keyword-independence.json: "additionalProperties + minLength" - "string, minLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 794 - keyword-independence.json: "additionalProperties + pattern" - "object, additionalProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/additionalProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 795 - keyword-independence.json: "additionalProperties + pattern" - "object, additionalProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 796 - keyword-independence.json: "additionalProperties + pattern" - "string, pattern invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 797 - keyword-independence.json: "additionalProperties + pattern" - "string, pattern valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 798 - keyword-independence.json: "dependentRequired + maxLength" - "object, dependentRequired invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 799 - keyword-independence.json: "dependentRequired + maxLength" - "object, dependentRequired valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 800 - keyword-independence.json: "dependentRequired + maxLength" - "string, maxLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 801 - keyword-independence.json: "dependentRequired + maxLength" - "string, maxLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 802 - keyword-independence.json: "dependentRequired + minLength" - "object, dependentRequired invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 803 - keyword-independence.json: "dependentRequired + minLength" - "object, dependentRequired valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 804 - keyword-independence.json: "dependentRequired + minLength" - "string, minLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 805 - keyword-independence.json: "dependentRequired + minLength" - "string, minLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 806 - keyword-independence.json: "dependentRequired + pattern" - "object, dependentRequired invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: y", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentRequired" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 807 - keyword-independence.json: "dependentRequired + pattern" - "object, dependentRequired valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 808 - keyword-independence.json: "dependentRequired + pattern" - "string, pattern invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 809 - keyword-independence.json: "dependentRequired + pattern" - "string, pattern valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 810 - keyword-independence.json: "dependentSchemas + maxLength" - "object, dependentSchemas invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 811 - keyword-independence.json: "dependentSchemas + maxLength" - "object, dependentSchemas valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 812 - keyword-independence.json: "dependentSchemas + maxLength" - "string, maxLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 813 - keyword-independence.json: "dependentSchemas + maxLength" - "string, maxLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 814 - keyword-independence.json: "dependentSchemas + minLength" - "object, dependentSchemas invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 815 - keyword-independence.json: "dependentSchemas + minLength" - "object, dependentSchemas valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 816 - keyword-independence.json: "dependentSchemas + minLength" - "string, minLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 817 - keyword-independence.json: "dependentSchemas + minLength" - "string, minLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 818 - keyword-independence.json: "dependentSchemas + pattern" - "object, dependentSchemas invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas/x" 138s # }, 138s # { 138s # "error": "not all dependencies are satisfied", 138s # "instanceLocation": "", 138s # "keywordLocation": "/dependentSchemas" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 819 - keyword-independence.json: "dependentSchemas + pattern" - "object, dependentSchemas valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 820 - keyword-independence.json: "dependentSchemas + pattern" - "string, pattern invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 821 - keyword-independence.json: "dependentSchemas + pattern" - "string, pattern valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 822 - keyword-independence.json: "maxLength + maxProperties" - "object, maxProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 823 - keyword-independence.json: "maxLength + maxProperties" - "object, maxProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 824 - keyword-independence.json: "maxLength + maxProperties" - "string, maxLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 825 - keyword-independence.json: "maxLength + maxProperties" - "string, maxLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 826 - keyword-independence.json: "maxProperties + minLength" - "object, maxProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 827 - keyword-independence.json: "maxProperties + minLength" - "object, maxProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 828 - keyword-independence.json: "maxProperties + minLength" - "string, minLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 829 - keyword-independence.json: "maxProperties + minLength" - "string, minLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 830 - keyword-independence.json: "maxProperties + pattern" - "object, maxProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has more than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 831 - keyword-independence.json: "maxProperties + pattern" - "object, maxProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 832 - keyword-independence.json: "maxProperties + pattern" - "string, pattern invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 833 - keyword-independence.json: "maxProperties + pattern" - "string, pattern valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 834 - keyword-independence.json: "maxLength + minProperties" - "object, minProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 835 - keyword-independence.json: "maxLength + minProperties" - "object, minProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 836 - keyword-independence.json: "maxLength + minProperties" - "string, maxLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 837 - keyword-independence.json: "maxLength + minProperties" - "string, maxLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 838 - keyword-independence.json: "minLength + minProperties" - "object, minProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 839 - keyword-independence.json: "minLength + minProperties" - "object, minProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 840 - keyword-independence.json: "minLength + minProperties" - "string, minLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 841 - keyword-independence.json: "minLength + minProperties" - "string, minLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 842 - keyword-independence.json: "minProperties + pattern" - "object, minProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object has fewer than 1 property", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 843 - keyword-independence.json: "minProperties + pattern" - "object, minProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 844 - keyword-independence.json: "minProperties + pattern" - "string, pattern invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 845 - keyword-independence.json: "minProperties + pattern" - "string, pattern valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 846 - keyword-independence.json: "maxLength + patternProperties" - "object, patternProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 847 - keyword-independence.json: "maxLength + patternProperties" - "object, patternProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 848 - keyword-independence.json: "maxLength + patternProperties" - "string, maxLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 849 - keyword-independence.json: "maxLength + patternProperties" - "string, maxLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 850 - keyword-independence.json: "minLength + patternProperties" - "object, patternProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 851 - keyword-independence.json: "minLength + patternProperties" - "object, patternProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 852 - keyword-independence.json: "minLength + patternProperties" - "string, minLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 853 - keyword-independence.json: "minLength + patternProperties" - "string, minLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 854 - keyword-independence.json: "pattern + patternProperties" - "object, patternProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/no", 138s # "keywordLocation": "/patternProperties/no" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 855 - keyword-independence.json: "pattern + patternProperties" - "object, patternProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 856 - keyword-independence.json: "pattern + patternProperties" - "string, pattern invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 857 - keyword-independence.json: "pattern + patternProperties" - "string, pattern valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 858 - keyword-independence.json: "maxLength + properties" - "object, properties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 859 - keyword-independence.json: "maxLength + properties" - "object, properties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 860 - keyword-independence.json: "maxLength + properties" - "string, maxLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 861 - keyword-independence.json: "maxLength + properties" - "string, maxLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 862 - keyword-independence.json: "minLength + properties" - "object, properties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 863 - keyword-independence.json: "minLength + properties" - "object, properties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 864 - keyword-independence.json: "minLength + properties" - "string, minLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 865 - keyword-independence.json: "minLength + properties" - "string, minLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 866 - keyword-independence.json: "pattern + properties" - "object, properties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/properties/x" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 867 - keyword-independence.json: "pattern + properties" - "object, properties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 868 - keyword-independence.json: "pattern + properties" - "string, pattern invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 869 - keyword-independence.json: "pattern + properties" - "string, pattern valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 870 - keyword-independence.json: "maxLength + propertyNames" - "object, propertyNames invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 871 - keyword-independence.json: "maxLength + propertyNames" - "object, propertyNames valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 872 - keyword-independence.json: "maxLength + propertyNames" - "string, maxLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 873 - keyword-independence.json: "maxLength + propertyNames" - "string, maxLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 874 - keyword-independence.json: "minLength + propertyNames" - "object, propertyNames invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 875 - keyword-independence.json: "minLength + propertyNames" - "object, propertyNames valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 876 - keyword-independence.json: "minLength + propertyNames" - "string, minLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 877 - keyword-independence.json: "minLength + propertyNames" - "string, minLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 878 - keyword-independence.json: "pattern + propertyNames" - "object, propertyNames invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "subschema is false", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/propertyNames" 138s # }, 138s # { 138s # "error": "not all property names are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/propertyNames" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 879 - keyword-independence.json: "pattern + propertyNames" - "object, propertyNames valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 880 - keyword-independence.json: "pattern + propertyNames" - "string, pattern invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 881 - keyword-independence.json: "pattern + propertyNames" - "string, pattern valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 882 - keyword-independence.json: "maxLength + required" - "object, required invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 883 - keyword-independence.json: "maxLength + required" - "object, required valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 884 - keyword-independence.json: "maxLength + required" - "string, maxLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 885 - keyword-independence.json: "maxLength + required" - "string, maxLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 886 - keyword-independence.json: "minLength + required" - "object, required invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 887 - keyword-independence.json: "minLength + required" - "object, required valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 888 - keyword-independence.json: "minLength + required" - "string, minLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 889 - keyword-independence.json: "minLength + required" - "string, minLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 890 - keyword-independence.json: "pattern + required" - "object, required invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "object is missing property: x", 138s # "instanceLocation": "", 138s # "keywordLocation": "/required" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 891 - keyword-independence.json: "pattern + required" - "object, required valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 892 - keyword-independence.json: "pattern + required" - "string, pattern invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 893 - keyword-independence.json: "pattern + required" - "string, pattern valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 894 - keyword-independence.json: "maxLength + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 895 - keyword-independence.json: "maxLength + unevaluatedProperties" - "object, unevaluatedProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 896 - keyword-independence.json: "maxLength + unevaluatedProperties" - "string, maxLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is greater than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/maxLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 897 - keyword-independence.json: "maxLength + unevaluatedProperties" - "string, maxLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 898 - keyword-independence.json: "minLength + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 899 - keyword-independence.json: "minLength + unevaluatedProperties" - "object, unevaluatedProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 900 - keyword-independence.json: "minLength + unevaluatedProperties" - "string, minLength invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "length is less than 2", 138s # "instanceLocation": "", 138s # "keywordLocation": "/minLength" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 901 - keyword-independence.json: "minLength + unevaluatedProperties" - "string, minLength valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 902 - keyword-independence.json: "pattern + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "additional property not permitted", 138s # "instanceLocation": "/x", 138s # "keywordLocation": "/unevaluatedProperties" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 903 - keyword-independence.json: "pattern + unevaluatedProperties" - "object, unevaluatedProperties valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 904 - keyword-independence.json: "pattern + unevaluatedProperties" - "string, pattern invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "pattern does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/pattern" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 905 - keyword-independence.json: "pattern + unevaluatedProperties" - "string, pattern valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s # 138s ok 906 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const numeric value does not match string" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value does not match", 138s # "instanceLocation": "/const_string", 138s # "keywordLocation": "/properties/const_string/const" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value does not match", 138s # "instanceLocation": "/const_string", 138s # "keywordLocation": "/properties/const_string/const" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 907 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const numeric value does match number" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 908 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const string value matches string" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 909 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const string value does not match number" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value does not match", 138s # "instanceLocation": "/const_number", 138s # "keywordLocation": "/properties/const_number/const" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value does not match", 138s # "instanceLocation": "/const_number", 138s # "keywordLocation": "/properties/const_number/const" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 910 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum numeric value does not match string" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value does not match", 138s # "instanceLocation": "/enum_string", 138s # "keywordLocation": "/properties/enum_string/enum" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value does not match", 138s # "instanceLocation": "/enum_string", 138s # "keywordLocation": "/properties/enum_string/enum" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 911 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum numeric value does match number" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 912 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum string value matches string" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 913 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum string value does not match number" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value does not match", 138s # "instanceLocation": "/enum_number", 138s # "keywordLocation": "/properties/enum_number/enum" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value does not match", 138s # "instanceLocation": "/enum_number", 138s # "keywordLocation": "/properties/enum_number/enum" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s # 138s ok 914 - recursive-dynamic.json: "dynamic $recursiveRef destination (not predictable at schema compile time)" - "numeric node" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 915 - recursive-dynamic.json: "dynamic $recursiveRef destination (not predictable at schema compile time)" - "integer node" { 138s # result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "integerNode.json#/type", 138s # "error": "got number, not one of object, integer", 138s # "instanceLocation": "/november", 138s # "keywordLocation": "/else/$ref/additionalProperties/$recursiveRef/type" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "inner.json#/additionalProperties", 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/else/$ref/additionalProperties" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "main.json#/else", 138s # "error": "subschema is not valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/else" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "integerNode.json#/type", 138s # "error": "got number, not one of object, integer", 138s # "instanceLocation": "/november", 138s # "keywordLocation": "/else/$ref/additionalProperties/$recursiveRef/type" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "inner.json#/additionalProperties", 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/else/$ref/additionalProperties" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "main.json#/else", 138s # "error": "subschema is not valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/else" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 916 - recursive-dynamic.json: "$recursiveRef points to a boolean schema" - "follow $recursiveRef to a true schema" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 917 - recursive-dynamic.json: "$recursiveRef points to a boolean schema" - "follow $recursiveRef to a false schema" { 138s # result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "#/$defs/false", 138s # "error": "subschema is false", 138s # "instanceLocation": "/false", 138s # "keywordLocation": "/properties/false/$recursiveRef" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "#/$defs/false", 138s # "error": "subschema is false", 138s # "instanceLocation": "/false", 138s # "keywordLocation": "/properties/false/$recursiveRef" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s # 138s ok 918 - ref-and-id.json: "$id must be evaluated before $ref to get the proper $ref destination (with $anchors)" - "data is valid against first definition" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 919 - ref-and-id.json: "$id must be evaluated before $ref to get the proper $ref destination (with $anchors)" - "data is invalid against first definition" { 138s # result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "/ref-and-id1/base.json#/$defs/bigint/maximum", 138s # "error": "value is greater than 10", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$ref/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "/ref-and-id1/base.json#/$defs/bigint/maximum", 138s # "error": "value is greater than 10", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$ref/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 920 - ref-and-id.json: "$id must be evaluated before $ref to get the proper $ref destination (with uris)" - "data is valid against first definition" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 921 - ref-and-id.json: "$id must be evaluated before $ref to get the proper $ref destination (with uris)" - "data is invalid against first definition" { 138s # result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "/ref-and-id2/int.json#/maximum", 138s # "error": "value is greater than 10", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$ref/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "/ref-and-id2/int.json#/maximum", 138s # "error": "value is greater than 10", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$ref/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 922 - ref-and-id.json: "$id must be evaluated before $ref to get the proper $ref destination (with json pointers)" - "data is valid against innermost type check" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 923 - ref-and-id.json: "$id must be evaluated before $ref to get the proper $ref destination (with json pointers)" - "data is invalid against innermost type check" { 138s # result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf/0/type", 138s # "error": "got string, not number", 138s # "instanceLocation": "", 138s # "keywordLocation": "/allOf/0/$ref/type" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf/0/type", 138s # "error": "got string, not number", 138s # "instanceLocation": "", 138s # "keywordLocation": "/allOf/0/oneOf/0/type" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf", 138s # "error": "no subschemas are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/allOf/0/oneOf" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "https://localhost:1234/base/#/allOf", 138s # "error": "subschema 0 is not valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/allOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf/0/type", 138s # "error": "got string, not number", 138s # "instanceLocation": "", 138s # "keywordLocation": "/allOf/0/$ref/type" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "https://localhost:1234/base/#/allOf", 138s # "error": "subschema 0 is not valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/allOf" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s # 138s ok 924 - ref.json: "order of evaluation: $id and $ref" - "data is valid against first definition" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 925 - ref.json: "order of evaluation: $id and $ref" - "data is invalid against first definition" { 138s # result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "/ref1/int.json#/maximum", 138s # "error": "value is greater than 10", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$ref/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "/ref1/int.json#/maximum", 138s # "error": "value is greater than 10", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$ref/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 926 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is valid against first definition" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 927 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is invalid against first definition" { 138s # result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "/ref2/base.json#/$defs/bigint/maximum", 138s # "error": "value is greater than 10", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$ref/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "/ref2/base.json#/$defs/bigint/maximum", 138s # "error": "value is greater than 10", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$ref/maximum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 928 - ref.json: "naive replacement of $ref with its destination is not correct" - "do not evaluate the $ref inside the enum" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/enum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value does not match", 138s # "instanceLocation": "", 138s # "keywordLocation": "/enum" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 929 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 930 - ref.json: "invalid $ref: invalid anchor fragment" - "an invalid anchor fragment" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "$ref value is not a valid URI reference", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$defs/foo/$ref" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "$ref value is not a valid URI reference", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$defs/foo/$ref" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 931 - ref.json: "invalid $ref: invalid json-pointer fragment" - "an invalid json-pointer fragment" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "$ref value is not a valid URI reference", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$defs/foo/$ref" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "$ref value is not a valid URI reference", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$defs/foo/$ref" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 932 - ref.json: "base URI change - change folder in subschema with path from root" - "number is valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 933 - ref.json: "base URI change - change folder in subschema with path from root" - "string is invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/folderInteger.json#/type", 138s # "error": "got string, not integer", 138s # "instanceLocation": "/list/0", 138s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/$defs/bar/items", 138s # "error": "subschema is not valid against all items", 138s # "instanceLocation": "/list", 138s # "keywordLocation": "/properties/list/$ref/items" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs.json#/properties", 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/folderInteger.json#/type", 138s # "error": "got string, not integer", 138s # "instanceLocation": "/list/0", 138s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/$defs/bar/items", 138s # "error": "subschema is not valid against all items", 138s # "instanceLocation": "/list", 138s # "keywordLocation": "/properties/list/$ref/items" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs.json#/properties", 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s # 138s ok 934 - short-circuit.json: "items (schema form) does not improperly short-circuit" - "single item is valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 935 - short-circuit.json: "items (schema form) does not improperly short-circuit" - "second item is invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "/1", 138s # "keywordLocation": "/items/multipleOf" 138s # }, 138s # { 138s # "error": "subschema is not valid against all items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "/1", 138s # "keywordLocation": "/items/multipleOf" 138s # }, 138s # { 138s # "error": "subschema is not valid against all items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 936 - short-circuit.json: "items (array form) does not improperly short-circuit" - "single item is valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 937 - short-circuit.json: "items (array form) does not improperly short-circuit" - "second item is invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "/1", 138s # "keywordLocation": "/items/1/multipleOf" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "/1", 138s # "keywordLocation": "/items/1/multipleOf" 138s # }, 138s # { 138s # "error": "not all items are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/items" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 938 - short-circuit.json: "additionalItems does not improperly short-circuit" - "single additional item is valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 939 - short-circuit.json: "additionalItems does not improperly short-circuit" - "second additional item is invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "/2", 138s # "keywordLocation": "/additionalItems/multipleOf" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "/2", 138s # "keywordLocation": "/additionalItems/multipleOf" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 940 - short-circuit.json: "unevaluatedItems does not improperly short-circuit" - "single item is valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 941 - short-circuit.json: "unevaluatedItems does not improperly short-circuit" - "second item is invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "/1", 138s # "keywordLocation": "/unevaluatedItems/multipleOf" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "/1", 138s # "keywordLocation": "/unevaluatedItems/multipleOf" 138s # }, 138s # { 138s # "error": "subschema is not valid against all additional items", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedItems" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 942 - short-circuit.json: "properties does not improperly short-circuit" - "single property is valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 943 - short-circuit.json: "properties does not improperly short-circuit" - "second property is invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "/beta", 138s # "keywordLocation": "/properties/beta/multipleOf" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "/beta", 138s # "keywordLocation": "/properties/beta/multipleOf" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 944 - short-circuit.json: "properties does not improperly short-circuit (boolean schemas)" - "single property is valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 945 - short-circuit.json: "properties does not improperly short-circuit (boolean schemas)" - "second property is invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/beta", 138s # "keywordLocation": "/properties/beta" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/beta", 138s # "keywordLocation": "/properties/beta" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/properties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 946 - short-circuit.json: "patternProperties does not improperly short-circuit" - "single property is valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 947 - short-circuit.json: "patternProperties does not improperly short-circuit" - "second property is invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "/beta", 138s # "keywordLocation": "/patternProperties/^b/multipleOf" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "/beta", 138s # "keywordLocation": "/patternProperties/^b/multipleOf" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 948 - short-circuit.json: "patternProperties does not improperly short-circuit (boolean schemas)" - "single property is valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 949 - short-circuit.json: "patternProperties does not improperly short-circuit (boolean schemas)" - "second property is invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/beta", 138s # "keywordLocation": "/patternProperties/^b" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "property not permitted", 138s # "instanceLocation": "/beta", 138s # "keywordLocation": "/patternProperties/^b" 138s # }, 138s # { 138s # "error": "not all properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/patternProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 950 - short-circuit.json: "additionalProperties does not improperly short-circuit" - "single property is valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 951 - short-circuit.json: "additionalProperties does not improperly short-circuit" - "second property is invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "/beta", 138s # "keywordLocation": "/additionalProperties/multipleOf" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "/beta", 138s # "keywordLocation": "/additionalProperties/multipleOf" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/additionalProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 952 - short-circuit.json: "unevaluatedProperties does not improperly short-circuit" - "single property is valid" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 953 - short-circuit.json: "unevaluatedProperties does not improperly short-circuit" - "second property is invalid" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "/beta", 138s # "keywordLocation": "/unevaluatedProperties/multipleOf" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "value is not a multiple of 2", 138s # "instanceLocation": "/beta", 138s # "keywordLocation": "/unevaluatedProperties/multipleOf" 138s # }, 138s # { 138s # "error": "not all additional properties are valid", 138s # "instanceLocation": "", 138s # "keywordLocation": "/unevaluatedProperties" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s # 138s ok 954 - unknownKeyword.json: "past and future keywords are ignored" - "passing" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 955 - unknownKeyword.json: "past and future keywords are ignored" - "failing (string)" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "got string, not number", 138s # "instanceLocation": "", 138s # "keywordLocation": "/type" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "got string, not number", 138s # "instanceLocation": "", 138s # "keywordLocation": "/type" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 956 - unknownKeyword.json: "past and future keywords are ignored" - "failing (object)" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "got object, not number", 138s # "instanceLocation": "", 138s # "keywordLocation": "/type" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "got object, not number", 138s # "instanceLocation": "", 138s # "keywordLocation": "/type" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 957 - unknownKeyword.json: "past and future keywords are ignored" - "failing (array)" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "got array, not number", 138s # "instanceLocation": "", 138s # "keywordLocation": "/type" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "got array, not number", 138s # "instanceLocation": "", 138s # "keywordLocation": "/type" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s # 138s ok 958 - vocabulary.json: "valid $vocabulary" - "a valid $vocabulary value" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 959 - vocabulary.json: "invalid $vocabulary (wrong specification version), but not until we evaluate with this metaschema" - "invalid $vocabulary (wrong specification version): register this metaschema" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 960 - vocabulary.json: "use schema (invalid $vocabulary) as a metaschema" - "invalid $vocabulary value: wrong specification version" { 138s # result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary/https:~1~1json-schema.org~1draft~12020-12~1vocab~1core", 138s # "error": "\"https://json-schema.org/draft/2020-12/vocab/core\" uses draft2020-12, but the metaschema itself uses draft2019-09", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$schema/$vocabulary/https:~1~1json-schema.org~1draft~12020-12~1vocab~1core" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary", 138s # "error": "the first vocabulary (by evaluation_order) must be Core", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$schema/$vocabulary" 138s # }, 138s # { 138s # "error": "\"https://mymetaschema2\" is not a valid metaschema", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$schema" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary/https:~1~1json-schema.org~1draft~12020-12~1vocab~1core", 138s # "error": "\"https://json-schema.org/draft/2020-12/vocab/core\" uses draft2020-12, but the metaschema itself uses draft2019-09", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$schema/$vocabulary/https:~1~1json-schema.org~1draft~12020-12~1vocab~1core" 138s # }, 138s # { 138s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary", 138s # "error": "the first vocabulary (by evaluation_order) must be Core", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$schema/$vocabulary" 138s # }, 138s # { 138s # "error": "\"https://mymetaschema2\" is not a valid metaschema", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$schema" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 961 - vocabulary.json: "invalid $vocabulary (unknown URI), but not until we evaluate with this metaschema" - "invalid $vocabulary (unknown URI): register this metaschema" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 962 - vocabulary.json: "use schema (unknown URI) as a metaschema" - "invalid $vocabulary value: unknown URI" { 138s # result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "https://mymetaschema3#/$vocabulary/https:~1~1foo.com", 138s # "error": "\"https://foo.com\" is not a known vocabulary", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$schema/$vocabulary/https:~1~1foo.com" 138s # }, 138s # { 138s # "error": "\"https://mymetaschema3\" is not a valid metaschema", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$schema" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "absoluteKeywordLocation": "https://mymetaschema3#/$vocabulary/https:~1~1foo.com", 138s # "error": "\"https://foo.com\" is not a known vocabulary", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$schema/$vocabulary/https:~1~1foo.com" 138s # }, 138s # { 138s # "error": "\"https://mymetaschema3\" is not a valid metaschema", 138s # "instanceLocation": "", 138s # "keywordLocation": "/$schema" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s # 138s ok 963 - optional/format-date-time.json: "leap seconds" - "a valid date-time with a leap second, UTC" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 964 - optional/format-date-time.json: "leap seconds" - "a valid date-time with a leap second, with minus offset" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 965 - optional/format-date-time.json: "leap seconds" - "an invalid date-time with a leap second, UTC" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid date-time", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid date-time", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 966 - optional/format-date-time.json: "leap seconds" - "an invalid date-time with a leap second, with minus offset" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid date-time", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid date-time", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s # 138s ok 967 - optional/format-date.json: "non-ascii digits should be rejected" - "BENGALI DIGIT TWO is not valid in dates" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid date", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid date", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s # 138s ok 968 - optional/format-time.json: "validation of time strings" - "valid leap second, Zulu" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 969 - optional/format-time.json: "validation of time strings" - "invalid leap second, Zulu (wrong hour)" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid time", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid time", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 970 - optional/format-time.json: "validation of time strings" - "invalid leap second, Zulu (wrong minute)" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid time", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid time", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 971 - optional/format-time.json: "validation of time strings" - "valid leap second, positive time-offset" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 972 - optional/format-time.json: "validation of time strings" - "valid leap second, large positive time-offset" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 973 - optional/format-time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong hour)" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid time", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid time", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 974 - optional/format-time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong minute)" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid time", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid time", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 975 - optional/format-time.json: "validation of time strings" - "valid leap second, negative time-offset" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 976 - optional/format-time.json: "validation of time strings" - "valid leap second, large negative time-offset" { 138s # result: { 138s # "valid": true 138s # } 138s # short-circuited result: { 138s # "valid": true 138s # } 138s ok 1 - test passes: data is valid: true 138s 1..1 138s } 138s ok 977 - optional/format-time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong hour)" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid time", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid time", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 978 - optional/format-time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong minute)" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid time", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid time", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 979 - optional/format-time.json: "validation of time strings" - "no time offset" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid time", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid time", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s ok 980 - optional/format-time.json: "validation of time strings" - "non-ascii digits should be rejected" { 138s # result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid time", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s # short-circuited result: { 138s # "errors": [ 138s # { 138s # "error": "not a valid time", 138s # "instanceLocation": "", 138s # "keywordLocation": "/format" 138s # } 138s # ], 138s # "valid": false 138s # } 138s ok 1 - test passes: data is valid: false 138s 1..1 138s } 138s # 138s # 138s # generated with: Test::JSON::Schema::Acceptance 1.026 138s # specification version: draft2019-09 138s # using custom test directory: t/additional-tests-draft2019-09 138s # optional tests included: yes 138s # 138s # filename pass todo-fail fail 138s # --------------------------------------------------------------- 138s # anchor.json 2 0 0 138s # annotation-collection.json 10 0 0 138s # badRef.json 3 0 0 138s # faux-buggy-schemas.json 2 0 0 138s # format-duration.json 9 0 0 138s # format-ipv4.json 4 0 0 138s # format-ipv6.json 17 0 0 138s # format-relative-json-pointer.json 7 0 0 138s # formats.json 4 0 0 138s # id.json 6 0 0 138s # integers.json 29 0 0 138s # keyword-independence.json 812 0 0 138s # loose-types-const-enum.json 8 0 0 138s # recursive-dynamic.json 4 0 0 138s # ref-and-id.json 6 0 0 138s # ref.json 10 0 0 138s # short-circuit.json 20 0 0 138s # unknownKeyword.json 4 0 0 138s # vocabulary.json 5 0 0 138s # optional/format-date-time.json 4 0 0 138s # optional/format-date.json 1 0 0 138s # optional/format-time.json 13 0 0 138s # --------------------------------------------------------------- 138s # TOTAL 980 0 0 138s # 138s # Congratulations, all non-optional tests are passing! 138s # 138s ok 981 - no leaks in the main evaluator object 138s ok 982 - no leaks in the short-circuiting evaluator object 138s ok 983 - got unsupported keyword warnings 138s 1..983 138s ok 142s t/additional-tests-draft2020-12.t ....... 142s # AUTHOR_TESTING: 142s # AUTOMATED_TESTING: 1 142s # EXTENDED_TESTING: 142s # NO_TODO: 142s # TEST_DIR: 142s # NO_SHORT_CIRCUIT: 142s # 142s # running tests in /tmp/autopkgtest.Liz2nS/autopkgtest_tmp/smokeXOIdE1/t/additional-tests-draft2020-12 against draft2020-12... 142s # 142s ok 1 - anchor.json: "non-schema object containing an $anchor property" - "skip traversing definition for a valid result" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 2 - anchor.json: "non-schema object containing an $anchor property" - "const at const_not_anchor does not match" { 142s # result: { 142s # "errors": [ 142s # { 142s # "absoluteKeywordLocation": "#/$defs/const_not_anchor/const", 142s # "error": "value does not match", 142s # "instanceLocation": "", 142s # "keywordLocation": "/else/$ref/const" 142s # }, 142s # { 142s # "error": "subschema is not valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/else" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "absoluteKeywordLocation": "#/$defs/const_not_anchor/const", 142s # "error": "value does not match", 142s # "instanceLocation": "", 142s # "keywordLocation": "/else/$ref/const" 142s # }, 142s # { 142s # "error": "subschema is not valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/else" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s # 142s ok 3 - annotation-collection.json: "annotations come from an allOf, unevaluated is a sibling" - "properties evaluated from allOf" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 4 - annotation-collection.json: "annotations come from an allOf, unevaluated is a sibling" - "extra property" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "additional property not permitted", 142s # "instanceLocation": "/bar", 142s # "keywordLocation": "/unevaluatedProperties" 142s # }, 142s # { 142s # "error": "not all additional properties are valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/unevaluatedProperties" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "additional property not permitted", 142s # "instanceLocation": "/bar", 142s # "keywordLocation": "/unevaluatedProperties" 142s # }, 142s # { 142s # "error": "not all additional properties are valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/unevaluatedProperties" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 5 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is a sibling" - "properties evaluated from additionalProperties" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 6 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is a sibling" - "extra property" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "additional property not permitted", 142s # "instanceLocation": "/bar", 142s # "keywordLocation": "/unevaluatedProperties" 142s # }, 142s # { 142s # "error": "not all additional properties are valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/unevaluatedProperties" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "additional property not permitted", 142s # "instanceLocation": "/bar", 142s # "keywordLocation": "/unevaluatedProperties" 142s # }, 142s # { 142s # "error": "not all additional properties are valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/unevaluatedProperties" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 7 - annotation-collection.json: "annotations come from an allOf, unevaluated is in an allOf" - "properties evaluated from allOf, but unevaluated is buried" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "additional property not permitted", 142s # "instanceLocation": "/foo", 142s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 142s # }, 142s # { 142s # "error": "not all additional properties are valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 142s # }, 142s # { 142s # "error": "no subschemas are valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/anyOf" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "additional property not permitted", 142s # "instanceLocation": "/foo", 142s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 142s # }, 142s # { 142s # "error": "not all additional properties are valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 142s # }, 142s # { 142s # "error": "no subschemas are valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/anyOf" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 8 - annotation-collection.json: "annotations come from an allOf, unevaluated is in an allOf" - "no properties" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 9 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is in an allOf" - "properties evaluated from additionalProperties, but unevaluated is buried" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "additional property not permitted", 142s # "instanceLocation": "/foo", 142s # "keywordLocation": "/allOf/0/unevaluatedProperties" 142s # }, 142s # { 142s # "error": "not all additional properties are valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/allOf/0/unevaluatedProperties" 142s # }, 142s # { 142s # "error": "subschema 0 is not valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/allOf" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "additional property not permitted", 142s # "instanceLocation": "/foo", 142s # "keywordLocation": "/allOf/0/unevaluatedProperties" 142s # }, 142s # { 142s # "error": "not all additional properties are valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/allOf/0/unevaluatedProperties" 142s # }, 142s # { 142s # "error": "subschema 0 is not valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/allOf" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 10 - annotation-collection.json: "annotations from adjacent keywords, unevaluated is in an allOf" - "no properties" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 11 - annotation-collection.json: "collect annotations inside a 'not', even if collection is disabled" - "unevaluated property" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 12 - annotation-collection.json: "collect annotations inside a 'not', even if collection is disabled" - "annotations are still collected inside a 'not'" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "subschema is valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/not" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "subschema is valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/not" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s # 142s ok 13 - badRef.json: "good references in schemas" - "this data is never used" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 14 - badRef.json: "bad $ref in schema: not a valid anchor fragment" - "this data is never used" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "$ref value is not a valid URI reference", 142s # "instanceLocation": "", 142s # "keywordLocation": "/then/$ref" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "$ref value is not a valid URI reference", 142s # "instanceLocation": "", 142s # "keywordLocation": "/then/$ref" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 15 - badRef.json: "bad $ref in schema: not a valid json pointer fragment" - "this data is never used" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "$ref value is not a valid URI reference", 142s # "instanceLocation": "", 142s # "keywordLocation": "/then/$ref" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "$ref value is not a valid URI reference", 142s # "instanceLocation": "", 142s # "keywordLocation": "/then/$ref" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s # 142s ok 16 - dynamicRef.json: "after leaving a dynamic scope, it should not be used by a $dynamicRef" - "string matches /$defs/thingy, but the $dynamicRef does not stop here" { 142s # result: { 142s # "errors": [ 142s # { 142s # "absoluteKeywordLocation": "second_scope#/$defs/thingy/type", 142s # "error": "got string, not null", 142s # "instanceLocation": "", 142s # "keywordLocation": "/then/$ref/$dynamicRef/type" 142s # }, 142s # { 142s # "absoluteKeywordLocation": "main#/then", 142s # "error": "subschema is not valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/then" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "absoluteKeywordLocation": "second_scope#/$defs/thingy/type", 142s # "error": "got string, not null", 142s # "instanceLocation": "", 142s # "keywordLocation": "/then/$ref/$dynamicRef/type" 142s # }, 142s # { 142s # "absoluteKeywordLocation": "main#/then", 142s # "error": "subschema is not valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/then" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 17 - dynamicRef.json: "after leaving a dynamic scope, it should not be used by a $dynamicRef" - "first_scope is not in dynamic scope for the $dynamicRef" { 142s # result: { 142s # "errors": [ 142s # { 142s # "absoluteKeywordLocation": "second_scope#/$defs/thingy/type", 142s # "error": "got integer, not null", 142s # "instanceLocation": "", 142s # "keywordLocation": "/then/$ref/$dynamicRef/type" 142s # }, 142s # { 142s # "absoluteKeywordLocation": "main#/then", 142s # "error": "subschema is not valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/then" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "absoluteKeywordLocation": "second_scope#/$defs/thingy/type", 142s # "error": "got integer, not null", 142s # "instanceLocation": "", 142s # "keywordLocation": "/then/$ref/$dynamicRef/type" 142s # }, 142s # { 142s # "absoluteKeywordLocation": "main#/then", 142s # "error": "subschema is not valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/then" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 18 - dynamicRef.json: "after leaving a dynamic scope, it should not be used by a $dynamicRef" - "value validates against /then/$defs/thingy, the final stop for the $dynamicRef" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 19 - dynamicRef.json: "schema in dynamic scope must have a $dynamicAnchor that matches the fragment" - "value would fail under either subschema" { 142s # result: { 142s # "errors": [ 142s # { 142s # "absoluteKeywordLocation": "orig#/minimum", 142s # "error": "value is less than 2", 142s # "instanceLocation": "", 142s # "keywordLocation": "/$dynamicRef/minimum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "absoluteKeywordLocation": "orig#/minimum", 142s # "error": "value is less than 2", 142s # "instanceLocation": "", 142s # "keywordLocation": "/$dynamicRef/minimum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 20 - dynamicRef.json: "schema in dynamic scope must have a $dynamicAnchor that matches the fragment" - "$anchor does not match $dynamicAnchor; original subschema is used" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 21 - dynamicRef.json: "$dynamicRef points to a boolean schema" - "follow $dynamicRef to a true schema" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 22 - dynamicRef.json: "$dynamicRef points to a boolean schema" - "follow $dynamicRef to a false schema" { 142s # result: { 142s # "errors": [ 142s # { 142s # "absoluteKeywordLocation": "#/$defs/false", 142s # "error": "subschema is false", 142s # "instanceLocation": "/false", 142s # "keywordLocation": "/properties/false/$dynamicRef" 142s # }, 142s # { 142s # "error": "not all properties are valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/properties" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "absoluteKeywordLocation": "#/$defs/false", 142s # "error": "subschema is false", 142s # "instanceLocation": "/false", 142s # "keywordLocation": "/properties/false/$dynamicRef" 142s # }, 142s # { 142s # "error": "not all properties are valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/properties" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s # 142s ok 23 - faux-buggy-schemas.json: "identifiers in non-schemas that look like schemas" - "match the type checks" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 24 - faux-buggy-schemas.json: "identifiers in non-schemas that look like schemas" - "match none of the options" { 142s # result: { 142s # "errors": [ 142s # { 142s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/0/type", 142s # "error": "got string, not integer", 142s # "instanceLocation": "", 142s # "keywordLocation": "/anyOf/0/type" 142s # }, 142s # { 142s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/1/type", 142s # "error": "got string, not integer", 142s # "instanceLocation": "", 142s # "keywordLocation": "/anyOf/1/type" 142s # }, 142s # { 142s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/2/const", 142s # "error": "value does not match", 142s # "instanceLocation": "", 142s # "keywordLocation": "/anyOf/2/const" 142s # }, 142s # { 142s # "absoluteKeywordLocation": "http://localhost:1234/enum.json#/enum", 142s # "error": "value does not match", 142s # "instanceLocation": "", 142s # "keywordLocation": "/anyOf/3/enum" 142s # }, 142s # { 142s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf", 142s # "error": "no subschemas are valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/anyOf" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/0/type", 142s # "error": "got string, not integer", 142s # "instanceLocation": "", 142s # "keywordLocation": "/anyOf/0/type" 142s # }, 142s # { 142s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/1/type", 142s # "error": "got string, not integer", 142s # "instanceLocation": "", 142s # "keywordLocation": "/anyOf/1/type" 142s # }, 142s # { 142s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/2/const", 142s # "error": "value does not match", 142s # "instanceLocation": "", 142s # "keywordLocation": "/anyOf/2/const" 142s # }, 142s # { 142s # "absoluteKeywordLocation": "http://localhost:1234/enum.json#/enum", 142s # "error": "value does not match", 142s # "instanceLocation": "", 142s # "keywordLocation": "/anyOf/3/enum" 142s # }, 142s # { 142s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf", 142s # "error": "no subschemas are valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/anyOf" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s # 142s ok 25 - format-duration.json: "validation of duration strings" - "years and months can appear without days" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 26 - format-duration.json: "validation of duration strings" - "months and days can appear without years" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 27 - format-duration.json: "validation of duration strings" - "hours and minutes can appear without seconds" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 28 - format-duration.json: "validation of duration strings" - "minutes and seconds can appear without hour" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 29 - format-duration.json: "validation of duration strings" - "elements may be omitted if their value is zero" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 30 - format-duration.json: "validation of duration strings" - "half a year duration, with full stop decimal point" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 31 - format-duration.json: "validation of duration strings" - "half a year duration, with comma decimal point" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 32 - format-duration.json: "validation of duration strings" - "only one unit can have a non-integer quantity" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid duration", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid duration", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 33 - format-duration.json: "validation of duration strings" - "only the smallest unit can have a non-integer quantity" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid duration", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid duration", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s # 142s ok 34 - format-ipv4.json: "validation of ipv4 strings" - "leading zeroes should be rejected, as they are treated as octal values" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid ipv4", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid ipv4", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 35 - format-ipv4.json: "validation of ipv4 strings" - "leading zeroes should be rejected, even if not a valid octal value" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid ipv4", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid ipv4", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 36 - format-ipv4.json: "validation of ipv4 strings" - "value without leading zero is valid" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 37 - format-ipv4.json: "validation of ipv4 strings" - "non-ascii digits should be rejected" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid ipv4", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid ipv4", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s # 142s ok 38 - format-ipv6.json: "validation of ipv6 strings" - "fully expanded with zeroes" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 39 - format-ipv6.json: "validation of ipv6 strings" - "partially collapsed zeroes" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 40 - format-ipv6.json: "validation of ipv6 strings" - "4,2 zeroes" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 41 - format-ipv6.json: "validation of ipv6 strings" - "8 single zeroes, no double colon" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 42 - format-ipv6.json: "validation of ipv6 strings" - "7 single zeroes, leading double colon" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 43 - format-ipv6.json: "validation of ipv6 strings" - "6 single zeroes, leading double colon" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 44 - format-ipv6.json: "validation of ipv6 strings" - "5 single zeroes, leading double colon" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 45 - format-ipv6.json: "validation of ipv6 strings" - "4 single zeroes, leading double colon" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 46 - format-ipv6.json: "validation of ipv6 strings" - "3 single zeroes, leading double colon" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 47 - format-ipv6.json: "validation of ipv6 strings" - "2 single zeroes, leading double colon" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 48 - format-ipv6.json: "validation of ipv6 strings" - "1 single zero, leading double colon" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 49 - format-ipv6.json: "validation of ipv6 strings" - "1 single zero, trailing double colon" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 50 - format-ipv6.json: "validation of ipv6 strings" - "2 leading colons with 8 zeroes" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid ipv6", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid ipv6", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 51 - format-ipv6.json: "validation of ipv6 strings" - "1 leading colon with 8 zeroes" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid ipv6", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid ipv6", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 52 - format-ipv6.json: "validation of ipv6 strings" - "colons in the middle with 8 zeroes" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid ipv6", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid ipv6", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 53 - format-ipv6.json: "validation of ipv6 strings" - "1 trailing colon with 8 zeroes" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid ipv6", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid ipv6", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 54 - format-ipv6.json: "validation of ipv6 strings" - "2 trailing colons with 8 zeroes" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid ipv6", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid ipv6", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s # 142s ok 55 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with empty json-pointer" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 56 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with one-char json-pointer" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 57 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with longer json-pointer" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 58 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer \#" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 59 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "\#\# is not a valid json-pointer" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid relative-json-pointer", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid relative-json-pointer", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 60 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "zero cannot be followed by other digits, plus json-pointer" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid relative-json-pointer", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid relative-json-pointer", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 61 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "zero cannot be followed by other digits, plus octothorpe" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid relative-json-pointer", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "not a valid relative-json-pointer", 142s # "instanceLocation": "", 142s # "keywordLocation": "/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s # 142s ok 62 - formats.json: "format validation after a $ref" - "invalid duration" { 142s # result: { 142s # "errors": [ 142s # { 142s # "absoluteKeywordLocation": "#/$defs/my_format/format", 142s # "error": "not a valid duration", 142s # "instanceLocation": "", 142s # "keywordLocation": "/$ref/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "absoluteKeywordLocation": "#/$defs/my_format/format", 142s # "error": "not a valid duration", 142s # "instanceLocation": "", 142s # "keywordLocation": "/$ref/format" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 63 - formats.json: "format validation after a $ref" - "valid duration" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 64 - formats.json: "format validation after an $id" - "invalid duration" { 142s # result: { 142s # "errors": [ 142s # { 142s # "absoluteKeywordLocation": "bloop#/allOf/0/format", 142s # "error": "not a valid duration", 142s # "instanceLocation": "/0", 142s # "keywordLocation": "/items/allOf/0/format" 142s # }, 142s # { 142s # "absoluteKeywordLocation": "bloop#/allOf", 142s # "error": "subschema 0 is not valid", 142s # "instanceLocation": "/0", 142s # "keywordLocation": "/items/allOf" 142s # }, 142s # { 142s # "error": "subschema is not valid against all items", 142s # "instanceLocation": "", 142s # "keywordLocation": "/items" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "absoluteKeywordLocation": "bloop#/allOf/0/format", 142s # "error": "not a valid duration", 142s # "instanceLocation": "/0", 142s # "keywordLocation": "/items/allOf/0/format" 142s # }, 142s # { 142s # "absoluteKeywordLocation": "bloop#/allOf", 142s # "error": "subschema 0 is not valid", 142s # "instanceLocation": "/0", 142s # "keywordLocation": "/items/allOf" 142s # }, 142s # { 142s # "error": "subschema is not valid against all items", 142s # "instanceLocation": "", 142s # "keywordLocation": "/items" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 65 - formats.json: "format validation after an $id" - "valid duration" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s # 142s ok 66 - id.json: "non-schema object containing an $id property" - "skip traversing definition for a valid result" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 67 - id.json: "non-schema object containing an $id property" - "const at const_not_id does not match" { 142s # result: { 142s # "errors": [ 142s # { 142s # "absoluteKeywordLocation": "#/$defs/const_not_id/const", 142s # "error": "value does not match", 142s # "instanceLocation": "", 142s # "keywordLocation": "/else/$ref/const" 142s # }, 142s # { 142s # "error": "subschema is not valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/else" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "absoluteKeywordLocation": "#/$defs/const_not_id/const", 142s # "error": "value does not match", 142s # "instanceLocation": "", 142s # "keywordLocation": "/else/$ref/const" 142s # }, 142s # { 142s # "error": "subschema is not valid", 142s # "instanceLocation": "", 142s # "keywordLocation": "/else" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 68 - id.json: "'' not permitted as $id" - "schema would pass without $id" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "$id cannot be empty", 142s # "instanceLocation": "", 142s # "keywordLocation": "/$id" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "$id cannot be empty", 142s # "instanceLocation": "", 142s # "keywordLocation": "/$id" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 69 - id.json: "'' not permitted as $id" - "schema would fail even without $id" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "$id cannot be empty", 142s # "instanceLocation": "", 142s # "keywordLocation": "/$id" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "$id cannot be empty", 142s # "instanceLocation": "", 142s # "keywordLocation": "/$id" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 70 - id.json: "'\#' not permitted as $id" - "schema would pass without $id" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "$id cannot be empty", 142s # "instanceLocation": "", 142s # "keywordLocation": "/$id" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "$id cannot be empty", 142s # "instanceLocation": "", 142s # "keywordLocation": "/$id" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 71 - id.json: "'\#' not permitted as $id" - "schema would fail even without $id" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "$id cannot be empty", 142s # "instanceLocation": "", 142s # "keywordLocation": "/$id" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "$id cannot be empty", 142s # "instanceLocation": "", 142s # "keywordLocation": "/$id" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s # 142s ok 72 - integers.json: "type checks" - "beyond int64 lower boundary" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 73 - integers.json: "type checks" - "int64 lower boundary" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 74 - integers.json: "type checks" - "beyond int32 lower boundary" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 75 - integers.json: "type checks" - "int32 lower boundary" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 76 - integers.json: "type checks" - "zero" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 77 - integers.json: "type checks" - "int32 upper boundary" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 78 - integers.json: "type checks" - "beyond int32 upper boundary" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 79 - integers.json: "type checks" - "upper int64 boundary" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 80 - integers.json: "type checks" - "beyond int64 upper boundary" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 81 - integers.json: "int32 range checks" - "beyond lower boundary" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "value is less than -2147483648", 142s # "instanceLocation": "", 142s # "keywordLocation": "/minimum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "value is less than -2147483648", 142s # "instanceLocation": "", 142s # "keywordLocation": "/minimum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 82 - integers.json: "int32 range checks" - "lower boundary" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 83 - integers.json: "int32 range checks" - "zero" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 84 - integers.json: "int32 range checks" - "upper boundary" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 85 - integers.json: "int32 range checks" - "beyond upper boundary" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "value is greater than 2147483647", 142s # "instanceLocation": "", 142s # "keywordLocation": "/maximum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "value is greater than 2147483647", 142s # "instanceLocation": "", 142s # "keywordLocation": "/maximum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 86 - integers.json: "int64 range checks" - "beyond lower boundary" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "value is less than -9223372036854775808", 142s # "instanceLocation": "", 142s # "keywordLocation": "/minimum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "value is less than -9223372036854775808", 142s # "instanceLocation": "", 142s # "keywordLocation": "/minimum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 87 - integers.json: "int64 range checks" - "lower boundary" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 88 - integers.json: "int64 range checks" - "zero" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 89 - integers.json: "int64 range checks" - "upper boundary" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 90 - integers.json: "int64 range checks" - "beyond upper boundary" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "value is greater than 9223372036854775807", 142s # "instanceLocation": "", 142s # "keywordLocation": "/maximum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "value is greater than 9223372036854775807", 142s # "instanceLocation": "", 142s # "keywordLocation": "/maximum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 91 - integers.json: "equality checks" - "beyond int64 lower boundary" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 92 - integers.json: "equality checks" - "int64 lower boundary" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 93 - integers.json: "equality checks" - "beyond int32 lower boundary" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 94 - integers.json: "equality checks" - "int32 lower boundary" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 95 - integers.json: "equality checks" - "zero" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 96 - integers.json: "equality checks" - "one" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "value does not match", 142s # "instanceLocation": "", 142s # "keywordLocation": "/enum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "value does not match", 142s # "instanceLocation": "", 142s # "keywordLocation": "/enum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 97 - integers.json: "equality checks" - "int32 upper boundary" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 98 - integers.json: "equality checks" - "beyond int32 upper boundary" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 99 - integers.json: "equality checks" - "int64 upper boundary" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 100 - integers.json: "equality checks" - "beyond int64 upper boundary" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s # 142s ok 101 - keyword-independence.json: "contains + exclusiveMaximum" - "array, contains invalid" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "subschema is not valid against any item", 142s # "instanceLocation": "", 142s # "keywordLocation": "/contains" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "subschema is not valid against any item", 142s # "instanceLocation": "", 142s # "keywordLocation": "/contains" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 102 - keyword-independence.json: "contains + exclusiveMaximum" - "array, contains valid" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 103 - keyword-independence.json: "contains + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "value is greater than or equal to 2", 142s # "instanceLocation": "", 142s # "keywordLocation": "/exclusiveMaximum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "value is greater than or equal to 2", 142s # "instanceLocation": "", 142s # "keywordLocation": "/exclusiveMaximum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 104 - keyword-independence.json: "contains + exclusiveMaximum" - "number, exclusiveMaximum valid" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 105 - keyword-independence.json: "contains + exclusiveMinimum" - "array, contains invalid" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "subschema is not valid against any item", 142s # "instanceLocation": "", 142s # "keywordLocation": "/contains" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "subschema is not valid against any item", 142s # "instanceLocation": "", 142s # "keywordLocation": "/contains" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 106 - keyword-independence.json: "contains + exclusiveMinimum" - "array, contains valid" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 107 - keyword-independence.json: "contains + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "value is less than or equal to 2", 142s # "instanceLocation": "", 142s # "keywordLocation": "/exclusiveMinimum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "value is less than or equal to 2", 142s # "instanceLocation": "", 142s # "keywordLocation": "/exclusiveMinimum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 108 - keyword-independence.json: "contains + exclusiveMinimum" - "number, exclusiveMinimum valid" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 109 - keyword-independence.json: "contains + maximum" - "array, contains invalid" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "subschema is not valid against any item", 142s # "instanceLocation": "", 142s # "keywordLocation": "/contains" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "subschema is not valid against any item", 142s # "instanceLocation": "", 142s # "keywordLocation": "/contains" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 110 - keyword-independence.json: "contains + maximum" - "array, contains valid" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 111 - keyword-independence.json: "contains + maximum" - "number, maximum invalid" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "value is greater than 2", 142s # "instanceLocation": "", 142s # "keywordLocation": "/maximum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "value is greater than 2", 142s # "instanceLocation": "", 142s # "keywordLocation": "/maximum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 112 - keyword-independence.json: "contains + maximum" - "number, maximum valid" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 113 - keyword-independence.json: "contains + minimum" - "array, contains invalid" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "subschema is not valid against any item", 142s # "instanceLocation": "", 142s # "keywordLocation": "/contains" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "subschema is not valid against any item", 142s # "instanceLocation": "", 142s # "keywordLocation": "/contains" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 114 - keyword-independence.json: "contains + minimum" - "array, contains valid" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 115 - keyword-independence.json: "contains + minimum" - "number, minimum invalid" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "value is less than 2", 142s # "instanceLocation": "", 142s # "keywordLocation": "/minimum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "value is less than 2", 142s # "instanceLocation": "", 142s # "keywordLocation": "/minimum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 116 - keyword-independence.json: "contains + minimum" - "number, minimum valid" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 117 - keyword-independence.json: "contains + multipleOf" - "array, contains invalid" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "subschema is not valid against any item", 142s # "instanceLocation": "", 142s # "keywordLocation": "/contains" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "subschema is not valid against any item", 142s # "instanceLocation": "", 142s # "keywordLocation": "/contains" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 118 - keyword-independence.json: "contains + multipleOf" - "array, contains valid" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 119 - keyword-independence.json: "contains + multipleOf" - "number, multipleOf invalid" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "value is not a multiple of 2", 142s # "instanceLocation": "", 142s # "keywordLocation": "/multipleOf" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "value is not a multiple of 2", 142s # "instanceLocation": "", 142s # "keywordLocation": "/multipleOf" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 120 - keyword-independence.json: "contains + multipleOf" - "number, multipleOf valid" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 121 - keyword-independence.json: "exclusiveMaximum + items" - "array, items invalid" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "item not permitted", 142s # "instanceLocation": "/0", 142s # "keywordLocation": "/items" 142s # }, 142s # { 142s # "error": "subschema is not valid against all items", 142s # "instanceLocation": "", 142s # "keywordLocation": "/items" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "item not permitted", 142s # "instanceLocation": "/0", 142s # "keywordLocation": "/items" 142s # }, 142s # { 142s # "error": "subschema is not valid against all items", 142s # "instanceLocation": "", 142s # "keywordLocation": "/items" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 122 - keyword-independence.json: "exclusiveMaximum + items" - "array, items valid" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 123 - keyword-independence.json: "exclusiveMaximum + items" - "number, exclusiveMaximum invalid" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "value is greater than or equal to 2", 142s # "instanceLocation": "", 142s # "keywordLocation": "/exclusiveMaximum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "value is greater than or equal to 2", 142s # "instanceLocation": "", 142s # "keywordLocation": "/exclusiveMaximum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 124 - keyword-independence.json: "exclusiveMaximum + items" - "number, exclusiveMaximum valid" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 125 - keyword-independence.json: "exclusiveMinimum + items" - "array, items invalid" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "item not permitted", 142s # "instanceLocation": "/0", 142s # "keywordLocation": "/items" 142s # }, 142s # { 142s # "error": "subschema is not valid against all items", 142s # "instanceLocation": "", 142s # "keywordLocation": "/items" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "item not permitted", 142s # "instanceLocation": "/0", 142s # "keywordLocation": "/items" 142s # }, 142s # { 142s # "error": "subschema is not valid against all items", 142s # "instanceLocation": "", 142s # "keywordLocation": "/items" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 126 - keyword-independence.json: "exclusiveMinimum + items" - "array, items valid" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 127 - keyword-independence.json: "exclusiveMinimum + items" - "number, exclusiveMinimum invalid" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "value is less than or equal to 2", 142s # "instanceLocation": "", 142s # "keywordLocation": "/exclusiveMinimum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "value is less than or equal to 2", 142s # "instanceLocation": "", 142s # "keywordLocation": "/exclusiveMinimum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 128 - keyword-independence.json: "exclusiveMinimum + items" - "number, exclusiveMinimum valid" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 129 - keyword-independence.json: "items + maximum" - "array, items invalid" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "item not permitted", 142s # "instanceLocation": "/0", 142s # "keywordLocation": "/items" 142s # }, 142s # { 142s # "error": "subschema is not valid against all items", 142s # "instanceLocation": "", 142s # "keywordLocation": "/items" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "item not permitted", 142s # "instanceLocation": "/0", 142s # "keywordLocation": "/items" 142s # }, 142s # { 142s # "error": "subschema is not valid against all items", 142s # "instanceLocation": "", 142s # "keywordLocation": "/items" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 130 - keyword-independence.json: "items + maximum" - "array, items valid" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 131 - keyword-independence.json: "items + maximum" - "number, maximum invalid" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "value is greater than 2", 142s # "instanceLocation": "", 142s # "keywordLocation": "/maximum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "value is greater than 2", 142s # "instanceLocation": "", 142s # "keywordLocation": "/maximum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 132 - keyword-independence.json: "items + maximum" - "number, maximum valid" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 133 - keyword-independence.json: "items + minimum" - "array, items invalid" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "item not permitted", 142s # "instanceLocation": "/0", 142s # "keywordLocation": "/items" 142s # }, 142s # { 142s # "error": "subschema is not valid against all items", 142s # "instanceLocation": "", 142s # "keywordLocation": "/items" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 142s # "error": "item not permitted", 142s # "instanceLocation": "/0", 142s # "keywordLocation": "/items" 142s # }, 142s # { 142s # "error": "subschema is not valid against all items", 142s # "instanceLocation": "", 142s # "keywordLocation": "/items" 142s # } 142s # ], 142s # "valid": false 142s # } 142s ok 1 - test passes: data is valid: false 142s 1..1 142s } 142s ok 134 - keyword-independence.json: "items + minimum" - "array, items valid" { 142s # result: { 142s # "valid": true 142s # } 142s # short-circuited result: { 142s # "valid": true 142s # } 142s ok 1 - test passes: data is valid: true 142s 1..1 142s } 142s ok 135 - keyword-independence.json: "items + minimum" - "number, minimum invalid" { 142s # result: { 142s # "errors": [ 142s # { 142s # "error": "value is less than 2", 142s # "instanceLocation": "", 142s # "keywordLocation": "/minimum" 142s # } 142s # ], 142s # "valid": false 142s # } 142s # short-circuited result: { 142s # "errors": [ 142s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 136 - keyword-independence.json: "items + minimum" - "number, minimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 137 - keyword-independence.json: "items + multipleOf" - "array, items invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 138 - keyword-independence.json: "items + multipleOf" - "array, items valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 139 - keyword-independence.json: "items + multipleOf" - "number, multipleOf invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 140 - keyword-independence.json: "items + multipleOf" - "number, multipleOf valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 141 - keyword-independence.json: "exclusiveMaximum + maxItems" - "array, maxItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 142 - keyword-independence.json: "exclusiveMaximum + maxItems" - "array, maxItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 143 - keyword-independence.json: "exclusiveMaximum + maxItems" - "number, exclusiveMaximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 144 - keyword-independence.json: "exclusiveMaximum + maxItems" - "number, exclusiveMaximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 145 - keyword-independence.json: "exclusiveMinimum + maxItems" - "array, maxItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 146 - keyword-independence.json: "exclusiveMinimum + maxItems" - "array, maxItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 147 - keyword-independence.json: "exclusiveMinimum + maxItems" - "number, exclusiveMinimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 148 - keyword-independence.json: "exclusiveMinimum + maxItems" - "number, exclusiveMinimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 149 - keyword-independence.json: "maxItems + maximum" - "array, maxItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 150 - keyword-independence.json: "maxItems + maximum" - "array, maxItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 151 - keyword-independence.json: "maxItems + maximum" - "number, maximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 152 - keyword-independence.json: "maxItems + maximum" - "number, maximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 153 - keyword-independence.json: "maxItems + minimum" - "array, maxItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 154 - keyword-independence.json: "maxItems + minimum" - "array, maxItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 155 - keyword-independence.json: "maxItems + minimum" - "number, minimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 156 - keyword-independence.json: "maxItems + minimum" - "number, minimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 157 - keyword-independence.json: "maxItems + multipleOf" - "array, maxItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 158 - keyword-independence.json: "maxItems + multipleOf" - "array, maxItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 159 - keyword-independence.json: "maxItems + multipleOf" - "number, multipleOf invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 160 - keyword-independence.json: "maxItems + multipleOf" - "number, multipleOf valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 161 - keyword-independence.json: "exclusiveMaximum + minItems" - "array, minItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 162 - keyword-independence.json: "exclusiveMaximum + minItems" - "array, minItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 163 - keyword-independence.json: "exclusiveMaximum + minItems" - "number, exclusiveMaximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 164 - keyword-independence.json: "exclusiveMaximum + minItems" - "number, exclusiveMaximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 165 - keyword-independence.json: "exclusiveMinimum + minItems" - "array, minItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 166 - keyword-independence.json: "exclusiveMinimum + minItems" - "array, minItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 167 - keyword-independence.json: "exclusiveMinimum + minItems" - "number, exclusiveMinimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 168 - keyword-independence.json: "exclusiveMinimum + minItems" - "number, exclusiveMinimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 169 - keyword-independence.json: "maximum + minItems" - "array, minItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 170 - keyword-independence.json: "maximum + minItems" - "array, minItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 171 - keyword-independence.json: "maximum + minItems" - "number, maximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 172 - keyword-independence.json: "maximum + minItems" - "number, maximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 173 - keyword-independence.json: "minItems + minimum" - "array, minItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 174 - keyword-independence.json: "minItems + minimum" - "array, minItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 175 - keyword-independence.json: "minItems + minimum" - "number, minimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 176 - keyword-independence.json: "minItems + minimum" - "number, minimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 177 - keyword-independence.json: "minItems + multipleOf" - "array, minItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 178 - keyword-independence.json: "minItems + multipleOf" - "array, minItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 179 - keyword-independence.json: "minItems + multipleOf" - "number, multipleOf invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 180 - keyword-independence.json: "minItems + multipleOf" - "number, multipleOf valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 181 - keyword-independence.json: "exclusiveMaximum + prefixItems" - "array, prefixItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 182 - keyword-independence.json: "exclusiveMaximum + prefixItems" - "array, prefixItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 183 - keyword-independence.json: "exclusiveMaximum + prefixItems" - "number, exclusiveMaximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 184 - keyword-independence.json: "exclusiveMaximum + prefixItems" - "number, exclusiveMaximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 185 - keyword-independence.json: "exclusiveMinimum + prefixItems" - "array, prefixItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 186 - keyword-independence.json: "exclusiveMinimum + prefixItems" - "array, prefixItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 187 - keyword-independence.json: "exclusiveMinimum + prefixItems" - "number, exclusiveMinimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 188 - keyword-independence.json: "exclusiveMinimum + prefixItems" - "number, exclusiveMinimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 189 - keyword-independence.json: "maximum + prefixItems" - "array, prefixItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 190 - keyword-independence.json: "maximum + prefixItems" - "array, prefixItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 191 - keyword-independence.json: "maximum + prefixItems" - "number, maximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 192 - keyword-independence.json: "maximum + prefixItems" - "number, maximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 193 - keyword-independence.json: "minimum + prefixItems" - "array, prefixItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 194 - keyword-independence.json: "minimum + prefixItems" - "array, prefixItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 195 - keyword-independence.json: "minimum + prefixItems" - "number, minimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 196 - keyword-independence.json: "minimum + prefixItems" - "number, minimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 197 - keyword-independence.json: "multipleOf + prefixItems" - "array, prefixItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 198 - keyword-independence.json: "multipleOf + prefixItems" - "array, prefixItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 199 - keyword-independence.json: "multipleOf + prefixItems" - "number, multipleOf invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 200 - keyword-independence.json: "multipleOf + prefixItems" - "number, multipleOf valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 201 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "array, unevaluatedItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 202 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "array, unevaluatedItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 203 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "number, exclusiveMaximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 204 - keyword-independence.json: "exclusiveMaximum + unevaluatedItems" - "number, exclusiveMaximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 205 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "array, unevaluatedItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 206 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "array, unevaluatedItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 207 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "number, exclusiveMinimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 208 - keyword-independence.json: "exclusiveMinimum + unevaluatedItems" - "number, exclusiveMinimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 209 - keyword-independence.json: "maximum + unevaluatedItems" - "array, unevaluatedItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 210 - keyword-independence.json: "maximum + unevaluatedItems" - "array, unevaluatedItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 211 - keyword-independence.json: "maximum + unevaluatedItems" - "number, maximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 212 - keyword-independence.json: "maximum + unevaluatedItems" - "number, maximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 213 - keyword-independence.json: "minimum + unevaluatedItems" - "array, unevaluatedItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 214 - keyword-independence.json: "minimum + unevaluatedItems" - "array, unevaluatedItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 215 - keyword-independence.json: "minimum + unevaluatedItems" - "number, minimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 216 - keyword-independence.json: "minimum + unevaluatedItems" - "number, minimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 217 - keyword-independence.json: "multipleOf + unevaluatedItems" - "array, unevaluatedItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 218 - keyword-independence.json: "multipleOf + unevaluatedItems" - "array, unevaluatedItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 219 - keyword-independence.json: "multipleOf + unevaluatedItems" - "number, multipleOf invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 220 - keyword-independence.json: "multipleOf + unevaluatedItems" - "number, multipleOf valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 221 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "array, uniqueItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 222 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "array, uniqueItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 223 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "number, exclusiveMaximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 224 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "number, exclusiveMaximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 225 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "array, uniqueItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 226 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "array, uniqueItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 227 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "number, exclusiveMinimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 228 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "number, exclusiveMinimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 229 - keyword-independence.json: "maximum + uniqueItems" - "array, uniqueItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 230 - keyword-independence.json: "maximum + uniqueItems" - "array, uniqueItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 231 - keyword-independence.json: "maximum + uniqueItems" - "number, maximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 232 - keyword-independence.json: "maximum + uniqueItems" - "number, maximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 233 - keyword-independence.json: "minimum + uniqueItems" - "array, uniqueItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 234 - keyword-independence.json: "minimum + uniqueItems" - "array, uniqueItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 235 - keyword-independence.json: "minimum + uniqueItems" - "number, minimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 236 - keyword-independence.json: "minimum + uniqueItems" - "number, minimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 237 - keyword-independence.json: "multipleOf + uniqueItems" - "array, uniqueItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 238 - keyword-independence.json: "multipleOf + uniqueItems" - "array, uniqueItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 239 - keyword-independence.json: "multipleOf + uniqueItems" - "number, multipleOf invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 240 - keyword-independence.json: "multipleOf + uniqueItems" - "number, multipleOf valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 241 - keyword-independence.json: "additionalProperties + contains" - "array, contains invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 242 - keyword-independence.json: "additionalProperties + contains" - "array, contains valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 243 - keyword-independence.json: "additionalProperties + contains" - "object, additionalProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 244 - keyword-independence.json: "additionalProperties + contains" - "object, additionalProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 245 - keyword-independence.json: "contains + dependentRequired" - "array, contains invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 246 - keyword-independence.json: "contains + dependentRequired" - "array, contains valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 247 - keyword-independence.json: "contains + dependentRequired" - "object, dependentRequired invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 248 - keyword-independence.json: "contains + dependentRequired" - "object, dependentRequired valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 249 - keyword-independence.json: "contains + dependentSchemas" - "array, contains invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 250 - keyword-independence.json: "contains + dependentSchemas" - "array, contains valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 251 - keyword-independence.json: "contains + dependentSchemas" - "object, dependentSchemas invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 252 - keyword-independence.json: "contains + dependentSchemas" - "object, dependentSchemas valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 253 - keyword-independence.json: "contains + maxProperties" - "array, contains invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 254 - keyword-independence.json: "contains + maxProperties" - "array, contains valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 255 - keyword-independence.json: "contains + maxProperties" - "object, maxProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 256 - keyword-independence.json: "contains + maxProperties" - "object, maxProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 257 - keyword-independence.json: "contains + minProperties" - "array, contains invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 258 - keyword-independence.json: "contains + minProperties" - "array, contains valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 259 - keyword-independence.json: "contains + minProperties" - "object, minProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 260 - keyword-independence.json: "contains + minProperties" - "object, minProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 261 - keyword-independence.json: "contains + patternProperties" - "array, contains invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 262 - keyword-independence.json: "contains + patternProperties" - "array, contains valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 263 - keyword-independence.json: "contains + patternProperties" - "object, patternProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 264 - keyword-independence.json: "contains + patternProperties" - "object, patternProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 265 - keyword-independence.json: "contains + properties" - "array, contains invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 266 - keyword-independence.json: "contains + properties" - "array, contains valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 267 - keyword-independence.json: "contains + properties" - "object, properties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 268 - keyword-independence.json: "contains + properties" - "object, properties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 269 - keyword-independence.json: "contains + propertyNames" - "array, contains invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 270 - keyword-independence.json: "contains + propertyNames" - "array, contains valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 271 - keyword-independence.json: "contains + propertyNames" - "object, propertyNames invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 272 - keyword-independence.json: "contains + propertyNames" - "object, propertyNames valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 273 - keyword-independence.json: "contains + required" - "array, contains invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 274 - keyword-independence.json: "contains + required" - "array, contains valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 275 - keyword-independence.json: "contains + required" - "object, required invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 276 - keyword-independence.json: "contains + required" - "object, required valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 277 - keyword-independence.json: "contains + unevaluatedProperties" - "array, contains invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 278 - keyword-independence.json: "contains + unevaluatedProperties" - "array, contains valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 279 - keyword-independence.json: "contains + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 280 - keyword-independence.json: "contains + unevaluatedProperties" - "object, unevaluatedProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 281 - keyword-independence.json: "additionalProperties + items" - "array, items invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 282 - keyword-independence.json: "additionalProperties + items" - "array, items valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 283 - keyword-independence.json: "additionalProperties + items" - "object, additionalProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 284 - keyword-independence.json: "additionalProperties + items" - "object, additionalProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 285 - keyword-independence.json: "dependentRequired + items" - "array, items invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 286 - keyword-independence.json: "dependentRequired + items" - "array, items valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 287 - keyword-independence.json: "dependentRequired + items" - "object, dependentRequired invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 288 - keyword-independence.json: "dependentRequired + items" - "object, dependentRequired valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 289 - keyword-independence.json: "dependentSchemas + items" - "array, items invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 290 - keyword-independence.json: "dependentSchemas + items" - "array, items valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 291 - keyword-independence.json: "dependentSchemas + items" - "object, dependentSchemas invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 292 - keyword-independence.json: "dependentSchemas + items" - "object, dependentSchemas valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 293 - keyword-independence.json: "items + maxProperties" - "array, items invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 294 - keyword-independence.json: "items + maxProperties" - "array, items valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 295 - keyword-independence.json: "items + maxProperties" - "object, maxProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 296 - keyword-independence.json: "items + maxProperties" - "object, maxProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 297 - keyword-independence.json: "items + minProperties" - "array, items invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 298 - keyword-independence.json: "items + minProperties" - "array, items valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 299 - keyword-independence.json: "items + minProperties" - "object, minProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 300 - keyword-independence.json: "items + minProperties" - "object, minProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 301 - keyword-independence.json: "items + patternProperties" - "array, items invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 302 - keyword-independence.json: "items + patternProperties" - "array, items valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 303 - keyword-independence.json: "items + patternProperties" - "object, patternProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 304 - keyword-independence.json: "items + patternProperties" - "object, patternProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 305 - keyword-independence.json: "items + properties" - "array, items invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 306 - keyword-independence.json: "items + properties" - "array, items valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 307 - keyword-independence.json: "items + properties" - "object, properties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 308 - keyword-independence.json: "items + properties" - "object, properties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 309 - keyword-independence.json: "items + propertyNames" - "array, items invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 310 - keyword-independence.json: "items + propertyNames" - "array, items valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 311 - keyword-independence.json: "items + propertyNames" - "object, propertyNames invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 312 - keyword-independence.json: "items + propertyNames" - "object, propertyNames valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 313 - keyword-independence.json: "items + required" - "array, items invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 314 - keyword-independence.json: "items + required" - "array, items valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 315 - keyword-independence.json: "items + required" - "object, required invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 316 - keyword-independence.json: "items + required" - "object, required valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 317 - keyword-independence.json: "items + unevaluatedProperties" - "array, items invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 318 - keyword-independence.json: "items + unevaluatedProperties" - "array, items valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 319 - keyword-independence.json: "items + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 320 - keyword-independence.json: "items + unevaluatedProperties" - "object, unevaluatedProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 321 - keyword-independence.json: "additionalProperties + maxItems" - "array, maxItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 322 - keyword-independence.json: "additionalProperties + maxItems" - "array, maxItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 323 - keyword-independence.json: "additionalProperties + maxItems" - "object, additionalProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 324 - keyword-independence.json: "additionalProperties + maxItems" - "object, additionalProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 325 - keyword-independence.json: "dependentRequired + maxItems" - "array, maxItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 326 - keyword-independence.json: "dependentRequired + maxItems" - "array, maxItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 327 - keyword-independence.json: "dependentRequired + maxItems" - "object, dependentRequired invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 328 - keyword-independence.json: "dependentRequired + maxItems" - "object, dependentRequired valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 329 - keyword-independence.json: "dependentSchemas + maxItems" - "array, maxItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 330 - keyword-independence.json: "dependentSchemas + maxItems" - "array, maxItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 331 - keyword-independence.json: "dependentSchemas + maxItems" - "object, dependentSchemas invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 332 - keyword-independence.json: "dependentSchemas + maxItems" - "object, dependentSchemas valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 333 - keyword-independence.json: "maxItems + maxProperties" - "array, maxItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 334 - keyword-independence.json: "maxItems + maxProperties" - "array, maxItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 335 - keyword-independence.json: "maxItems + maxProperties" - "object, maxProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 336 - keyword-independence.json: "maxItems + maxProperties" - "object, maxProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 337 - keyword-independence.json: "maxItems + minProperties" - "array, maxItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 338 - keyword-independence.json: "maxItems + minProperties" - "array, maxItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 339 - keyword-independence.json: "maxItems + minProperties" - "object, minProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 340 - keyword-independence.json: "maxItems + minProperties" - "object, minProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 341 - keyword-independence.json: "maxItems + patternProperties" - "array, maxItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 342 - keyword-independence.json: "maxItems + patternProperties" - "array, maxItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 343 - keyword-independence.json: "maxItems + patternProperties" - "object, patternProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 344 - keyword-independence.json: "maxItems + patternProperties" - "object, patternProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 345 - keyword-independence.json: "maxItems + properties" - "array, maxItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 346 - keyword-independence.json: "maxItems + properties" - "array, maxItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 347 - keyword-independence.json: "maxItems + properties" - "object, properties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 348 - keyword-independence.json: "maxItems + properties" - "object, properties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 349 - keyword-independence.json: "maxItems + propertyNames" - "array, maxItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 350 - keyword-independence.json: "maxItems + propertyNames" - "array, maxItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 351 - keyword-independence.json: "maxItems + propertyNames" - "object, propertyNames invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 352 - keyword-independence.json: "maxItems + propertyNames" - "object, propertyNames valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 353 - keyword-independence.json: "maxItems + required" - "array, maxItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 354 - keyword-independence.json: "maxItems + required" - "array, maxItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 355 - keyword-independence.json: "maxItems + required" - "object, required invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 356 - keyword-independence.json: "maxItems + required" - "object, required valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 357 - keyword-independence.json: "maxItems + unevaluatedProperties" - "array, maxItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 358 - keyword-independence.json: "maxItems + unevaluatedProperties" - "array, maxItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 359 - keyword-independence.json: "maxItems + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 360 - keyword-independence.json: "maxItems + unevaluatedProperties" - "object, unevaluatedProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 361 - keyword-independence.json: "additionalProperties + minItems" - "array, minItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 362 - keyword-independence.json: "additionalProperties + minItems" - "array, minItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 363 - keyword-independence.json: "additionalProperties + minItems" - "object, additionalProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 364 - keyword-independence.json: "additionalProperties + minItems" - "object, additionalProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 365 - keyword-independence.json: "dependentRequired + minItems" - "array, minItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 366 - keyword-independence.json: "dependentRequired + minItems" - "array, minItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 367 - keyword-independence.json: "dependentRequired + minItems" - "object, dependentRequired invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 368 - keyword-independence.json: "dependentRequired + minItems" - "object, dependentRequired valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 369 - keyword-independence.json: "dependentSchemas + minItems" - "array, minItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 370 - keyword-independence.json: "dependentSchemas + minItems" - "array, minItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 371 - keyword-independence.json: "dependentSchemas + minItems" - "object, dependentSchemas invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 372 - keyword-independence.json: "dependentSchemas + minItems" - "object, dependentSchemas valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 373 - keyword-independence.json: "maxProperties + minItems" - "array, minItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 374 - keyword-independence.json: "maxProperties + minItems" - "array, minItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 375 - keyword-independence.json: "maxProperties + minItems" - "object, maxProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 376 - keyword-independence.json: "maxProperties + minItems" - "object, maxProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 377 - keyword-independence.json: "minItems + minProperties" - "array, minItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 378 - keyword-independence.json: "minItems + minProperties" - "array, minItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 379 - keyword-independence.json: "minItems + minProperties" - "object, minProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 380 - keyword-independence.json: "minItems + minProperties" - "object, minProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 381 - keyword-independence.json: "minItems + patternProperties" - "array, minItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 382 - keyword-independence.json: "minItems + patternProperties" - "array, minItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 383 - keyword-independence.json: "minItems + patternProperties" - "object, patternProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 384 - keyword-independence.json: "minItems + patternProperties" - "object, patternProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 385 - keyword-independence.json: "minItems + properties" - "array, minItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 386 - keyword-independence.json: "minItems + properties" - "array, minItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 387 - keyword-independence.json: "minItems + properties" - "object, properties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 388 - keyword-independence.json: "minItems + properties" - "object, properties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 389 - keyword-independence.json: "minItems + propertyNames" - "array, minItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 390 - keyword-independence.json: "minItems + propertyNames" - "array, minItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 391 - keyword-independence.json: "minItems + propertyNames" - "object, propertyNames invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 392 - keyword-independence.json: "minItems + propertyNames" - "object, propertyNames valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 393 - keyword-independence.json: "minItems + required" - "array, minItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 394 - keyword-independence.json: "minItems + required" - "array, minItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 395 - keyword-independence.json: "minItems + required" - "object, required invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 396 - keyword-independence.json: "minItems + required" - "object, required valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 397 - keyword-independence.json: "minItems + unevaluatedProperties" - "array, minItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 398 - keyword-independence.json: "minItems + unevaluatedProperties" - "array, minItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 399 - keyword-independence.json: "minItems + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 400 - keyword-independence.json: "minItems + unevaluatedProperties" - "object, unevaluatedProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 401 - keyword-independence.json: "additionalProperties + prefixItems" - "array, prefixItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 402 - keyword-independence.json: "additionalProperties + prefixItems" - "array, prefixItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 403 - keyword-independence.json: "additionalProperties + prefixItems" - "object, additionalProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 404 - keyword-independence.json: "additionalProperties + prefixItems" - "object, additionalProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 405 - keyword-independence.json: "dependentRequired + prefixItems" - "array, prefixItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 406 - keyword-independence.json: "dependentRequired + prefixItems" - "array, prefixItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 407 - keyword-independence.json: "dependentRequired + prefixItems" - "object, dependentRequired invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 408 - keyword-independence.json: "dependentRequired + prefixItems" - "object, dependentRequired valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 409 - keyword-independence.json: "dependentSchemas + prefixItems" - "array, prefixItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 410 - keyword-independence.json: "dependentSchemas + prefixItems" - "array, prefixItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 411 - keyword-independence.json: "dependentSchemas + prefixItems" - "object, dependentSchemas invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 412 - keyword-independence.json: "dependentSchemas + prefixItems" - "object, dependentSchemas valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 413 - keyword-independence.json: "maxProperties + prefixItems" - "array, prefixItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 414 - keyword-independence.json: "maxProperties + prefixItems" - "array, prefixItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 415 - keyword-independence.json: "maxProperties + prefixItems" - "object, maxProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 416 - keyword-independence.json: "maxProperties + prefixItems" - "object, maxProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 417 - keyword-independence.json: "minProperties + prefixItems" - "array, prefixItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 418 - keyword-independence.json: "minProperties + prefixItems" - "array, prefixItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 419 - keyword-independence.json: "minProperties + prefixItems" - "object, minProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 420 - keyword-independence.json: "minProperties + prefixItems" - "object, minProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 421 - keyword-independence.json: "patternProperties + prefixItems" - "array, prefixItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 422 - keyword-independence.json: "patternProperties + prefixItems" - "array, prefixItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 423 - keyword-independence.json: "patternProperties + prefixItems" - "object, patternProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 424 - keyword-independence.json: "patternProperties + prefixItems" - "object, patternProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 425 - keyword-independence.json: "prefixItems + properties" - "array, prefixItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 426 - keyword-independence.json: "prefixItems + properties" - "array, prefixItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 427 - keyword-independence.json: "prefixItems + properties" - "object, properties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 428 - keyword-independence.json: "prefixItems + properties" - "object, properties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 429 - keyword-independence.json: "prefixItems + propertyNames" - "array, prefixItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 430 - keyword-independence.json: "prefixItems + propertyNames" - "array, prefixItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 431 - keyword-independence.json: "prefixItems + propertyNames" - "object, propertyNames invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 432 - keyword-independence.json: "prefixItems + propertyNames" - "object, propertyNames valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 433 - keyword-independence.json: "prefixItems + required" - "array, prefixItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 434 - keyword-independence.json: "prefixItems + required" - "array, prefixItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 435 - keyword-independence.json: "prefixItems + required" - "object, required invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 436 - keyword-independence.json: "prefixItems + required" - "object, required valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 437 - keyword-independence.json: "prefixItems + unevaluatedProperties" - "array, prefixItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 438 - keyword-independence.json: "prefixItems + unevaluatedProperties" - "array, prefixItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 439 - keyword-independence.json: "prefixItems + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 440 - keyword-independence.json: "prefixItems + unevaluatedProperties" - "object, unevaluatedProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 441 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 442 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 443 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "object, additionalProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 444 - keyword-independence.json: "additionalProperties + unevaluatedItems" - "object, additionalProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 445 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "array, unevaluatedItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 446 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "array, unevaluatedItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 447 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "object, dependentRequired invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 448 - keyword-independence.json: "dependentRequired + unevaluatedItems" - "object, dependentRequired valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 449 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "array, unevaluatedItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 450 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "array, unevaluatedItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 451 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "object, dependentSchemas invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 452 - keyword-independence.json: "dependentSchemas + unevaluatedItems" - "object, dependentSchemas valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 453 - keyword-independence.json: "maxProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 454 - keyword-independence.json: "maxProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 455 - keyword-independence.json: "maxProperties + unevaluatedItems" - "object, maxProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 456 - keyword-independence.json: "maxProperties + unevaluatedItems" - "object, maxProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 457 - keyword-independence.json: "minProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 458 - keyword-independence.json: "minProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 459 - keyword-independence.json: "minProperties + unevaluatedItems" - "object, minProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 460 - keyword-independence.json: "minProperties + unevaluatedItems" - "object, minProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 461 - keyword-independence.json: "patternProperties + unevaluatedItems" - "array, unevaluatedItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 462 - keyword-independence.json: "patternProperties + unevaluatedItems" - "array, unevaluatedItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 463 - keyword-independence.json: "patternProperties + unevaluatedItems" - "object, patternProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 464 - keyword-independence.json: "patternProperties + unevaluatedItems" - "object, patternProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 465 - keyword-independence.json: "properties + unevaluatedItems" - "array, unevaluatedItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 466 - keyword-independence.json: "properties + unevaluatedItems" - "array, unevaluatedItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 467 - keyword-independence.json: "properties + unevaluatedItems" - "object, properties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 468 - keyword-independence.json: "properties + unevaluatedItems" - "object, properties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 469 - keyword-independence.json: "propertyNames + unevaluatedItems" - "array, unevaluatedItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 470 - keyword-independence.json: "propertyNames + unevaluatedItems" - "array, unevaluatedItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 471 - keyword-independence.json: "propertyNames + unevaluatedItems" - "object, propertyNames invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 472 - keyword-independence.json: "propertyNames + unevaluatedItems" - "object, propertyNames valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 473 - keyword-independence.json: "required + unevaluatedItems" - "array, unevaluatedItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 474 - keyword-independence.json: "required + unevaluatedItems" - "array, unevaluatedItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 475 - keyword-independence.json: "required + unevaluatedItems" - "object, required invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 476 - keyword-independence.json: "required + unevaluatedItems" - "object, required valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 477 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "array, unevaluatedItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 478 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "array, unevaluatedItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 479 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 480 - keyword-independence.json: "unevaluatedItems + unevaluatedProperties" - "object, unevaluatedProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 481 - keyword-independence.json: "additionalProperties + uniqueItems" - "array, uniqueItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 482 - keyword-independence.json: "additionalProperties + uniqueItems" - "array, uniqueItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 483 - keyword-independence.json: "additionalProperties + uniqueItems" - "object, additionalProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 484 - keyword-independence.json: "additionalProperties + uniqueItems" - "object, additionalProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 485 - keyword-independence.json: "dependentRequired + uniqueItems" - "array, uniqueItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 486 - keyword-independence.json: "dependentRequired + uniqueItems" - "array, uniqueItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 487 - keyword-independence.json: "dependentRequired + uniqueItems" - "object, dependentRequired invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 488 - keyword-independence.json: "dependentRequired + uniqueItems" - "object, dependentRequired valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 489 - keyword-independence.json: "dependentSchemas + uniqueItems" - "array, uniqueItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 490 - keyword-independence.json: "dependentSchemas + uniqueItems" - "array, uniqueItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 491 - keyword-independence.json: "dependentSchemas + uniqueItems" - "object, dependentSchemas invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 492 - keyword-independence.json: "dependentSchemas + uniqueItems" - "object, dependentSchemas valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 493 - keyword-independence.json: "maxProperties + uniqueItems" - "array, uniqueItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 494 - keyword-independence.json: "maxProperties + uniqueItems" - "array, uniqueItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 495 - keyword-independence.json: "maxProperties + uniqueItems" - "object, maxProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 496 - keyword-independence.json: "maxProperties + uniqueItems" - "object, maxProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 497 - keyword-independence.json: "minProperties + uniqueItems" - "array, uniqueItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 498 - keyword-independence.json: "minProperties + uniqueItems" - "array, uniqueItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 499 - keyword-independence.json: "minProperties + uniqueItems" - "object, minProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 500 - keyword-independence.json: "minProperties + uniqueItems" - "object, minProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 501 - keyword-independence.json: "patternProperties + uniqueItems" - "array, uniqueItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 502 - keyword-independence.json: "patternProperties + uniqueItems" - "array, uniqueItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 503 - keyword-independence.json: "patternProperties + uniqueItems" - "object, patternProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 504 - keyword-independence.json: "patternProperties + uniqueItems" - "object, patternProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 505 - keyword-independence.json: "properties + uniqueItems" - "array, uniqueItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 506 - keyword-independence.json: "properties + uniqueItems" - "array, uniqueItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 507 - keyword-independence.json: "properties + uniqueItems" - "object, properties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 508 - keyword-independence.json: "properties + uniqueItems" - "object, properties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 509 - keyword-independence.json: "propertyNames + uniqueItems" - "array, uniqueItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 510 - keyword-independence.json: "propertyNames + uniqueItems" - "array, uniqueItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 511 - keyword-independence.json: "propertyNames + uniqueItems" - "object, propertyNames invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 512 - keyword-independence.json: "propertyNames + uniqueItems" - "object, propertyNames valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 513 - keyword-independence.json: "required + uniqueItems" - "array, uniqueItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 514 - keyword-independence.json: "required + uniqueItems" - "array, uniqueItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 515 - keyword-independence.json: "required + uniqueItems" - "object, required invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 516 - keyword-independence.json: "required + uniqueItems" - "object, required valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 517 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "array, uniqueItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 518 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "array, uniqueItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 519 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "object, unevaluatedProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 520 - keyword-independence.json: "unevaluatedProperties + uniqueItems" - "object, unevaluatedProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 521 - keyword-independence.json: "contains + maxLength" - "array, contains invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 522 - keyword-independence.json: "contains + maxLength" - "array, contains valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 523 - keyword-independence.json: "contains + maxLength" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 524 - keyword-independence.json: "contains + maxLength" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 525 - keyword-independence.json: "contains + minLength" - "array, contains invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 526 - keyword-independence.json: "contains + minLength" - "array, contains valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 527 - keyword-independence.json: "contains + minLength" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 528 - keyword-independence.json: "contains + minLength" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 529 - keyword-independence.json: "contains + pattern" - "array, contains invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is not valid against any item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/contains" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 530 - keyword-independence.json: "contains + pattern" - "array, contains valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 531 - keyword-independence.json: "contains + pattern" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 532 - keyword-independence.json: "contains + pattern" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 533 - keyword-independence.json: "items + maxLength" - "array, items invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 534 - keyword-independence.json: "items + maxLength" - "array, items valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 535 - keyword-independence.json: "items + maxLength" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 536 - keyword-independence.json: "items + maxLength" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 537 - keyword-independence.json: "items + minLength" - "array, items invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 538 - keyword-independence.json: "items + minLength" - "array, items valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 539 - keyword-independence.json: "items + minLength" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 540 - keyword-independence.json: "items + minLength" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 541 - keyword-independence.json: "items + pattern" - "array, items invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/items" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 542 - keyword-independence.json: "items + pattern" - "array, items valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 543 - keyword-independence.json: "items + pattern" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 544 - keyword-independence.json: "items + pattern" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 545 - keyword-independence.json: "maxItems + maxLength" - "array, maxItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 546 - keyword-independence.json: "maxItems + maxLength" - "array, maxItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 547 - keyword-independence.json: "maxItems + maxLength" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 548 - keyword-independence.json: "maxItems + maxLength" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 549 - keyword-independence.json: "maxItems + minLength" - "array, maxItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 550 - keyword-independence.json: "maxItems + minLength" - "array, maxItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 551 - keyword-independence.json: "maxItems + minLength" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 552 - keyword-independence.json: "maxItems + minLength" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 553 - keyword-independence.json: "maxItems + pattern" - "array, maxItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has more than 1 item", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 554 - keyword-independence.json: "maxItems + pattern" - "array, maxItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 555 - keyword-independence.json: "maxItems + pattern" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 556 - keyword-independence.json: "maxItems + pattern" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 557 - keyword-independence.json: "maxLength + minItems" - "array, minItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 558 - keyword-independence.json: "maxLength + minItems" - "array, minItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 559 - keyword-independence.json: "maxLength + minItems" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 560 - keyword-independence.json: "maxLength + minItems" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 561 - keyword-independence.json: "minItems + minLength" - "array, minItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 562 - keyword-independence.json: "minItems + minLength" - "array, minItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 563 - keyword-independence.json: "minItems + minLength" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 564 - keyword-independence.json: "minItems + minLength" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 565 - keyword-independence.json: "minItems + pattern" - "array, minItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "array has fewer than 2 items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 566 - keyword-independence.json: "minItems + pattern" - "array, minItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 567 - keyword-independence.json: "minItems + pattern" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 568 - keyword-independence.json: "minItems + pattern" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 569 - keyword-independence.json: "maxLength + prefixItems" - "array, prefixItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 570 - keyword-independence.json: "maxLength + prefixItems" - "array, prefixItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 571 - keyword-independence.json: "maxLength + prefixItems" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 572 - keyword-independence.json: "maxLength + prefixItems" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 573 - keyword-independence.json: "minLength + prefixItems" - "array, prefixItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 574 - keyword-independence.json: "minLength + prefixItems" - "array, prefixItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 575 - keyword-independence.json: "minLength + prefixItems" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 576 - keyword-independence.json: "minLength + prefixItems" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 577 - keyword-independence.json: "pattern + prefixItems" - "array, prefixItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/prefixItems/0" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 578 - keyword-independence.json: "pattern + prefixItems" - "array, prefixItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 579 - keyword-independence.json: "pattern + prefixItems" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 580 - keyword-independence.json: "pattern + prefixItems" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 581 - keyword-independence.json: "maxLength + unevaluatedItems" - "array, unevaluatedItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 582 - keyword-independence.json: "maxLength + unevaluatedItems" - "array, unevaluatedItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 583 - keyword-independence.json: "maxLength + unevaluatedItems" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 584 - keyword-independence.json: "maxLength + unevaluatedItems" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 585 - keyword-independence.json: "minLength + unevaluatedItems" - "array, unevaluatedItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 586 - keyword-independence.json: "minLength + unevaluatedItems" - "array, unevaluatedItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 587 - keyword-independence.json: "minLength + unevaluatedItems" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 588 - keyword-independence.json: "minLength + unevaluatedItems" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 589 - keyword-independence.json: "pattern + unevaluatedItems" - "array, unevaluatedItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional item not permitted", 143s # "instanceLocation": "/0", 143s # "keywordLocation": "/unevaluatedItems" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 590 - keyword-independence.json: "pattern + unevaluatedItems" - "array, unevaluatedItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 591 - keyword-independence.json: "pattern + unevaluatedItems" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 592 - keyword-independence.json: "pattern + unevaluatedItems" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 593 - keyword-independence.json: "maxLength + uniqueItems" - "array, uniqueItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 594 - keyword-independence.json: "maxLength + uniqueItems" - "array, uniqueItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 595 - keyword-independence.json: "maxLength + uniqueItems" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 596 - keyword-independence.json: "maxLength + uniqueItems" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 597 - keyword-independence.json: "minLength + uniqueItems" - "array, uniqueItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 598 - keyword-independence.json: "minLength + uniqueItems" - "array, uniqueItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 599 - keyword-independence.json: "minLength + uniqueItems" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 600 - keyword-independence.json: "minLength + uniqueItems" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 601 - keyword-independence.json: "pattern + uniqueItems" - "array, uniqueItems invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "items at indices 0 and 1 are not unique", 143s # "instanceLocation": "", 143s # "keywordLocation": "/uniqueItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 602 - keyword-independence.json: "pattern + uniqueItems" - "array, uniqueItems valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 603 - keyword-independence.json: "pattern + uniqueItems" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 604 - keyword-independence.json: "pattern + uniqueItems" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 605 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 606 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "number, exclusiveMaximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 607 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "object, additionalProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 608 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "object, additionalProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 609 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 610 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "number, exclusiveMaximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 611 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "object, dependentRequired invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 612 - keyword-independence.json: "dependentRequired + exclusiveMaximum" - "object, dependentRequired valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 613 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 614 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "number, exclusiveMaximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 615 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "object, dependentSchemas invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 616 - keyword-independence.json: "dependentSchemas + exclusiveMaximum" - "object, dependentSchemas valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 617 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "number, exclusiveMaximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 618 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "number, exclusiveMaximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 619 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "object, maxProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 620 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "object, maxProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 621 - keyword-independence.json: "exclusiveMaximum + minProperties" - "number, exclusiveMaximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 622 - keyword-independence.json: "exclusiveMaximum + minProperties" - "number, exclusiveMaximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 623 - keyword-independence.json: "exclusiveMaximum + minProperties" - "object, minProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 624 - keyword-independence.json: "exclusiveMaximum + minProperties" - "object, minProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 625 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "number, exclusiveMaximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 626 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "number, exclusiveMaximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 627 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "object, patternProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 628 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "object, patternProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 629 - keyword-independence.json: "exclusiveMaximum + properties" - "number, exclusiveMaximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 630 - keyword-independence.json: "exclusiveMaximum + properties" - "number, exclusiveMaximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 631 - keyword-independence.json: "exclusiveMaximum + properties" - "object, properties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 632 - keyword-independence.json: "exclusiveMaximum + properties" - "object, properties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 633 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "number, exclusiveMaximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 634 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "number, exclusiveMaximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 635 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "object, propertyNames invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 636 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "object, propertyNames valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 637 - keyword-independence.json: "exclusiveMaximum + required" - "number, exclusiveMaximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 638 - keyword-independence.json: "exclusiveMaximum + required" - "number, exclusiveMaximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 639 - keyword-independence.json: "exclusiveMaximum + required" - "object, required invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 640 - keyword-independence.json: "exclusiveMaximum + required" - "object, required valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 641 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "number, exclusiveMaximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 642 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "number, exclusiveMaximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 643 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 644 - keyword-independence.json: "exclusiveMaximum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 645 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 646 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "number, exclusiveMinimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 647 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "object, additionalProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 648 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "object, additionalProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 649 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 650 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "number, exclusiveMinimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 651 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "object, dependentRequired invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 652 - keyword-independence.json: "dependentRequired + exclusiveMinimum" - "object, dependentRequired valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 653 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 654 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "number, exclusiveMinimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 655 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "object, dependentSchemas invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 656 - keyword-independence.json: "dependentSchemas + exclusiveMinimum" - "object, dependentSchemas valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 657 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "number, exclusiveMinimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 658 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "number, exclusiveMinimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 659 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "object, maxProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 660 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "object, maxProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 661 - keyword-independence.json: "exclusiveMinimum + minProperties" - "number, exclusiveMinimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 662 - keyword-independence.json: "exclusiveMinimum + minProperties" - "number, exclusiveMinimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 663 - keyword-independence.json: "exclusiveMinimum + minProperties" - "object, minProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 664 - keyword-independence.json: "exclusiveMinimum + minProperties" - "object, minProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 665 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "number, exclusiveMinimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 666 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "number, exclusiveMinimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 667 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "object, patternProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 668 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "object, patternProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 669 - keyword-independence.json: "exclusiveMinimum + properties" - "number, exclusiveMinimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 670 - keyword-independence.json: "exclusiveMinimum + properties" - "number, exclusiveMinimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 671 - keyword-independence.json: "exclusiveMinimum + properties" - "object, properties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 672 - keyword-independence.json: "exclusiveMinimum + properties" - "object, properties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 673 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "number, exclusiveMinimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 674 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "number, exclusiveMinimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 675 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "object, propertyNames invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 676 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "object, propertyNames valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 677 - keyword-independence.json: "exclusiveMinimum + required" - "number, exclusiveMinimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 678 - keyword-independence.json: "exclusiveMinimum + required" - "number, exclusiveMinimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 679 - keyword-independence.json: "exclusiveMinimum + required" - "object, required invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 680 - keyword-independence.json: "exclusiveMinimum + required" - "object, required valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 681 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "number, exclusiveMinimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 682 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "number, exclusiveMinimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 683 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 684 - keyword-independence.json: "exclusiveMinimum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 685 - keyword-independence.json: "additionalProperties + maximum" - "number, maximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 686 - keyword-independence.json: "additionalProperties + maximum" - "number, maximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 687 - keyword-independence.json: "additionalProperties + maximum" - "object, additionalProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 688 - keyword-independence.json: "additionalProperties + maximum" - "object, additionalProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 689 - keyword-independence.json: "dependentRequired + maximum" - "number, maximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 690 - keyword-independence.json: "dependentRequired + maximum" - "number, maximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 691 - keyword-independence.json: "dependentRequired + maximum" - "object, dependentRequired invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 692 - keyword-independence.json: "dependentRequired + maximum" - "object, dependentRequired valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 693 - keyword-independence.json: "dependentSchemas + maximum" - "number, maximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 694 - keyword-independence.json: "dependentSchemas + maximum" - "number, maximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 695 - keyword-independence.json: "dependentSchemas + maximum" - "object, dependentSchemas invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 696 - keyword-independence.json: "dependentSchemas + maximum" - "object, dependentSchemas valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 697 - keyword-independence.json: "maxProperties + maximum" - "number, maximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 698 - keyword-independence.json: "maxProperties + maximum" - "number, maximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 699 - keyword-independence.json: "maxProperties + maximum" - "object, maxProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 700 - keyword-independence.json: "maxProperties + maximum" - "object, maxProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 701 - keyword-independence.json: "maximum + minProperties" - "number, maximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 702 - keyword-independence.json: "maximum + minProperties" - "number, maximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 703 - keyword-independence.json: "maximum + minProperties" - "object, minProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 704 - keyword-independence.json: "maximum + minProperties" - "object, minProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 705 - keyword-independence.json: "maximum + patternProperties" - "number, maximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 706 - keyword-independence.json: "maximum + patternProperties" - "number, maximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 707 - keyword-independence.json: "maximum + patternProperties" - "object, patternProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 708 - keyword-independence.json: "maximum + patternProperties" - "object, patternProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 709 - keyword-independence.json: "maximum + properties" - "number, maximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 710 - keyword-independence.json: "maximum + properties" - "number, maximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 711 - keyword-independence.json: "maximum + properties" - "object, properties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 712 - keyword-independence.json: "maximum + properties" - "object, properties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 713 - keyword-independence.json: "maximum + propertyNames" - "number, maximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 714 - keyword-independence.json: "maximum + propertyNames" - "number, maximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 715 - keyword-independence.json: "maximum + propertyNames" - "object, propertyNames invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 716 - keyword-independence.json: "maximum + propertyNames" - "object, propertyNames valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 717 - keyword-independence.json: "maximum + required" - "number, maximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 718 - keyword-independence.json: "maximum + required" - "number, maximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 719 - keyword-independence.json: "maximum + required" - "object, required invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 720 - keyword-independence.json: "maximum + required" - "object, required valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 721 - keyword-independence.json: "maximum + unevaluatedProperties" - "number, maximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 722 - keyword-independence.json: "maximum + unevaluatedProperties" - "number, maximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 723 - keyword-independence.json: "maximum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 724 - keyword-independence.json: "maximum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 725 - keyword-independence.json: "additionalProperties + minimum" - "number, minimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 726 - keyword-independence.json: "additionalProperties + minimum" - "number, minimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 727 - keyword-independence.json: "additionalProperties + minimum" - "object, additionalProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 728 - keyword-independence.json: "additionalProperties + minimum" - "object, additionalProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 729 - keyword-independence.json: "dependentRequired + minimum" - "number, minimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 730 - keyword-independence.json: "dependentRequired + minimum" - "number, minimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 731 - keyword-independence.json: "dependentRequired + minimum" - "object, dependentRequired invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 732 - keyword-independence.json: "dependentRequired + minimum" - "object, dependentRequired valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 733 - keyword-independence.json: "dependentSchemas + minimum" - "number, minimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 734 - keyword-independence.json: "dependentSchemas + minimum" - "number, minimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 735 - keyword-independence.json: "dependentSchemas + minimum" - "object, dependentSchemas invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 736 - keyword-independence.json: "dependentSchemas + minimum" - "object, dependentSchemas valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 737 - keyword-independence.json: "maxProperties + minimum" - "number, minimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 738 - keyword-independence.json: "maxProperties + minimum" - "number, minimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 739 - keyword-independence.json: "maxProperties + minimum" - "object, maxProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 740 - keyword-independence.json: "maxProperties + minimum" - "object, maxProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 741 - keyword-independence.json: "minProperties + minimum" - "number, minimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 742 - keyword-independence.json: "minProperties + minimum" - "number, minimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 743 - keyword-independence.json: "minProperties + minimum" - "object, minProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 744 - keyword-independence.json: "minProperties + minimum" - "object, minProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 745 - keyword-independence.json: "minimum + patternProperties" - "number, minimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 746 - keyword-independence.json: "minimum + patternProperties" - "number, minimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 747 - keyword-independence.json: "minimum + patternProperties" - "object, patternProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 748 - keyword-independence.json: "minimum + patternProperties" - "object, patternProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 749 - keyword-independence.json: "minimum + properties" - "number, minimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 750 - keyword-independence.json: "minimum + properties" - "number, minimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 751 - keyword-independence.json: "minimum + properties" - "object, properties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 752 - keyword-independence.json: "minimum + properties" - "object, properties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 753 - keyword-independence.json: "minimum + propertyNames" - "number, minimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 754 - keyword-independence.json: "minimum + propertyNames" - "number, minimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 755 - keyword-independence.json: "minimum + propertyNames" - "object, propertyNames invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 756 - keyword-independence.json: "minimum + propertyNames" - "object, propertyNames valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 757 - keyword-independence.json: "minimum + required" - "number, minimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 758 - keyword-independence.json: "minimum + required" - "number, minimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 759 - keyword-independence.json: "minimum + required" - "object, required invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 760 - keyword-independence.json: "minimum + required" - "object, required valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 761 - keyword-independence.json: "minimum + unevaluatedProperties" - "number, minimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 762 - keyword-independence.json: "minimum + unevaluatedProperties" - "number, minimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 763 - keyword-independence.json: "minimum + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 764 - keyword-independence.json: "minimum + unevaluatedProperties" - "object, unevaluatedProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 765 - keyword-independence.json: "additionalProperties + multipleOf" - "number, multipleOf invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 766 - keyword-independence.json: "additionalProperties + multipleOf" - "number, multipleOf valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 767 - keyword-independence.json: "additionalProperties + multipleOf" - "object, additionalProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 768 - keyword-independence.json: "additionalProperties + multipleOf" - "object, additionalProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 769 - keyword-independence.json: "dependentRequired + multipleOf" - "number, multipleOf invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 770 - keyword-independence.json: "dependentRequired + multipleOf" - "number, multipleOf valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 771 - keyword-independence.json: "dependentRequired + multipleOf" - "object, dependentRequired invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 772 - keyword-independence.json: "dependentRequired + multipleOf" - "object, dependentRequired valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 773 - keyword-independence.json: "dependentSchemas + multipleOf" - "number, multipleOf invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 774 - keyword-independence.json: "dependentSchemas + multipleOf" - "number, multipleOf valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 775 - keyword-independence.json: "dependentSchemas + multipleOf" - "object, dependentSchemas invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 776 - keyword-independence.json: "dependentSchemas + multipleOf" - "object, dependentSchemas valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 777 - keyword-independence.json: "maxProperties + multipleOf" - "number, multipleOf invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 778 - keyword-independence.json: "maxProperties + multipleOf" - "number, multipleOf valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 779 - keyword-independence.json: "maxProperties + multipleOf" - "object, maxProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 780 - keyword-independence.json: "maxProperties + multipleOf" - "object, maxProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 781 - keyword-independence.json: "minProperties + multipleOf" - "number, multipleOf invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 782 - keyword-independence.json: "minProperties + multipleOf" - "number, multipleOf valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 783 - keyword-independence.json: "minProperties + multipleOf" - "object, minProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 784 - keyword-independence.json: "minProperties + multipleOf" - "object, minProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 785 - keyword-independence.json: "multipleOf + patternProperties" - "number, multipleOf invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 786 - keyword-independence.json: "multipleOf + patternProperties" - "number, multipleOf valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 787 - keyword-independence.json: "multipleOf + patternProperties" - "object, patternProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 788 - keyword-independence.json: "multipleOf + patternProperties" - "object, patternProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 789 - keyword-independence.json: "multipleOf + properties" - "number, multipleOf invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 790 - keyword-independence.json: "multipleOf + properties" - "number, multipleOf valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 791 - keyword-independence.json: "multipleOf + properties" - "object, properties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 792 - keyword-independence.json: "multipleOf + properties" - "object, properties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 793 - keyword-independence.json: "multipleOf + propertyNames" - "number, multipleOf invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 794 - keyword-independence.json: "multipleOf + propertyNames" - "number, multipleOf valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 795 - keyword-independence.json: "multipleOf + propertyNames" - "object, propertyNames invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 796 - keyword-independence.json: "multipleOf + propertyNames" - "object, propertyNames valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 797 - keyword-independence.json: "multipleOf + required" - "number, multipleOf invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 798 - keyword-independence.json: "multipleOf + required" - "number, multipleOf valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 799 - keyword-independence.json: "multipleOf + required" - "object, required invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 800 - keyword-independence.json: "multipleOf + required" - "object, required valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 801 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "number, multipleOf invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 802 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "number, multipleOf valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 803 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 804 - keyword-independence.json: "multipleOf + unevaluatedProperties" - "object, unevaluatedProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 805 - keyword-independence.json: "exclusiveMaximum + maxLength" - "number, exclusiveMaximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 806 - keyword-independence.json: "exclusiveMaximum + maxLength" - "number, exclusiveMaximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 807 - keyword-independence.json: "exclusiveMaximum + maxLength" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 808 - keyword-independence.json: "exclusiveMaximum + maxLength" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 809 - keyword-independence.json: "exclusiveMaximum + minLength" - "number, exclusiveMaximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 810 - keyword-independence.json: "exclusiveMaximum + minLength" - "number, exclusiveMaximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 811 - keyword-independence.json: "exclusiveMaximum + minLength" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 812 - keyword-independence.json: "exclusiveMaximum + minLength" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 813 - keyword-independence.json: "exclusiveMaximum + pattern" - "number, exclusiveMaximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMaximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 814 - keyword-independence.json: "exclusiveMaximum + pattern" - "number, exclusiveMaximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 815 - keyword-independence.json: "exclusiveMaximum + pattern" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 816 - keyword-independence.json: "exclusiveMaximum + pattern" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 817 - keyword-independence.json: "exclusiveMinimum + maxLength" - "number, exclusiveMinimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 818 - keyword-independence.json: "exclusiveMinimum + maxLength" - "number, exclusiveMinimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 819 - keyword-independence.json: "exclusiveMinimum + maxLength" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 820 - keyword-independence.json: "exclusiveMinimum + maxLength" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 821 - keyword-independence.json: "exclusiveMinimum + minLength" - "number, exclusiveMinimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 822 - keyword-independence.json: "exclusiveMinimum + minLength" - "number, exclusiveMinimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 823 - keyword-independence.json: "exclusiveMinimum + minLength" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 824 - keyword-independence.json: "exclusiveMinimum + minLength" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 825 - keyword-independence.json: "exclusiveMinimum + pattern" - "number, exclusiveMinimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than or equal to 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/exclusiveMinimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 826 - keyword-independence.json: "exclusiveMinimum + pattern" - "number, exclusiveMinimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 827 - keyword-independence.json: "exclusiveMinimum + pattern" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 828 - keyword-independence.json: "exclusiveMinimum + pattern" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 829 - keyword-independence.json: "maxLength + maximum" - "number, maximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 830 - keyword-independence.json: "maxLength + maximum" - "number, maximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 831 - keyword-independence.json: "maxLength + maximum" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 832 - keyword-independence.json: "maxLength + maximum" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 833 - keyword-independence.json: "maximum + minLength" - "number, maximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 834 - keyword-independence.json: "maximum + minLength" - "number, maximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 835 - keyword-independence.json: "maximum + minLength" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 836 - keyword-independence.json: "maximum + minLength" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 837 - keyword-independence.json: "maximum + pattern" - "number, maximum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 838 - keyword-independence.json: "maximum + pattern" - "number, maximum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 839 - keyword-independence.json: "maximum + pattern" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 840 - keyword-independence.json: "maximum + pattern" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 841 - keyword-independence.json: "maxLength + minimum" - "number, minimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 842 - keyword-independence.json: "maxLength + minimum" - "number, minimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 843 - keyword-independence.json: "maxLength + minimum" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 844 - keyword-independence.json: "maxLength + minimum" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 845 - keyword-independence.json: "minLength + minimum" - "number, minimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 846 - keyword-independence.json: "minLength + minimum" - "number, minimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 847 - keyword-independence.json: "minLength + minimum" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 848 - keyword-independence.json: "minLength + minimum" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 849 - keyword-independence.json: "minimum + pattern" - "number, minimum invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minimum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 850 - keyword-independence.json: "minimum + pattern" - "number, minimum valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 851 - keyword-independence.json: "minimum + pattern" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 852 - keyword-independence.json: "minimum + pattern" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 853 - keyword-independence.json: "maxLength + multipleOf" - "number, multipleOf invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 854 - keyword-independence.json: "maxLength + multipleOf" - "number, multipleOf valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 855 - keyword-independence.json: "maxLength + multipleOf" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 856 - keyword-independence.json: "maxLength + multipleOf" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 857 - keyword-independence.json: "minLength + multipleOf" - "number, multipleOf invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 858 - keyword-independence.json: "minLength + multipleOf" - "number, multipleOf valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 859 - keyword-independence.json: "minLength + multipleOf" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 860 - keyword-independence.json: "minLength + multipleOf" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 861 - keyword-independence.json: "multipleOf + pattern" - "number, multipleOf invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/multipleOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 862 - keyword-independence.json: "multipleOf + pattern" - "number, multipleOf valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 863 - keyword-independence.json: "multipleOf + pattern" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 864 - keyword-independence.json: "multipleOf + pattern" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 865 - keyword-independence.json: "additionalProperties + maxLength" - "object, additionalProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 866 - keyword-independence.json: "additionalProperties + maxLength" - "object, additionalProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 867 - keyword-independence.json: "additionalProperties + maxLength" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 868 - keyword-independence.json: "additionalProperties + maxLength" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 869 - keyword-independence.json: "additionalProperties + minLength" - "object, additionalProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 870 - keyword-independence.json: "additionalProperties + minLength" - "object, additionalProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 871 - keyword-independence.json: "additionalProperties + minLength" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 872 - keyword-independence.json: "additionalProperties + minLength" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 873 - keyword-independence.json: "additionalProperties + pattern" - "object, additionalProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/additionalProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 874 - keyword-independence.json: "additionalProperties + pattern" - "object, additionalProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 875 - keyword-independence.json: "additionalProperties + pattern" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 876 - keyword-independence.json: "additionalProperties + pattern" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 877 - keyword-independence.json: "dependentRequired + maxLength" - "object, dependentRequired invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 878 - keyword-independence.json: "dependentRequired + maxLength" - "object, dependentRequired valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 879 - keyword-independence.json: "dependentRequired + maxLength" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 880 - keyword-independence.json: "dependentRequired + maxLength" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 881 - keyword-independence.json: "dependentRequired + minLength" - "object, dependentRequired invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 882 - keyword-independence.json: "dependentRequired + minLength" - "object, dependentRequired valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 883 - keyword-independence.json: "dependentRequired + minLength" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 884 - keyword-independence.json: "dependentRequired + minLength" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 885 - keyword-independence.json: "dependentRequired + pattern" - "object, dependentRequired invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: y", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentRequired" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 886 - keyword-independence.json: "dependentRequired + pattern" - "object, dependentRequired valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 887 - keyword-independence.json: "dependentRequired + pattern" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 888 - keyword-independence.json: "dependentRequired + pattern" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 889 - keyword-independence.json: "dependentSchemas + maxLength" - "object, dependentSchemas invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 890 - keyword-independence.json: "dependentSchemas + maxLength" - "object, dependentSchemas valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 891 - keyword-independence.json: "dependentSchemas + maxLength" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 892 - keyword-independence.json: "dependentSchemas + maxLength" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 893 - keyword-independence.json: "dependentSchemas + minLength" - "object, dependentSchemas invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 894 - keyword-independence.json: "dependentSchemas + minLength" - "object, dependentSchemas valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 895 - keyword-independence.json: "dependentSchemas + minLength" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 896 - keyword-independence.json: "dependentSchemas + minLength" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 897 - keyword-independence.json: "dependentSchemas + pattern" - "object, dependentSchemas invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas/x" 143s # }, 143s # { 143s # "error": "not all dependencies are satisfied", 143s # "instanceLocation": "", 143s # "keywordLocation": "/dependentSchemas" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 898 - keyword-independence.json: "dependentSchemas + pattern" - "object, dependentSchemas valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 899 - keyword-independence.json: "dependentSchemas + pattern" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 900 - keyword-independence.json: "dependentSchemas + pattern" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 901 - keyword-independence.json: "maxLength + maxProperties" - "object, maxProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 902 - keyword-independence.json: "maxLength + maxProperties" - "object, maxProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 903 - keyword-independence.json: "maxLength + maxProperties" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 904 - keyword-independence.json: "maxLength + maxProperties" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 905 - keyword-independence.json: "maxProperties + minLength" - "object, maxProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 906 - keyword-independence.json: "maxProperties + minLength" - "object, maxProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 907 - keyword-independence.json: "maxProperties + minLength" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 908 - keyword-independence.json: "maxProperties + minLength" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 909 - keyword-independence.json: "maxProperties + pattern" - "object, maxProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has more than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 910 - keyword-independence.json: "maxProperties + pattern" - "object, maxProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 911 - keyword-independence.json: "maxProperties + pattern" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 912 - keyword-independence.json: "maxProperties + pattern" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 913 - keyword-independence.json: "maxLength + minProperties" - "object, minProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 914 - keyword-independence.json: "maxLength + minProperties" - "object, minProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 915 - keyword-independence.json: "maxLength + minProperties" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 916 - keyword-independence.json: "maxLength + minProperties" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 917 - keyword-independence.json: "minLength + minProperties" - "object, minProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 918 - keyword-independence.json: "minLength + minProperties" - "object, minProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 919 - keyword-independence.json: "minLength + minProperties" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 920 - keyword-independence.json: "minLength + minProperties" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 921 - keyword-independence.json: "minProperties + pattern" - "object, minProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object has fewer than 1 property", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 922 - keyword-independence.json: "minProperties + pattern" - "object, minProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 923 - keyword-independence.json: "minProperties + pattern" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 924 - keyword-independence.json: "minProperties + pattern" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 925 - keyword-independence.json: "maxLength + patternProperties" - "object, patternProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 926 - keyword-independence.json: "maxLength + patternProperties" - "object, patternProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 927 - keyword-independence.json: "maxLength + patternProperties" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 928 - keyword-independence.json: "maxLength + patternProperties" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 929 - keyword-independence.json: "minLength + patternProperties" - "object, patternProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 930 - keyword-independence.json: "minLength + patternProperties" - "object, patternProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 931 - keyword-independence.json: "minLength + patternProperties" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 932 - keyword-independence.json: "minLength + patternProperties" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 933 - keyword-independence.json: "pattern + patternProperties" - "object, patternProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/no", 143s # "keywordLocation": "/patternProperties/no" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 934 - keyword-independence.json: "pattern + patternProperties" - "object, patternProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 935 - keyword-independence.json: "pattern + patternProperties" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 936 - keyword-independence.json: "pattern + patternProperties" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 937 - keyword-independence.json: "maxLength + properties" - "object, properties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 938 - keyword-independence.json: "maxLength + properties" - "object, properties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 939 - keyword-independence.json: "maxLength + properties" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 940 - keyword-independence.json: "maxLength + properties" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 941 - keyword-independence.json: "minLength + properties" - "object, properties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 942 - keyword-independence.json: "minLength + properties" - "object, properties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 943 - keyword-independence.json: "minLength + properties" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 944 - keyword-independence.json: "minLength + properties" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 945 - keyword-independence.json: "pattern + properties" - "object, properties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/properties/x" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 946 - keyword-independence.json: "pattern + properties" - "object, properties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 947 - keyword-independence.json: "pattern + properties" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 948 - keyword-independence.json: "pattern + properties" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 949 - keyword-independence.json: "maxLength + propertyNames" - "object, propertyNames invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 950 - keyword-independence.json: "maxLength + propertyNames" - "object, propertyNames valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 951 - keyword-independence.json: "maxLength + propertyNames" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 952 - keyword-independence.json: "maxLength + propertyNames" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 953 - keyword-independence.json: "minLength + propertyNames" - "object, propertyNames invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 954 - keyword-independence.json: "minLength + propertyNames" - "object, propertyNames valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 955 - keyword-independence.json: "minLength + propertyNames" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 956 - keyword-independence.json: "minLength + propertyNames" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 957 - keyword-independence.json: "pattern + propertyNames" - "object, propertyNames invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "subschema is false", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/propertyNames" 143s # }, 143s # { 143s # "error": "not all property names are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/propertyNames" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 958 - keyword-independence.json: "pattern + propertyNames" - "object, propertyNames valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 959 - keyword-independence.json: "pattern + propertyNames" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 960 - keyword-independence.json: "pattern + propertyNames" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 961 - keyword-independence.json: "maxLength + required" - "object, required invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 962 - keyword-independence.json: "maxLength + required" - "object, required valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 963 - keyword-independence.json: "maxLength + required" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 964 - keyword-independence.json: "maxLength + required" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 965 - keyword-independence.json: "minLength + required" - "object, required invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 966 - keyword-independence.json: "minLength + required" - "object, required valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 967 - keyword-independence.json: "minLength + required" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 968 - keyword-independence.json: "minLength + required" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 969 - keyword-independence.json: "pattern + required" - "object, required invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "object is missing property: x", 143s # "instanceLocation": "", 143s # "keywordLocation": "/required" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 970 - keyword-independence.json: "pattern + required" - "object, required valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 971 - keyword-independence.json: "pattern + required" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 972 - keyword-independence.json: "pattern + required" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 973 - keyword-independence.json: "maxLength + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 974 - keyword-independence.json: "maxLength + unevaluatedProperties" - "object, unevaluatedProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 975 - keyword-independence.json: "maxLength + unevaluatedProperties" - "string, maxLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is greater than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/maxLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 976 - keyword-independence.json: "maxLength + unevaluatedProperties" - "string, maxLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 977 - keyword-independence.json: "minLength + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 978 - keyword-independence.json: "minLength + unevaluatedProperties" - "object, unevaluatedProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 979 - keyword-independence.json: "minLength + unevaluatedProperties" - "string, minLength invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "length is less than 2", 143s # "instanceLocation": "", 143s # "keywordLocation": "/minLength" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 980 - keyword-independence.json: "minLength + unevaluatedProperties" - "string, minLength valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 981 - keyword-independence.json: "pattern + unevaluatedProperties" - "object, unevaluatedProperties invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "additional property not permitted", 143s # "instanceLocation": "/x", 143s # "keywordLocation": "/unevaluatedProperties" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 982 - keyword-independence.json: "pattern + unevaluatedProperties" - "object, unevaluatedProperties valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 983 - keyword-independence.json: "pattern + unevaluatedProperties" - "string, pattern invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "pattern does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/pattern" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 984 - keyword-independence.json: "pattern + unevaluatedProperties" - "string, pattern valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s # 143s ok 985 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const numeric value does not match string" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value does not match", 143s # "instanceLocation": "/const_string", 143s # "keywordLocation": "/properties/const_string/const" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value does not match", 143s # "instanceLocation": "/const_string", 143s # "keywordLocation": "/properties/const_string/const" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 986 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const numeric value does match number" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 987 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const string value matches string" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 988 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const string value does not match number" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value does not match", 143s # "instanceLocation": "/const_number", 143s # "keywordLocation": "/properties/const_number/const" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value does not match", 143s # "instanceLocation": "/const_number", 143s # "keywordLocation": "/properties/const_number/const" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 989 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum numeric value does not match string" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value does not match", 143s # "instanceLocation": "/enum_string", 143s # "keywordLocation": "/properties/enum_string/enum" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value does not match", 143s # "instanceLocation": "/enum_string", 143s # "keywordLocation": "/properties/enum_string/enum" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 990 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum numeric value does match number" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 991 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum string value matches string" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 992 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum string value does not match number" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value does not match", 143s # "instanceLocation": "/enum_number", 143s # "keywordLocation": "/properties/enum_number/enum" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value does not match", 143s # "instanceLocation": "/enum_number", 143s # "keywordLocation": "/properties/enum_number/enum" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s # 143s ok 993 - recursive-dynamic.json: "dynamic $dynamicRef destination (not predictable at schema compile time)" - "numeric node" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 994 - recursive-dynamic.json: "dynamic $dynamicRef destination (not predictable at schema compile time)" - "integer node" { 143s # result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "integerNode.json#/type", 143s # "error": "got number, not one of object, integer", 143s # "instanceLocation": "/november", 143s # "keywordLocation": "/else/$ref/additionalProperties/$dynamicRef/type" 143s # }, 143s # { 143s # "absoluteKeywordLocation": "inner.json#/additionalProperties", 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/else/$ref/additionalProperties" 143s # }, 143s # { 143s # "absoluteKeywordLocation": "main.json#/else", 143s # "error": "subschema is not valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/else" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "integerNode.json#/type", 143s # "error": "got number, not one of object, integer", 143s # "instanceLocation": "/november", 143s # "keywordLocation": "/else/$ref/additionalProperties/$dynamicRef/type" 143s # }, 143s # { 143s # "absoluteKeywordLocation": "inner.json#/additionalProperties", 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/else/$ref/additionalProperties" 143s # }, 143s # { 143s # "absoluteKeywordLocation": "main.json#/else", 143s # "error": "subschema is not valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/else" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s # 143s ok 995 - ref-and-id.json: "$id must be evaluated before $ref to get the proper $ref destination (with $anchors)" - "data is valid against first definition" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 996 - ref-and-id.json: "$id must be evaluated before $ref to get the proper $ref destination (with $anchors)" - "data is invalid against first definition" { 143s # result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "/ref-and-id1/base.json#/$defs/bigint/maximum", 143s # "error": "value is greater than 10", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$ref/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "/ref-and-id1/base.json#/$defs/bigint/maximum", 143s # "error": "value is greater than 10", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$ref/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 997 - ref-and-id.json: "$id must be evaluated before $ref to get the proper $ref destination (with uris)" - "data is valid against first definition" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 998 - ref-and-id.json: "$id must be evaluated before $ref to get the proper $ref destination (with uris)" - "data is invalid against first definition" { 143s # result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "/ref-and-id2/int.json#/maximum", 143s # "error": "value is greater than 10", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$ref/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "/ref-and-id2/int.json#/maximum", 143s # "error": "value is greater than 10", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$ref/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 999 - ref-and-id.json: "$id must be evaluated before $ref to get the proper $ref destination (with json pointers)" - "data is valid against innermost type check" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1000 - ref-and-id.json: "$id must be evaluated before $ref to get the proper $ref destination (with json pointers)" - "data is invalid against innermost type check" { 143s # result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf/0/type", 143s # "error": "got string, not number", 143s # "instanceLocation": "", 143s # "keywordLocation": "/allOf/0/$ref/type" 143s # }, 143s # { 143s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf/0/type", 143s # "error": "got string, not number", 143s # "instanceLocation": "", 143s # "keywordLocation": "/allOf/0/oneOf/0/type" 143s # }, 143s # { 143s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf", 143s # "error": "no subschemas are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/allOf/0/oneOf" 143s # }, 143s # { 143s # "absoluteKeywordLocation": "https://localhost:1234/base/#/allOf", 143s # "error": "subschema 0 is not valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/allOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "https://localhost:1234/base/allOf0/#/oneOf/0/type", 143s # "error": "got string, not number", 143s # "instanceLocation": "", 143s # "keywordLocation": "/allOf/0/$ref/type" 143s # }, 143s # { 143s # "absoluteKeywordLocation": "https://localhost:1234/base/#/allOf", 143s # "error": "subschema 0 is not valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/allOf" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s # 143s ok 1001 - ref.json: "order of evaluation: $id and $ref" - "data is valid against first definition" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1002 - ref.json: "order of evaluation: $id and $ref" - "data is invalid against first definition" { 143s # result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "/ref1/int.json#/maximum", 143s # "error": "value is greater than 10", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$ref/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "/ref1/int.json#/maximum", 143s # "error": "value is greater than 10", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$ref/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1003 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is valid against first definition" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1004 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is invalid against first definition" { 143s # result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "/ref2/base.json#/$defs/bigint/maximum", 143s # "error": "value is greater than 10", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$ref/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "/ref2/base.json#/$defs/bigint/maximum", 143s # "error": "value is greater than 10", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$ref/maximum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1005 - ref.json: "naive replacement of $ref with its destination is not correct" - "do not evaluate the $ref inside the enum" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/enum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value does not match", 143s # "instanceLocation": "", 143s # "keywordLocation": "/enum" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1006 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1007 - ref.json: "invalid $ref: invalid anchor fragment" - "an invalid anchor fragment" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "$ref value is not a valid URI reference", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$defs/foo/$ref" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "$ref value is not a valid URI reference", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$defs/foo/$ref" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1008 - ref.json: "invalid $ref: invalid json-pointer fragment" - "an invalid json-pointer fragment" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "$ref value is not a valid URI reference", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$defs/foo/$ref" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "$ref value is not a valid URI reference", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$defs/foo/$ref" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1009 - ref.json: "base URI change - change folder in subschema with path from root" - "number is valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1010 - ref.json: "base URI change - change folder in subschema with path from root" - "string is invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/folderInteger.json#/type", 143s # "error": "got string, not integer", 143s # "instanceLocation": "/list/0", 143s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 143s # }, 143s # { 143s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/$defs/bar/items", 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "/list", 143s # "keywordLocation": "/properties/list/$ref/items" 143s # }, 143s # { 143s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs.json#/properties", 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/folderInteger.json#/type", 143s # "error": "got string, not integer", 143s # "instanceLocation": "/list/0", 143s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 143s # }, 143s # { 143s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/$defs/bar/items", 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "/list", 143s # "keywordLocation": "/properties/list/$ref/items" 143s # }, 143s # { 143s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs.json#/properties", 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s # 143s ok 1011 - short-circuit.json: "items (schema form) does not improperly short-circuit" - "single item is valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1012 - short-circuit.json: "items (schema form) does not improperly short-circuit" - "second item is invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "/1", 143s # "keywordLocation": "/items/multipleOf" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "/1", 143s # "keywordLocation": "/items/multipleOf" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1013 - short-circuit.json: "prefixItems does not improperly short-circuit" - "single item is valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1014 - short-circuit.json: "prefixItems does not improperly short-circuit" - "second item is invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "/1", 143s # "keywordLocation": "/prefixItems/1/multipleOf" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "/1", 143s # "keywordLocation": "/prefixItems/1/multipleOf" 143s # }, 143s # { 143s # "error": "not all items are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/prefixItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1015 - short-circuit.json: "items does not improperly short-circuit" - "single additional item is valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1016 - short-circuit.json: "items does not improperly short-circuit" - "second additional item is invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "/2", 143s # "keywordLocation": "/items/multipleOf" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "/2", 143s # "keywordLocation": "/items/multipleOf" 143s # }, 143s # { 143s # "error": "subschema is not valid against all items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/items" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1017 - short-circuit.json: "unevaluatedItems does not improperly short-circuit" - "single item is valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1018 - short-circuit.json: "unevaluatedItems does not improperly short-circuit" - "second item is invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "/1", 143s # "keywordLocation": "/unevaluatedItems/multipleOf" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "/1", 143s # "keywordLocation": "/unevaluatedItems/multipleOf" 143s # }, 143s # { 143s # "error": "subschema is not valid against all additional items", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedItems" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1019 - short-circuit.json: "properties does not improperly short-circuit" - "single property is valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1020 - short-circuit.json: "properties does not improperly short-circuit" - "second property is invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "/beta", 143s # "keywordLocation": "/properties/beta/multipleOf" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "/beta", 143s # "keywordLocation": "/properties/beta/multipleOf" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1021 - short-circuit.json: "properties does not improperly short-circuit (boolean schemas)" - "single property is valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1022 - short-circuit.json: "properties does not improperly short-circuit (boolean schemas)" - "second property is invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/beta", 143s # "keywordLocation": "/properties/beta" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/beta", 143s # "keywordLocation": "/properties/beta" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/properties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1023 - short-circuit.json: "patternProperties does not improperly short-circuit" - "single property is valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1024 - short-circuit.json: "patternProperties does not improperly short-circuit" - "second property is invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "/beta", 143s # "keywordLocation": "/patternProperties/^b/multipleOf" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "/beta", 143s # "keywordLocation": "/patternProperties/^b/multipleOf" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1025 - short-circuit.json: "patternProperties does not improperly short-circuit (boolean schemas)" - "single property is valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1026 - short-circuit.json: "patternProperties does not improperly short-circuit (boolean schemas)" - "second property is invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/beta", 143s # "keywordLocation": "/patternProperties/^b" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "property not permitted", 143s # "instanceLocation": "/beta", 143s # "keywordLocation": "/patternProperties/^b" 143s # }, 143s # { 143s # "error": "not all properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/patternProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1027 - short-circuit.json: "additionalProperties does not improperly short-circuit" - "single property is valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1028 - short-circuit.json: "additionalProperties does not improperly short-circuit" - "second property is invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "/beta", 143s # "keywordLocation": "/additionalProperties/multipleOf" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "/beta", 143s # "keywordLocation": "/additionalProperties/multipleOf" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/additionalProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1029 - short-circuit.json: "unevaluatedProperties does not improperly short-circuit" - "single property is valid" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1030 - short-circuit.json: "unevaluatedProperties does not improperly short-circuit" - "second property is invalid" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "/beta", 143s # "keywordLocation": "/unevaluatedProperties/multipleOf" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "value is not a multiple of 2", 143s # "instanceLocation": "/beta", 143s # "keywordLocation": "/unevaluatedProperties/multipleOf" 143s # }, 143s # { 143s # "error": "not all additional properties are valid", 143s # "instanceLocation": "", 143s # "keywordLocation": "/unevaluatedProperties" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s # 143s ok 1031 - unknownKeyword.json: "past and future keywords are ignored" - "passing" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1032 - unknownKeyword.json: "past and future keywords are ignored" - "failing (string)" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "got string, not number", 143s # "instanceLocation": "", 143s # "keywordLocation": "/type" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "got string, not number", 143s # "instanceLocation": "", 143s # "keywordLocation": "/type" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1033 - unknownKeyword.json: "past and future keywords are ignored" - "failing (object)" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "got object, not number", 143s # "instanceLocation": "", 143s # "keywordLocation": "/type" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "got object, not number", 143s # "instanceLocation": "", 143s # "keywordLocation": "/type" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1034 - unknownKeyword.json: "past and future keywords are ignored" - "failing (array)" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "got array, not number", 143s # "instanceLocation": "", 143s # "keywordLocation": "/type" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "got array, not number", 143s # "instanceLocation": "", 143s # "keywordLocation": "/type" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s # 143s ok 1035 - vocabulary.json: "valid $vocabulary" - "a valid $vocabulary value" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1036 - vocabulary.json: "invalid $vocabulary (wrong specification version), but not until we evaluate with this metaschema" - "invalid $vocabulary (wrong specification version): register this metaschema" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1037 - vocabulary.json: "use schema (invalid $vocabulary) as a metaschema" - "invalid $vocabulary value: wrong specification version" { 143s # result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary/https:~1~1json-schema.org~1draft~12019-09~1vocab~1core", 143s # "error": "\"https://json-schema.org/draft/2019-09/vocab/core\" uses draft2019-09, but the metaschema itself uses draft2020-12", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$schema/$vocabulary/https:~1~1json-schema.org~1draft~12019-09~1vocab~1core" 143s # }, 143s # { 143s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary", 143s # "error": "the first vocabulary (by evaluation_order) must be Core", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$schema/$vocabulary" 143s # }, 143s # { 143s # "error": "\"https://mymetaschema2\" is not a valid metaschema", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$schema" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary/https:~1~1json-schema.org~1draft~12019-09~1vocab~1core", 143s # "error": "\"https://json-schema.org/draft/2019-09/vocab/core\" uses draft2019-09, but the metaschema itself uses draft2020-12", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$schema/$vocabulary/https:~1~1json-schema.org~1draft~12019-09~1vocab~1core" 143s # }, 143s # { 143s # "absoluteKeywordLocation": "https://mymetaschema2#/$vocabulary", 143s # "error": "the first vocabulary (by evaluation_order) must be Core", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$schema/$vocabulary" 143s # }, 143s # { 143s # "error": "\"https://mymetaschema2\" is not a valid metaschema", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$schema" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1038 - vocabulary.json: "invalid $vocabulary (unknown URI), but not until we evaluate with this metaschema" - "invalid $vocabulary (unknown URI): register this metaschema" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1039 - vocabulary.json: "use schema (unknown URI) as a metaschema" - "invalid $vocabulary value: unknown URI" { 143s # result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "https://mymetaschema3#/$vocabulary/https:~1~1foo.com", 143s # "error": "\"https://foo.com\" is not a known vocabulary", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$schema/$vocabulary/https:~1~1foo.com" 143s # }, 143s # { 143s # "error": "\"https://mymetaschema3\" is not a valid metaschema", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$schema" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "https://mymetaschema3#/$vocabulary/https:~1~1foo.com", 143s # "error": "\"https://foo.com\" is not a known vocabulary", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$schema/$vocabulary/https:~1~1foo.com" 143s # }, 143s # { 143s # "error": "\"https://mymetaschema3\" is not a valid metaschema", 143s # "instanceLocation": "", 143s # "keywordLocation": "/$schema" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1040 - vocabulary.json: "custom metaschema with format-assertion: false" - "custom metaschema is loaded" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1041 - vocabulary.json: "custom metaschema with format-assertion: true" - "custom metaschema is loaded" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1042 - vocabulary.json: "schema that uses custom metaschema with format-assertion: false" - "format-assertion: false: valid string" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1043 - vocabulary.json: "schema that uses custom metaschema with format-assertion: false" - "format-assertion: false: invalid string" { 143s # result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "https://schema/using/format-assertion/false#/format", 143s # "error": "not a valid ipv4", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "https://schema/using/format-assertion/false#/format", 143s # "error": "not a valid ipv4", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1044 - vocabulary.json: "schema that uses custom metaschema with format-assertion: true" - "format-assertion: true: valid string" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1045 - vocabulary.json: "schema that uses custom metaschema with format-assertion: true" - "format-assertion: true: invalid string" { 143s # result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "https://schema/using/format-assertion/true#/format", 143s # "error": "not a valid ipv4", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "absoluteKeywordLocation": "https://schema/using/format-assertion/true#/format", 143s # "error": "not a valid ipv4", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s # 143s ok 1046 - optional/format-date-time.json: "leap seconds" - "a valid date-time with a leap second, UTC" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1047 - optional/format-date-time.json: "leap seconds" - "a valid date-time with a leap second, with minus offset" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1048 - optional/format-date-time.json: "leap seconds" - "an invalid date-time with a leap second, UTC" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid date-time", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid date-time", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1049 - optional/format-date-time.json: "leap seconds" - "an invalid date-time with a leap second, with minus offset" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid date-time", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid date-time", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s # 143s ok 1050 - optional/format-date.json: "non-ascii digits should be rejected" - "BENGALI DIGIT TWO is not valid in dates" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid date", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid date", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s # 143s ok 1051 - optional/format-time.json: "validation of time strings" - "valid leap second, Zulu" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1052 - optional/format-time.json: "validation of time strings" - "invalid leap second, Zulu (wrong hour)" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid time", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid time", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1053 - optional/format-time.json: "validation of time strings" - "invalid leap second, Zulu (wrong minute)" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid time", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid time", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1054 - optional/format-time.json: "validation of time strings" - "valid leap second, positive time-offset" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1055 - optional/format-time.json: "validation of time strings" - "valid leap second, large positive time-offset" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1056 - optional/format-time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong hour)" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid time", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid time", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1057 - optional/format-time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong minute)" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid time", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid time", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1058 - optional/format-time.json: "validation of time strings" - "valid leap second, negative time-offset" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1059 - optional/format-time.json: "validation of time strings" - "valid leap second, large negative time-offset" { 143s # result: { 143s # "valid": true 143s # } 143s # short-circuited result: { 143s # "valid": true 143s # } 143s ok 1 - test passes: data is valid: true 143s 1..1 143s } 143s ok 1060 - optional/format-time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong hour)" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid time", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid time", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1061 - optional/format-time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong minute)" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid time", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid time", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1062 - optional/format-time.json: "validation of time strings" - "no time offset" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid time", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid time", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s ok 1063 - optional/format-time.json: "validation of time strings" - "non-ascii digits should be rejected" { 143s # result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid time", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s # short-circuited result: { 143s # "errors": [ 143s # { 143s # "error": "not a valid time", 143s # "instanceLocation": "", 143s # "keywordLocation": "/format" 143s # } 143s # ], 143s # "valid": false 143s # } 143s ok 1 - test passes: data is valid: false 143s 1..1 143s } 143s # 143s # 143s # generated with: Test::JSON::Schema::Acceptance 1.026 143s # specification version: draft2020-12 143s # using custom test directory: t/additional-tests-draft2020-12 143s # optional tests included: yes 143s # 143s # filename pass todo-fail fail 143s # --------------------------------------------------------------- 143s # anchor.json 2 0 0 143s # annotation-collection.json 10 0 0 143s # badRef.json 3 0 0 143s # dynamicRef.json 7 0 0 143s # faux-buggy-schemas.json 2 0 0 143s # format-duration.json 9 0 0 143s # format-ipv4.json 4 0 0 143s # format-ipv6.json 17 0 0 143s # format-relative-json-pointer.json 7 0 0 143s # formats.json 4 0 0 143s # id.json 6 0 0 143s # integers.json 29 0 0 143s # keyword-independence.json 884 0 0 143s # loose-types-const-enum.json 8 0 0 143s # recursive-dynamic.json 2 0 0 143s # ref-and-id.json 6 0 0 143s # ref.json 10 0 0 143s # short-circuit.json 20 0 0 143s # unknownKeyword.json 4 0 0 143s # vocabulary.json 11 0 0 143s # optional/format-date-time.json 4 0 0 143s # optional/format-date.json 1 0 0 143s # optional/format-time.json 13 0 0 143s # --------------------------------------------------------------- 143s # TOTAL 1063 0 0 143s # 143s # Congratulations, all non-optional tests are passing! 143s # 143s ok 1064 - no leaks in the main evaluator object 143s ok 1065 - no leaks in the short-circuiting evaluator object 143s ok 1066 - got unsupported keyword warnings 143s 1..1066 143s ok 145s t/additional-tests-draft7.t ............. 145s # AUTHOR_TESTING: 145s # AUTOMATED_TESTING: 1 145s # EXTENDED_TESTING: 145s # NO_TODO: 145s # TEST_DIR: 145s # NO_SHORT_CIRCUIT: 145s # 145s # running tests in /tmp/autopkgtest.Liz2nS/autopkgtest_tmp/smokeXOIdE1/t/additional-tests-draft7 against draft7... 145s # 145s ok 1 - badRef.json: "good references in schemas" - "this data is never used" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 2 - badRef.json: "bad $ref in schema: not a valid anchor fragment" - "this data is never used" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "$ref value is not a valid URI reference", 145s # "instanceLocation": "", 145s # "keywordLocation": "/then/$ref" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "$ref value is not a valid URI reference", 145s # "instanceLocation": "", 145s # "keywordLocation": "/then/$ref" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 3 - badRef.json: "bad $ref in schema: not a valid json pointer fragment" - "this data is never used" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "$ref value is not a valid URI reference", 145s # "instanceLocation": "", 145s # "keywordLocation": "/then/$ref" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "$ref value is not a valid URI reference", 145s # "instanceLocation": "", 145s # "keywordLocation": "/then/$ref" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s # 145s ok 4 - faux-buggy-schemas.json: "identifiers in non-schemas that look like schemas" - "match the type checks" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 5 - faux-buggy-schemas.json: "identifiers in non-schemas that look like schemas" - "match none of the options" { 145s # result: { 145s # "errors": [ 145s # { 145s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/0/type", 145s # "error": "got string, not integer", 145s # "instanceLocation": "", 145s # "keywordLocation": "/anyOf/0/type" 145s # }, 145s # { 145s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/1/type", 145s # "error": "got string, not integer", 145s # "instanceLocation": "", 145s # "keywordLocation": "/anyOf/1/type" 145s # }, 145s # { 145s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/2/const", 145s # "error": "value does not match", 145s # "instanceLocation": "", 145s # "keywordLocation": "/anyOf/2/const" 145s # }, 145s # { 145s # "absoluteKeywordLocation": "http://localhost:1234/enum.json#/enum", 145s # "error": "value does not match", 145s # "instanceLocation": "", 145s # "keywordLocation": "/anyOf/3/enum" 145s # }, 145s # { 145s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf", 145s # "error": "no subschemas are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/anyOf" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/0/type", 145s # "error": "got string, not integer", 145s # "instanceLocation": "", 145s # "keywordLocation": "/anyOf/0/type" 145s # }, 145s # { 145s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/1/type", 145s # "error": "got string, not integer", 145s # "instanceLocation": "", 145s # "keywordLocation": "/anyOf/1/type" 145s # }, 145s # { 145s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf/2/const", 145s # "error": "value does not match", 145s # "instanceLocation": "", 145s # "keywordLocation": "/anyOf/2/const" 145s # }, 145s # { 145s # "absoluteKeywordLocation": "http://localhost:1234/enum.json#/enum", 145s # "error": "value does not match", 145s # "instanceLocation": "", 145s # "keywordLocation": "/anyOf/3/enum" 145s # }, 145s # { 145s # "absoluteKeywordLocation": "http://localhost:1234/faux.json#/anyOf", 145s # "error": "no subschemas are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/anyOf" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s # 145s ok 6 - format-ipv4.json: "validation of ipv4 strings" - "leading zeroes should be rejected, as they are treated as octal values" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "not a valid ipv4", 145s # "instanceLocation": "", 145s # "keywordLocation": "/format" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "not a valid ipv4", 145s # "instanceLocation": "", 145s # "keywordLocation": "/format" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 7 - format-ipv4.json: "validation of ipv4 strings" - "leading zeroes should be rejected, even if not a valid octal value" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "not a valid ipv4", 145s # "instanceLocation": "", 145s # "keywordLocation": "/format" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "not a valid ipv4", 145s # "instanceLocation": "", 145s # "keywordLocation": "/format" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 8 - format-ipv4.json: "validation of ipv4 strings" - "value without leading zero is valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 9 - format-ipv4.json: "validation of ipv4 strings" - "non-ascii digits should be rejected" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "not a valid ipv4", 145s # "instanceLocation": "", 145s # "keywordLocation": "/format" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "not a valid ipv4", 145s # "instanceLocation": "", 145s # "keywordLocation": "/format" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s # 145s ok 10 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with empty json-pointer" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 11 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with one-char json-pointer" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 12 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer with longer json-pointer" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 13 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "non-negative-integer \#" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 14 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "\#\# is not a valid json-pointer" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "not a valid relative-json-pointer", 145s # "instanceLocation": "", 145s # "keywordLocation": "/format" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "not a valid relative-json-pointer", 145s # "instanceLocation": "", 145s # "keywordLocation": "/format" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 15 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "zero cannot be followed by other digits, plus json-pointer" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "not a valid relative-json-pointer", 145s # "instanceLocation": "", 145s # "keywordLocation": "/format" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "not a valid relative-json-pointer", 145s # "instanceLocation": "", 145s # "keywordLocation": "/format" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 16 - format-relative-json-pointer.json: "validation of relative-json-pointer strings" - "zero cannot be followed by other digits, plus octothorpe" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "not a valid relative-json-pointer", 145s # "instanceLocation": "", 145s # "keywordLocation": "/format" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "not a valid relative-json-pointer", 145s # "instanceLocation": "", 145s # "keywordLocation": "/format" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s # 145s ok 17 - id.json: "non-schema object containing an $id property" - "skip traversing definition for a valid result" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 18 - id.json: "non-schema object containing an $id property" - "const at const_not_id does not match" { 145s # result: { 145s # "errors": [ 145s # { 145s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 145s # "error": "value does not match", 145s # "instanceLocation": "", 145s # "keywordLocation": "/else/$ref/const" 145s # }, 145s # { 145s # "error": "subschema is not valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/else" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 145s # "error": "value does not match", 145s # "instanceLocation": "", 145s # "keywordLocation": "/else/$ref/const" 145s # }, 145s # { 145s # "error": "subschema is not valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/else" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 19 - id.json: "non-schema object containing an anchor property" - "skip traversing definition for a valid result" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 20 - id.json: "non-schema object containing an anchor property" - "const at const_not_anchor does not match" { 145s # result: { 145s # "errors": [ 145s # { 145s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 145s # "error": "value does not match", 145s # "instanceLocation": "", 145s # "keywordLocation": "/else/$ref/const" 145s # }, 145s # { 145s # "error": "subschema is not valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/else" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 145s # "error": "value does not match", 145s # "instanceLocation": "", 145s # "keywordLocation": "/else/$ref/const" 145s # }, 145s # { 145s # "error": "subschema is not valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/else" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 21 - id.json: "'' not permitted as $id" - "schema would pass without $id" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "$id cannot be empty", 145s # "instanceLocation": "", 145s # "keywordLocation": "/$id" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "$id cannot be empty", 145s # "instanceLocation": "", 145s # "keywordLocation": "/$id" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 22 - id.json: "'' not permitted as $id" - "schema would fail even without $id" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "$id cannot be empty", 145s # "instanceLocation": "", 145s # "keywordLocation": "/$id" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "$id cannot be empty", 145s # "instanceLocation": "", 145s # "keywordLocation": "/$id" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 23 - id.json: "'\#' not permitted as $id" - "schema would pass without $id" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "$id cannot be empty", 145s # "instanceLocation": "", 145s # "keywordLocation": "/$id" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "$id cannot be empty", 145s # "instanceLocation": "", 145s # "keywordLocation": "/$id" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 24 - id.json: "'\#' not permitted as $id" - "schema would fail even without $id" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "$id cannot be empty", 145s # "instanceLocation": "", 145s # "keywordLocation": "/$id" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "$id cannot be empty", 145s # "instanceLocation": "", 145s # "keywordLocation": "/$id" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 25 - id.json: "bad anchor syntax" - "draft7 $id passes through to $anchor" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "$id value is not a valid URI reference", 145s # "instanceLocation": "", 145s # "keywordLocation": "/$id" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "$id value is not a valid URI reference", 145s # "instanceLocation": "", 145s # "keywordLocation": "/$id" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s # 145s ok 26 - integers.json: "type checks" - "beyond int64 lower boundary" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 27 - integers.json: "type checks" - "int64 lower boundary" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 28 - integers.json: "type checks" - "beyond int32 lower boundary" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 29 - integers.json: "type checks" - "int32 lower boundary" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 30 - integers.json: "type checks" - "zero" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 31 - integers.json: "type checks" - "int32 upper boundary" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 32 - integers.json: "type checks" - "beyond int32 upper boundary" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 33 - integers.json: "type checks" - "upper int64 boundary" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 34 - integers.json: "type checks" - "beyond int64 upper boundary" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 35 - integers.json: "int32 range checks" - "beyond lower boundary" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than -2147483648", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than -2147483648", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 36 - integers.json: "int32 range checks" - "lower boundary" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 37 - integers.json: "int32 range checks" - "zero" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 38 - integers.json: "int32 range checks" - "upper boundary" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 39 - integers.json: "int32 range checks" - "beyond upper boundary" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than 2147483647", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than 2147483647", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 40 - integers.json: "int64 range checks" - "beyond lower boundary" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than -9223372036854775808", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than -9223372036854775808", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 41 - integers.json: "int64 range checks" - "lower boundary" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 42 - integers.json: "int64 range checks" - "zero" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 43 - integers.json: "int64 range checks" - "upper boundary" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 44 - integers.json: "int64 range checks" - "beyond upper boundary" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than 9223372036854775807", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than 9223372036854775807", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 45 - integers.json: "equality checks" - "beyond int64 lower boundary" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 46 - integers.json: "equality checks" - "int64 lower boundary" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 47 - integers.json: "equality checks" - "beyond int32 lower boundary" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 48 - integers.json: "equality checks" - "int32 lower boundary" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 49 - integers.json: "equality checks" - "zero" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 50 - integers.json: "equality checks" - "one" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value does not match", 145s # "instanceLocation": "", 145s # "keywordLocation": "/enum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value does not match", 145s # "instanceLocation": "", 145s # "keywordLocation": "/enum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 51 - integers.json: "equality checks" - "int32 upper boundary" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 52 - integers.json: "equality checks" - "beyond int32 upper boundary" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 53 - integers.json: "equality checks" - "int64 upper boundary" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 54 - integers.json: "equality checks" - "beyond int64 upper boundary" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s # 145s ok 55 - keyword-independence.json: "contains + exclusiveMaximum" - "array, contains invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 56 - keyword-independence.json: "contains + exclusiveMaximum" - "array, contains valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 57 - keyword-independence.json: "contains + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than or equal to 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/exclusiveMaximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than or equal to 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/exclusiveMaximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 58 - keyword-independence.json: "contains + exclusiveMaximum" - "number, exclusiveMaximum valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 59 - keyword-independence.json: "contains + exclusiveMinimum" - "array, contains invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 60 - keyword-independence.json: "contains + exclusiveMinimum" - "array, contains valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 61 - keyword-independence.json: "contains + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than or equal to 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/exclusiveMinimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than or equal to 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/exclusiveMinimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 62 - keyword-independence.json: "contains + exclusiveMinimum" - "number, exclusiveMinimum valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 63 - keyword-independence.json: "contains + maximum" - "array, contains invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 64 - keyword-independence.json: "contains + maximum" - "array, contains valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 65 - keyword-independence.json: "contains + maximum" - "number, maximum invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 66 - keyword-independence.json: "contains + maximum" - "number, maximum valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 67 - keyword-independence.json: "contains + minimum" - "array, contains invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 68 - keyword-independence.json: "contains + minimum" - "array, contains valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 69 - keyword-independence.json: "contains + minimum" - "number, minimum invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 70 - keyword-independence.json: "contains + minimum" - "number, minimum valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 71 - keyword-independence.json: "contains + multipleOf" - "array, contains invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 72 - keyword-independence.json: "contains + multipleOf" - "array, contains valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 73 - keyword-independence.json: "contains + multipleOf" - "number, multipleOf invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is not a multiple of 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/multipleOf" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is not a multiple of 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/multipleOf" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 74 - keyword-independence.json: "contains + multipleOf" - "number, multipleOf valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 75 - keyword-independence.json: "exclusiveMaximum + items" - "array, items invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 76 - keyword-independence.json: "exclusiveMaximum + items" - "array, items valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 77 - keyword-independence.json: "exclusiveMaximum + items" - "number, exclusiveMaximum invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than or equal to 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/exclusiveMaximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than or equal to 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/exclusiveMaximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 78 - keyword-independence.json: "exclusiveMaximum + items" - "number, exclusiveMaximum valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 79 - keyword-independence.json: "exclusiveMinimum + items" - "array, items invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 80 - keyword-independence.json: "exclusiveMinimum + items" - "array, items valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 81 - keyword-independence.json: "exclusiveMinimum + items" - "number, exclusiveMinimum invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than or equal to 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/exclusiveMinimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than or equal to 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/exclusiveMinimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 82 - keyword-independence.json: "exclusiveMinimum + items" - "number, exclusiveMinimum valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 83 - keyword-independence.json: "items + maximum" - "array, items invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 84 - keyword-independence.json: "items + maximum" - "array, items valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 85 - keyword-independence.json: "items + maximum" - "number, maximum invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 86 - keyword-independence.json: "items + maximum" - "number, maximum valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 87 - keyword-independence.json: "items + minimum" - "array, items invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 88 - keyword-independence.json: "items + minimum" - "array, items valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 89 - keyword-independence.json: "items + minimum" - "number, minimum invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 90 - keyword-independence.json: "items + minimum" - "number, minimum valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 91 - keyword-independence.json: "items + multipleOf" - "array, items invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 92 - keyword-independence.json: "items + multipleOf" - "array, items valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 93 - keyword-independence.json: "items + multipleOf" - "number, multipleOf invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is not a multiple of 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/multipleOf" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is not a multiple of 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/multipleOf" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 94 - keyword-independence.json: "items + multipleOf" - "number, multipleOf valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 95 - keyword-independence.json: "exclusiveMaximum + maxItems" - "array, maxItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 96 - keyword-independence.json: "exclusiveMaximum + maxItems" - "array, maxItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 97 - keyword-independence.json: "exclusiveMaximum + maxItems" - "number, exclusiveMaximum invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than or equal to 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/exclusiveMaximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than or equal to 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/exclusiveMaximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 98 - keyword-independence.json: "exclusiveMaximum + maxItems" - "number, exclusiveMaximum valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 99 - keyword-independence.json: "exclusiveMinimum + maxItems" - "array, maxItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 100 - keyword-independence.json: "exclusiveMinimum + maxItems" - "array, maxItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 101 - keyword-independence.json: "exclusiveMinimum + maxItems" - "number, exclusiveMinimum invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than or equal to 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/exclusiveMinimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than or equal to 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/exclusiveMinimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 102 - keyword-independence.json: "exclusiveMinimum + maxItems" - "number, exclusiveMinimum valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 103 - keyword-independence.json: "maxItems + maximum" - "array, maxItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 104 - keyword-independence.json: "maxItems + maximum" - "array, maxItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 105 - keyword-independence.json: "maxItems + maximum" - "number, maximum invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 106 - keyword-independence.json: "maxItems + maximum" - "number, maximum valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 107 - keyword-independence.json: "maxItems + minimum" - "array, maxItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 108 - keyword-independence.json: "maxItems + minimum" - "array, maxItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 109 - keyword-independence.json: "maxItems + minimum" - "number, minimum invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 110 - keyword-independence.json: "maxItems + minimum" - "number, minimum valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 111 - keyword-independence.json: "maxItems + multipleOf" - "array, maxItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 112 - keyword-independence.json: "maxItems + multipleOf" - "array, maxItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 113 - keyword-independence.json: "maxItems + multipleOf" - "number, multipleOf invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is not a multiple of 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/multipleOf" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is not a multiple of 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/multipleOf" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 114 - keyword-independence.json: "maxItems + multipleOf" - "number, multipleOf valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 115 - keyword-independence.json: "exclusiveMaximum + minItems" - "array, minItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 116 - keyword-independence.json: "exclusiveMaximum + minItems" - "array, minItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 117 - keyword-independence.json: "exclusiveMaximum + minItems" - "number, exclusiveMaximum invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than or equal to 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/exclusiveMaximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than or equal to 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/exclusiveMaximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 118 - keyword-independence.json: "exclusiveMaximum + minItems" - "number, exclusiveMaximum valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 119 - keyword-independence.json: "exclusiveMinimum + minItems" - "array, minItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 120 - keyword-independence.json: "exclusiveMinimum + minItems" - "array, minItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 121 - keyword-independence.json: "exclusiveMinimum + minItems" - "number, exclusiveMinimum invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than or equal to 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/exclusiveMinimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than or equal to 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/exclusiveMinimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 122 - keyword-independence.json: "exclusiveMinimum + minItems" - "number, exclusiveMinimum valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 123 - keyword-independence.json: "maximum + minItems" - "array, minItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 124 - keyword-independence.json: "maximum + minItems" - "array, minItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 125 - keyword-independence.json: "maximum + minItems" - "number, maximum invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 126 - keyword-independence.json: "maximum + minItems" - "number, maximum valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 127 - keyword-independence.json: "minItems + minimum" - "array, minItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 128 - keyword-independence.json: "minItems + minimum" - "array, minItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 129 - keyword-independence.json: "minItems + minimum" - "number, minimum invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 130 - keyword-independence.json: "minItems + minimum" - "number, minimum valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 131 - keyword-independence.json: "minItems + multipleOf" - "array, minItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 132 - keyword-independence.json: "minItems + multipleOf" - "array, minItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 133 - keyword-independence.json: "minItems + multipleOf" - "number, multipleOf invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is not a multiple of 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/multipleOf" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is not a multiple of 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/multipleOf" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 134 - keyword-independence.json: "minItems + multipleOf" - "number, multipleOf valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 135 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "array, uniqueItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 136 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "array, uniqueItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 137 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "number, exclusiveMaximum invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than or equal to 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/exclusiveMaximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than or equal to 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/exclusiveMaximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 138 - keyword-independence.json: "exclusiveMaximum + uniqueItems" - "number, exclusiveMaximum valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 139 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "array, uniqueItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 140 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "array, uniqueItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 141 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "number, exclusiveMinimum invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than or equal to 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/exclusiveMinimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than or equal to 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/exclusiveMinimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 142 - keyword-independence.json: "exclusiveMinimum + uniqueItems" - "number, exclusiveMinimum valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 143 - keyword-independence.json: "maximum + uniqueItems" - "array, uniqueItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 144 - keyword-independence.json: "maximum + uniqueItems" - "array, uniqueItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 145 - keyword-independence.json: "maximum + uniqueItems" - "number, maximum invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is greater than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maximum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 146 - keyword-independence.json: "maximum + uniqueItems" - "number, maximum valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 147 - keyword-independence.json: "minimum + uniqueItems" - "array, uniqueItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 148 - keyword-independence.json: "minimum + uniqueItems" - "array, uniqueItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 149 - keyword-independence.json: "minimum + uniqueItems" - "number, minimum invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is less than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minimum" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 150 - keyword-independence.json: "minimum + uniqueItems" - "number, minimum valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 151 - keyword-independence.json: "multipleOf + uniqueItems" - "array, uniqueItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 152 - keyword-independence.json: "multipleOf + uniqueItems" - "array, uniqueItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 153 - keyword-independence.json: "multipleOf + uniqueItems" - "number, multipleOf invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "value is not a multiple of 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/multipleOf" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "value is not a multiple of 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/multipleOf" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 154 - keyword-independence.json: "multipleOf + uniqueItems" - "number, multipleOf valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 155 - keyword-independence.json: "additionalProperties + contains" - "array, contains invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 156 - keyword-independence.json: "additionalProperties + contains" - "array, contains valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 157 - keyword-independence.json: "additionalProperties + contains" - "object, additionalProperties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "additional property not permitted", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/additionalProperties" 145s # }, 145s # { 145s # "error": "not all additional properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/additionalProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "additional property not permitted", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/additionalProperties" 145s # }, 145s # { 145s # "error": "not all additional properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/additionalProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 158 - keyword-independence.json: "additionalProperties + contains" - "object, additionalProperties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 159 - keyword-independence.json: "contains + dependencies" - "array, contains invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 160 - keyword-independence.json: "contains + dependencies" - "array, contains valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 161 - keyword-independence.json: "contains + dependencies" - "object, dependencies invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is false", 145s # "instanceLocation": "", 145s # "keywordLocation": "/dependencies/x" 145s # }, 145s # { 145s # "error": "not all dependencies are satisfied", 145s # "instanceLocation": "", 145s # "keywordLocation": "/dependencies" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is false", 145s # "instanceLocation": "", 145s # "keywordLocation": "/dependencies/x" 145s # }, 145s # { 145s # "error": "not all dependencies are satisfied", 145s # "instanceLocation": "", 145s # "keywordLocation": "/dependencies" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 162 - keyword-independence.json: "contains + dependencies" - "object, dependencies valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 163 - keyword-independence.json: "contains + maxProperties" - "array, contains invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 164 - keyword-independence.json: "contains + maxProperties" - "array, contains valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 165 - keyword-independence.json: "contains + maxProperties" - "object, maxProperties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "object has more than 1 property", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "object has more than 1 property", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 166 - keyword-independence.json: "contains + maxProperties" - "object, maxProperties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 167 - keyword-independence.json: "contains + minProperties" - "array, contains invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 168 - keyword-independence.json: "contains + minProperties" - "array, contains valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 169 - keyword-independence.json: "contains + minProperties" - "object, minProperties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "object has fewer than 1 property", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "object has fewer than 1 property", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 170 - keyword-independence.json: "contains + minProperties" - "object, minProperties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 171 - keyword-independence.json: "contains + patternProperties" - "array, contains invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 172 - keyword-independence.json: "contains + patternProperties" - "array, contains valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 173 - keyword-independence.json: "contains + patternProperties" - "object, patternProperties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "property not permitted", 145s # "instanceLocation": "/no", 145s # "keywordLocation": "/patternProperties/no" 145s # }, 145s # { 145s # "error": "not all properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/patternProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "property not permitted", 145s # "instanceLocation": "/no", 145s # "keywordLocation": "/patternProperties/no" 145s # }, 145s # { 145s # "error": "not all properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/patternProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 174 - keyword-independence.json: "contains + patternProperties" - "object, patternProperties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 175 - keyword-independence.json: "contains + properties" - "array, contains invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 176 - keyword-independence.json: "contains + properties" - "array, contains valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 177 - keyword-independence.json: "contains + properties" - "object, properties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "property not permitted", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/properties/x" 145s # }, 145s # { 145s # "error": "not all properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/properties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "property not permitted", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/properties/x" 145s # }, 145s # { 145s # "error": "not all properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/properties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 178 - keyword-independence.json: "contains + properties" - "object, properties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 179 - keyword-independence.json: "contains + propertyNames" - "array, contains invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 180 - keyword-independence.json: "contains + propertyNames" - "array, contains valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 181 - keyword-independence.json: "contains + propertyNames" - "object, propertyNames invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is false", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/propertyNames" 145s # }, 145s # { 145s # "error": "not all property names are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/propertyNames" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is false", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/propertyNames" 145s # }, 145s # { 145s # "error": "not all property names are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/propertyNames" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 182 - keyword-independence.json: "contains + propertyNames" - "object, propertyNames valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 183 - keyword-independence.json: "contains + required" - "array, contains invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 184 - keyword-independence.json: "contains + required" - "array, contains valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 185 - keyword-independence.json: "contains + required" - "object, required invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "object is missing property: x", 145s # "instanceLocation": "", 145s # "keywordLocation": "/required" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "object is missing property: x", 145s # "instanceLocation": "", 145s # "keywordLocation": "/required" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 186 - keyword-independence.json: "contains + required" - "object, required valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 187 - keyword-independence.json: "additionalProperties + items" - "array, items invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 188 - keyword-independence.json: "additionalProperties + items" - "array, items valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 189 - keyword-independence.json: "additionalProperties + items" - "object, additionalProperties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "additional property not permitted", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/additionalProperties" 145s # }, 145s # { 145s # "error": "not all additional properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/additionalProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "additional property not permitted", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/additionalProperties" 145s # }, 145s # { 145s # "error": "not all additional properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/additionalProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 190 - keyword-independence.json: "additionalProperties + items" - "object, additionalProperties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 191 - keyword-independence.json: "dependencies + items" - "array, items invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 192 - keyword-independence.json: "dependencies + items" - "array, items valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 193 - keyword-independence.json: "dependencies + items" - "object, dependencies invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is false", 145s # "instanceLocation": "", 145s # "keywordLocation": "/dependencies/x" 145s # }, 145s # { 145s # "error": "not all dependencies are satisfied", 145s # "instanceLocation": "", 145s # "keywordLocation": "/dependencies" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is false", 145s # "instanceLocation": "", 145s # "keywordLocation": "/dependencies/x" 145s # }, 145s # { 145s # "error": "not all dependencies are satisfied", 145s # "instanceLocation": "", 145s # "keywordLocation": "/dependencies" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 194 - keyword-independence.json: "dependencies + items" - "object, dependencies valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 195 - keyword-independence.json: "items + maxProperties" - "array, items invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 196 - keyword-independence.json: "items + maxProperties" - "array, items valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 197 - keyword-independence.json: "items + maxProperties" - "object, maxProperties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "object has more than 1 property", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "object has more than 1 property", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 198 - keyword-independence.json: "items + maxProperties" - "object, maxProperties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 199 - keyword-independence.json: "items + minProperties" - "array, items invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 200 - keyword-independence.json: "items + minProperties" - "array, items valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 201 - keyword-independence.json: "items + minProperties" - "object, minProperties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "object has fewer than 1 property", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "object has fewer than 1 property", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 202 - keyword-independence.json: "items + minProperties" - "object, minProperties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 203 - keyword-independence.json: "items + patternProperties" - "array, items invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 204 - keyword-independence.json: "items + patternProperties" - "array, items valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 205 - keyword-independence.json: "items + patternProperties" - "object, patternProperties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "property not permitted", 145s # "instanceLocation": "/no", 145s # "keywordLocation": "/patternProperties/no" 145s # }, 145s # { 145s # "error": "not all properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/patternProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "property not permitted", 145s # "instanceLocation": "/no", 145s # "keywordLocation": "/patternProperties/no" 145s # }, 145s # { 145s # "error": "not all properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/patternProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 206 - keyword-independence.json: "items + patternProperties" - "object, patternProperties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 207 - keyword-independence.json: "items + properties" - "array, items invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 208 - keyword-independence.json: "items + properties" - "array, items valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 209 - keyword-independence.json: "items + properties" - "object, properties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "property not permitted", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/properties/x" 145s # }, 145s # { 145s # "error": "not all properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/properties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "property not permitted", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/properties/x" 145s # }, 145s # { 145s # "error": "not all properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/properties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 210 - keyword-independence.json: "items + properties" - "object, properties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 211 - keyword-independence.json: "items + propertyNames" - "array, items invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 212 - keyword-independence.json: "items + propertyNames" - "array, items valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 213 - keyword-independence.json: "items + propertyNames" - "object, propertyNames invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is false", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/propertyNames" 145s # }, 145s # { 145s # "error": "not all property names are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/propertyNames" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is false", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/propertyNames" 145s # }, 145s # { 145s # "error": "not all property names are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/propertyNames" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 214 - keyword-independence.json: "items + propertyNames" - "object, propertyNames valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 215 - keyword-independence.json: "items + required" - "array, items invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 216 - keyword-independence.json: "items + required" - "array, items valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 217 - keyword-independence.json: "items + required" - "object, required invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "object is missing property: x", 145s # "instanceLocation": "", 145s # "keywordLocation": "/required" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "object is missing property: x", 145s # "instanceLocation": "", 145s # "keywordLocation": "/required" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 218 - keyword-independence.json: "items + required" - "object, required valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 219 - keyword-independence.json: "additionalProperties + maxItems" - "array, maxItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 220 - keyword-independence.json: "additionalProperties + maxItems" - "array, maxItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 221 - keyword-independence.json: "additionalProperties + maxItems" - "object, additionalProperties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "additional property not permitted", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/additionalProperties" 145s # }, 145s # { 145s # "error": "not all additional properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/additionalProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "additional property not permitted", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/additionalProperties" 145s # }, 145s # { 145s # "error": "not all additional properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/additionalProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 222 - keyword-independence.json: "additionalProperties + maxItems" - "object, additionalProperties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 223 - keyword-independence.json: "dependencies + maxItems" - "array, maxItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 224 - keyword-independence.json: "dependencies + maxItems" - "array, maxItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 225 - keyword-independence.json: "dependencies + maxItems" - "object, dependencies invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is false", 145s # "instanceLocation": "", 145s # "keywordLocation": "/dependencies/x" 145s # }, 145s # { 145s # "error": "not all dependencies are satisfied", 145s # "instanceLocation": "", 145s # "keywordLocation": "/dependencies" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is false", 145s # "instanceLocation": "", 145s # "keywordLocation": "/dependencies/x" 145s # }, 145s # { 145s # "error": "not all dependencies are satisfied", 145s # "instanceLocation": "", 145s # "keywordLocation": "/dependencies" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 226 - keyword-independence.json: "dependencies + maxItems" - "object, dependencies valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 227 - keyword-independence.json: "maxItems + maxProperties" - "array, maxItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 228 - keyword-independence.json: "maxItems + maxProperties" - "array, maxItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 229 - keyword-independence.json: "maxItems + maxProperties" - "object, maxProperties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "object has more than 1 property", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "object has more than 1 property", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 230 - keyword-independence.json: "maxItems + maxProperties" - "object, maxProperties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 231 - keyword-independence.json: "maxItems + minProperties" - "array, maxItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 232 - keyword-independence.json: "maxItems + minProperties" - "array, maxItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 233 - keyword-independence.json: "maxItems + minProperties" - "object, minProperties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "object has fewer than 1 property", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "object has fewer than 1 property", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 234 - keyword-independence.json: "maxItems + minProperties" - "object, minProperties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 235 - keyword-independence.json: "maxItems + patternProperties" - "array, maxItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 236 - keyword-independence.json: "maxItems + patternProperties" - "array, maxItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 237 - keyword-independence.json: "maxItems + patternProperties" - "object, patternProperties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "property not permitted", 145s # "instanceLocation": "/no", 145s # "keywordLocation": "/patternProperties/no" 145s # }, 145s # { 145s # "error": "not all properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/patternProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "property not permitted", 145s # "instanceLocation": "/no", 145s # "keywordLocation": "/patternProperties/no" 145s # }, 145s # { 145s # "error": "not all properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/patternProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 238 - keyword-independence.json: "maxItems + patternProperties" - "object, patternProperties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 239 - keyword-independence.json: "maxItems + properties" - "array, maxItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 240 - keyword-independence.json: "maxItems + properties" - "array, maxItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 241 - keyword-independence.json: "maxItems + properties" - "object, properties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "property not permitted", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/properties/x" 145s # }, 145s # { 145s # "error": "not all properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/properties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "property not permitted", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/properties/x" 145s # }, 145s # { 145s # "error": "not all properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/properties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 242 - keyword-independence.json: "maxItems + properties" - "object, properties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 243 - keyword-independence.json: "maxItems + propertyNames" - "array, maxItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 244 - keyword-independence.json: "maxItems + propertyNames" - "array, maxItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 245 - keyword-independence.json: "maxItems + propertyNames" - "object, propertyNames invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is false", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/propertyNames" 145s # }, 145s # { 145s # "error": "not all property names are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/propertyNames" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is false", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/propertyNames" 145s # }, 145s # { 145s # "error": "not all property names are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/propertyNames" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 246 - keyword-independence.json: "maxItems + propertyNames" - "object, propertyNames valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 247 - keyword-independence.json: "maxItems + required" - "array, maxItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 248 - keyword-independence.json: "maxItems + required" - "array, maxItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 249 - keyword-independence.json: "maxItems + required" - "object, required invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "object is missing property: x", 145s # "instanceLocation": "", 145s # "keywordLocation": "/required" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "object is missing property: x", 145s # "instanceLocation": "", 145s # "keywordLocation": "/required" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 250 - keyword-independence.json: "maxItems + required" - "object, required valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 251 - keyword-independence.json: "additionalProperties + minItems" - "array, minItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 252 - keyword-independence.json: "additionalProperties + minItems" - "array, minItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 253 - keyword-independence.json: "additionalProperties + minItems" - "object, additionalProperties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "additional property not permitted", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/additionalProperties" 145s # }, 145s # { 145s # "error": "not all additional properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/additionalProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "additional property not permitted", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/additionalProperties" 145s # }, 145s # { 145s # "error": "not all additional properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/additionalProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 254 - keyword-independence.json: "additionalProperties + minItems" - "object, additionalProperties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 255 - keyword-independence.json: "dependencies + minItems" - "array, minItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 256 - keyword-independence.json: "dependencies + minItems" - "array, minItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 257 - keyword-independence.json: "dependencies + minItems" - "object, dependencies invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is false", 145s # "instanceLocation": "", 145s # "keywordLocation": "/dependencies/x" 145s # }, 145s # { 145s # "error": "not all dependencies are satisfied", 145s # "instanceLocation": "", 145s # "keywordLocation": "/dependencies" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is false", 145s # "instanceLocation": "", 145s # "keywordLocation": "/dependencies/x" 145s # }, 145s # { 145s # "error": "not all dependencies are satisfied", 145s # "instanceLocation": "", 145s # "keywordLocation": "/dependencies" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 258 - keyword-independence.json: "dependencies + minItems" - "object, dependencies valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 259 - keyword-independence.json: "maxProperties + minItems" - "array, minItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 260 - keyword-independence.json: "maxProperties + minItems" - "array, minItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 261 - keyword-independence.json: "maxProperties + minItems" - "object, maxProperties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "object has more than 1 property", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "object has more than 1 property", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 262 - keyword-independence.json: "maxProperties + minItems" - "object, maxProperties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 263 - keyword-independence.json: "minItems + minProperties" - "array, minItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 264 - keyword-independence.json: "minItems + minProperties" - "array, minItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 265 - keyword-independence.json: "minItems + minProperties" - "object, minProperties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "object has fewer than 1 property", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "object has fewer than 1 property", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 266 - keyword-independence.json: "minItems + minProperties" - "object, minProperties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 267 - keyword-independence.json: "minItems + patternProperties" - "array, minItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 268 - keyword-independence.json: "minItems + patternProperties" - "array, minItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 269 - keyword-independence.json: "minItems + patternProperties" - "object, patternProperties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "property not permitted", 145s # "instanceLocation": "/no", 145s # "keywordLocation": "/patternProperties/no" 145s # }, 145s # { 145s # "error": "not all properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/patternProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "property not permitted", 145s # "instanceLocation": "/no", 145s # "keywordLocation": "/patternProperties/no" 145s # }, 145s # { 145s # "error": "not all properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/patternProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 270 - keyword-independence.json: "minItems + patternProperties" - "object, patternProperties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 271 - keyword-independence.json: "minItems + properties" - "array, minItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 272 - keyword-independence.json: "minItems + properties" - "array, minItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 273 - keyword-independence.json: "minItems + properties" - "object, properties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "property not permitted", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/properties/x" 145s # }, 145s # { 145s # "error": "not all properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/properties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "property not permitted", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/properties/x" 145s # }, 145s # { 145s # "error": "not all properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/properties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 274 - keyword-independence.json: "minItems + properties" - "object, properties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 275 - keyword-independence.json: "minItems + propertyNames" - "array, minItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 276 - keyword-independence.json: "minItems + propertyNames" - "array, minItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 277 - keyword-independence.json: "minItems + propertyNames" - "object, propertyNames invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is false", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/propertyNames" 145s # }, 145s # { 145s # "error": "not all property names are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/propertyNames" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is false", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/propertyNames" 145s # }, 145s # { 145s # "error": "not all property names are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/propertyNames" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 278 - keyword-independence.json: "minItems + propertyNames" - "object, propertyNames valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 279 - keyword-independence.json: "minItems + required" - "array, minItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has fewer than 2 items", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 280 - keyword-independence.json: "minItems + required" - "array, minItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 281 - keyword-independence.json: "minItems + required" - "object, required invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "object is missing property: x", 145s # "instanceLocation": "", 145s # "keywordLocation": "/required" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "object is missing property: x", 145s # "instanceLocation": "", 145s # "keywordLocation": "/required" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 282 - keyword-independence.json: "minItems + required" - "object, required valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 283 - keyword-independence.json: "additionalProperties + uniqueItems" - "array, uniqueItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 284 - keyword-independence.json: "additionalProperties + uniqueItems" - "array, uniqueItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 285 - keyword-independence.json: "additionalProperties + uniqueItems" - "object, additionalProperties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "additional property not permitted", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/additionalProperties" 145s # }, 145s # { 145s # "error": "not all additional properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/additionalProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "additional property not permitted", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/additionalProperties" 145s # }, 145s # { 145s # "error": "not all additional properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/additionalProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 286 - keyword-independence.json: "additionalProperties + uniqueItems" - "object, additionalProperties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 287 - keyword-independence.json: "dependencies + uniqueItems" - "array, uniqueItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 288 - keyword-independence.json: "dependencies + uniqueItems" - "array, uniqueItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 289 - keyword-independence.json: "dependencies + uniqueItems" - "object, dependencies invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is false", 145s # "instanceLocation": "", 145s # "keywordLocation": "/dependencies/x" 145s # }, 145s # { 145s # "error": "not all dependencies are satisfied", 145s # "instanceLocation": "", 145s # "keywordLocation": "/dependencies" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is false", 145s # "instanceLocation": "", 145s # "keywordLocation": "/dependencies/x" 145s # }, 145s # { 145s # "error": "not all dependencies are satisfied", 145s # "instanceLocation": "", 145s # "keywordLocation": "/dependencies" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 290 - keyword-independence.json: "dependencies + uniqueItems" - "object, dependencies valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 291 - keyword-independence.json: "maxProperties + uniqueItems" - "array, uniqueItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 292 - keyword-independence.json: "maxProperties + uniqueItems" - "array, uniqueItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 293 - keyword-independence.json: "maxProperties + uniqueItems" - "object, maxProperties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "object has more than 1 property", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "object has more than 1 property", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 294 - keyword-independence.json: "maxProperties + uniqueItems" - "object, maxProperties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 295 - keyword-independence.json: "minProperties + uniqueItems" - "array, uniqueItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 296 - keyword-independence.json: "minProperties + uniqueItems" - "array, uniqueItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 297 - keyword-independence.json: "minProperties + uniqueItems" - "object, minProperties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "object has fewer than 1 property", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "object has fewer than 1 property", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 298 - keyword-independence.json: "minProperties + uniqueItems" - "object, minProperties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 299 - keyword-independence.json: "patternProperties + uniqueItems" - "array, uniqueItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 300 - keyword-independence.json: "patternProperties + uniqueItems" - "array, uniqueItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 301 - keyword-independence.json: "patternProperties + uniqueItems" - "object, patternProperties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "property not permitted", 145s # "instanceLocation": "/no", 145s # "keywordLocation": "/patternProperties/no" 145s # }, 145s # { 145s # "error": "not all properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/patternProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "property not permitted", 145s # "instanceLocation": "/no", 145s # "keywordLocation": "/patternProperties/no" 145s # }, 145s # { 145s # "error": "not all properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/patternProperties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 302 - keyword-independence.json: "patternProperties + uniqueItems" - "object, patternProperties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 303 - keyword-independence.json: "properties + uniqueItems" - "array, uniqueItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 304 - keyword-independence.json: "properties + uniqueItems" - "array, uniqueItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 305 - keyword-independence.json: "properties + uniqueItems" - "object, properties invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "property not permitted", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/properties/x" 145s # }, 145s # { 145s # "error": "not all properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/properties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "property not permitted", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/properties/x" 145s # }, 145s # { 145s # "error": "not all properties are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/properties" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 306 - keyword-independence.json: "properties + uniqueItems" - "object, properties valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 307 - keyword-independence.json: "propertyNames + uniqueItems" - "array, uniqueItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 308 - keyword-independence.json: "propertyNames + uniqueItems" - "array, uniqueItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 309 - keyword-independence.json: "propertyNames + uniqueItems" - "object, propertyNames invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is false", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/propertyNames" 145s # }, 145s # { 145s # "error": "not all property names are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/propertyNames" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is false", 145s # "instanceLocation": "/x", 145s # "keywordLocation": "/propertyNames" 145s # }, 145s # { 145s # "error": "not all property names are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/propertyNames" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 310 - keyword-independence.json: "propertyNames + uniqueItems" - "object, propertyNames valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 311 - keyword-independence.json: "required + uniqueItems" - "array, uniqueItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "items at indices 0 and 1 are not unique", 145s # "instanceLocation": "", 145s # "keywordLocation": "/uniqueItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 312 - keyword-independence.json: "required + uniqueItems" - "array, uniqueItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 313 - keyword-independence.json: "required + uniqueItems" - "object, required invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "object is missing property: x", 145s # "instanceLocation": "", 145s # "keywordLocation": "/required" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "object is missing property: x", 145s # "instanceLocation": "", 145s # "keywordLocation": "/required" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 314 - keyword-independence.json: "required + uniqueItems" - "object, required valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 315 - keyword-independence.json: "contains + maxLength" - "array, contains invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 316 - keyword-independence.json: "contains + maxLength" - "array, contains valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 317 - keyword-independence.json: "contains + maxLength" - "string, maxLength invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "length is greater than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxLength" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "length is greater than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxLength" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 318 - keyword-independence.json: "contains + maxLength" - "string, maxLength valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 319 - keyword-independence.json: "contains + minLength" - "array, contains invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 320 - keyword-independence.json: "contains + minLength" - "array, contains valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 321 - keyword-independence.json: "contains + minLength" - "string, minLength invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "length is less than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minLength" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "length is less than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minLength" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 322 - keyword-independence.json: "contains + minLength" - "string, minLength valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 323 - keyword-independence.json: "contains + pattern" - "array, contains invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "subschema is not valid against any item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/contains" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 324 - keyword-independence.json: "contains + pattern" - "array, contains valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 325 - keyword-independence.json: "contains + pattern" - "string, pattern invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "pattern does not match", 145s # "instanceLocation": "", 145s # "keywordLocation": "/pattern" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "pattern does not match", 145s # "instanceLocation": "", 145s # "keywordLocation": "/pattern" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 326 - keyword-independence.json: "contains + pattern" - "string, pattern valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 327 - keyword-independence.json: "items + maxLength" - "array, items invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 328 - keyword-independence.json: "items + maxLength" - "array, items valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 329 - keyword-independence.json: "items + maxLength" - "string, maxLength invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "length is greater than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxLength" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "length is greater than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxLength" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 330 - keyword-independence.json: "items + maxLength" - "string, maxLength valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 331 - keyword-independence.json: "items + minLength" - "array, items invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 332 - keyword-independence.json: "items + minLength" - "array, items valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 333 - keyword-independence.json: "items + minLength" - "string, minLength invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "length is less than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minLength" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "length is less than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/minLength" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 334 - keyword-independence.json: "items + minLength" - "string, minLength valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 335 - keyword-independence.json: "items + pattern" - "array, items invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "item not permitted", 145s # "instanceLocation": "/0", 145s # "keywordLocation": "/items/0" 145s # }, 145s # { 145s # "error": "not all items are valid", 145s # "instanceLocation": "", 145s # "keywordLocation": "/items" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 336 - keyword-independence.json: "items + pattern" - "array, items valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 337 - keyword-independence.json: "items + pattern" - "string, pattern invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "pattern does not match", 145s # "instanceLocation": "", 145s # "keywordLocation": "/pattern" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "pattern does not match", 145s # "instanceLocation": "", 145s # "keywordLocation": "/pattern" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 338 - keyword-independence.json: "items + pattern" - "string, pattern valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 339 - keyword-independence.json: "maxItems + maxLength" - "array, maxItems invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s # short-circuited result: { 145s # "errors": [ 145s # { 145s # "error": "array has more than 1 item", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxItems" 145s # } 145s # ], 145s # "valid": false 145s # } 145s ok 1 - test passes: data is valid: false 145s 1..1 145s } 145s ok 340 - keyword-independence.json: "maxItems + maxLength" - "array, maxItems valid" { 145s # result: { 145s # "valid": true 145s # } 145s # short-circuited result: { 145s # "valid": true 145s # } 145s ok 1 - test passes: data is valid: true 145s 1..1 145s } 145s ok 341 - keyword-independence.json: "maxItems + maxLength" - "string, maxLength invalid" { 145s # result: { 145s # "errors": [ 145s # { 145s # "error": "length is greater than 2", 145s # "instanceLocation": "", 145s # "keywordLocation": "/maxLength" 145s # } 145s # ], 145s # "valid": false 145s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 342 - keyword-independence.json: "maxItems + maxLength" - "string, maxLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 343 - keyword-independence.json: "maxItems + minLength" - "array, maxItems invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "array has more than 1 item", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxItems" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "array has more than 1 item", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxItems" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 344 - keyword-independence.json: "maxItems + minLength" - "array, maxItems valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 345 - keyword-independence.json: "maxItems + minLength" - "string, minLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 346 - keyword-independence.json: "maxItems + minLength" - "string, minLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 347 - keyword-independence.json: "maxItems + pattern" - "array, maxItems invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "array has more than 1 item", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxItems" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "array has more than 1 item", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxItems" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 348 - keyword-independence.json: "maxItems + pattern" - "array, maxItems valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 349 - keyword-independence.json: "maxItems + pattern" - "string, pattern invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 350 - keyword-independence.json: "maxItems + pattern" - "string, pattern valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 351 - keyword-independence.json: "maxLength + minItems" - "array, minItems invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "array has fewer than 2 items", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minItems" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "array has fewer than 2 items", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minItems" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 352 - keyword-independence.json: "maxLength + minItems" - "array, minItems valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 353 - keyword-independence.json: "maxLength + minItems" - "string, maxLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 354 - keyword-independence.json: "maxLength + minItems" - "string, maxLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 355 - keyword-independence.json: "minItems + minLength" - "array, minItems invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "array has fewer than 2 items", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minItems" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "array has fewer than 2 items", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minItems" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 356 - keyword-independence.json: "minItems + minLength" - "array, minItems valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 357 - keyword-independence.json: "minItems + minLength" - "string, minLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 358 - keyword-independence.json: "minItems + minLength" - "string, minLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 359 - keyword-independence.json: "minItems + pattern" - "array, minItems invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "array has fewer than 2 items", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minItems" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "array has fewer than 2 items", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minItems" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 360 - keyword-independence.json: "minItems + pattern" - "array, minItems valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 361 - keyword-independence.json: "minItems + pattern" - "string, pattern invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 362 - keyword-independence.json: "minItems + pattern" - "string, pattern valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 363 - keyword-independence.json: "maxLength + uniqueItems" - "array, uniqueItems invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "items at indices 0 and 1 are not unique", 146s # "instanceLocation": "", 146s # "keywordLocation": "/uniqueItems" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "items at indices 0 and 1 are not unique", 146s # "instanceLocation": "", 146s # "keywordLocation": "/uniqueItems" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 364 - keyword-independence.json: "maxLength + uniqueItems" - "array, uniqueItems valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 365 - keyword-independence.json: "maxLength + uniqueItems" - "string, maxLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 366 - keyword-independence.json: "maxLength + uniqueItems" - "string, maxLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 367 - keyword-independence.json: "minLength + uniqueItems" - "array, uniqueItems invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "items at indices 0 and 1 are not unique", 146s # "instanceLocation": "", 146s # "keywordLocation": "/uniqueItems" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "items at indices 0 and 1 are not unique", 146s # "instanceLocation": "", 146s # "keywordLocation": "/uniqueItems" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 368 - keyword-independence.json: "minLength + uniqueItems" - "array, uniqueItems valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 369 - keyword-independence.json: "minLength + uniqueItems" - "string, minLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 370 - keyword-independence.json: "minLength + uniqueItems" - "string, minLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 371 - keyword-independence.json: "pattern + uniqueItems" - "array, uniqueItems invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "items at indices 0 and 1 are not unique", 146s # "instanceLocation": "", 146s # "keywordLocation": "/uniqueItems" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "items at indices 0 and 1 are not unique", 146s # "instanceLocation": "", 146s # "keywordLocation": "/uniqueItems" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 372 - keyword-independence.json: "pattern + uniqueItems" - "array, uniqueItems valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 373 - keyword-independence.json: "pattern + uniqueItems" - "string, pattern invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 374 - keyword-independence.json: "pattern + uniqueItems" - "string, pattern valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 375 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 376 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "number, exclusiveMaximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 377 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "object, additionalProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "additional property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/additionalProperties" 146s # }, 146s # { 146s # "error": "not all additional properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "additional property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/additionalProperties" 146s # }, 146s # { 146s # "error": "not all additional properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 378 - keyword-independence.json: "additionalProperties + exclusiveMaximum" - "object, additionalProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 379 - keyword-independence.json: "dependencies + exclusiveMaximum" - "number, exclusiveMaximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 380 - keyword-independence.json: "dependencies + exclusiveMaximum" - "number, exclusiveMaximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 381 - keyword-independence.json: "dependencies + exclusiveMaximum" - "object, dependencies invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies/x" 146s # }, 146s # { 146s # "error": "not all dependencies are satisfied", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies/x" 146s # }, 146s # { 146s # "error": "not all dependencies are satisfied", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 382 - keyword-independence.json: "dependencies + exclusiveMaximum" - "object, dependencies valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 383 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "number, exclusiveMaximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 384 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "number, exclusiveMaximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 385 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "object, maxProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object has more than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object has more than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 386 - keyword-independence.json: "exclusiveMaximum + maxProperties" - "object, maxProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 387 - keyword-independence.json: "exclusiveMaximum + minProperties" - "number, exclusiveMaximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 388 - keyword-independence.json: "exclusiveMaximum + minProperties" - "number, exclusiveMaximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 389 - keyword-independence.json: "exclusiveMaximum + minProperties" - "object, minProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object has fewer than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object has fewer than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 390 - keyword-independence.json: "exclusiveMaximum + minProperties" - "object, minProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 391 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "number, exclusiveMaximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 392 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "number, exclusiveMaximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 393 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "object, patternProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/no", 146s # "keywordLocation": "/patternProperties/no" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/patternProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/no", 146s # "keywordLocation": "/patternProperties/no" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/patternProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 394 - keyword-independence.json: "exclusiveMaximum + patternProperties" - "object, patternProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 395 - keyword-independence.json: "exclusiveMaximum + properties" - "number, exclusiveMaximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 396 - keyword-independence.json: "exclusiveMaximum + properties" - "number, exclusiveMaximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 397 - keyword-independence.json: "exclusiveMaximum + properties" - "object, properties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/properties/x" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/properties/x" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 398 - keyword-independence.json: "exclusiveMaximum + properties" - "object, properties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 399 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "number, exclusiveMaximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 400 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "number, exclusiveMaximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 401 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "object, propertyNames invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/propertyNames" 146s # }, 146s # { 146s # "error": "not all property names are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/propertyNames" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/propertyNames" 146s # }, 146s # { 146s # "error": "not all property names are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/propertyNames" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 402 - keyword-independence.json: "exclusiveMaximum + propertyNames" - "object, propertyNames valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 403 - keyword-independence.json: "exclusiveMaximum + required" - "number, exclusiveMaximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 404 - keyword-independence.json: "exclusiveMaximum + required" - "number, exclusiveMaximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 405 - keyword-independence.json: "exclusiveMaximum + required" - "object, required invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object is missing property: x", 146s # "instanceLocation": "", 146s # "keywordLocation": "/required" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object is missing property: x", 146s # "instanceLocation": "", 146s # "keywordLocation": "/required" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 406 - keyword-independence.json: "exclusiveMaximum + required" - "object, required valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 407 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 408 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "number, exclusiveMinimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 409 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "object, additionalProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "additional property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/additionalProperties" 146s # }, 146s # { 146s # "error": "not all additional properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "additional property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/additionalProperties" 146s # }, 146s # { 146s # "error": "not all additional properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 410 - keyword-independence.json: "additionalProperties + exclusiveMinimum" - "object, additionalProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 411 - keyword-independence.json: "dependencies + exclusiveMinimum" - "number, exclusiveMinimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 412 - keyword-independence.json: "dependencies + exclusiveMinimum" - "number, exclusiveMinimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 413 - keyword-independence.json: "dependencies + exclusiveMinimum" - "object, dependencies invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies/x" 146s # }, 146s # { 146s # "error": "not all dependencies are satisfied", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies/x" 146s # }, 146s # { 146s # "error": "not all dependencies are satisfied", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 414 - keyword-independence.json: "dependencies + exclusiveMinimum" - "object, dependencies valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 415 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "number, exclusiveMinimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 416 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "number, exclusiveMinimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 417 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "object, maxProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object has more than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object has more than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 418 - keyword-independence.json: "exclusiveMinimum + maxProperties" - "object, maxProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 419 - keyword-independence.json: "exclusiveMinimum + minProperties" - "number, exclusiveMinimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 420 - keyword-independence.json: "exclusiveMinimum + minProperties" - "number, exclusiveMinimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 421 - keyword-independence.json: "exclusiveMinimum + minProperties" - "object, minProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object has fewer than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object has fewer than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 422 - keyword-independence.json: "exclusiveMinimum + minProperties" - "object, minProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 423 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "number, exclusiveMinimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 424 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "number, exclusiveMinimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 425 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "object, patternProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/no", 146s # "keywordLocation": "/patternProperties/no" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/patternProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/no", 146s # "keywordLocation": "/patternProperties/no" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/patternProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 426 - keyword-independence.json: "exclusiveMinimum + patternProperties" - "object, patternProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 427 - keyword-independence.json: "exclusiveMinimum + properties" - "number, exclusiveMinimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 428 - keyword-independence.json: "exclusiveMinimum + properties" - "number, exclusiveMinimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 429 - keyword-independence.json: "exclusiveMinimum + properties" - "object, properties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/properties/x" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/properties/x" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 430 - keyword-independence.json: "exclusiveMinimum + properties" - "object, properties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 431 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "number, exclusiveMinimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 432 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "number, exclusiveMinimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 433 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "object, propertyNames invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/propertyNames" 146s # }, 146s # { 146s # "error": "not all property names are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/propertyNames" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/propertyNames" 146s # }, 146s # { 146s # "error": "not all property names are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/propertyNames" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 434 - keyword-independence.json: "exclusiveMinimum + propertyNames" - "object, propertyNames valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 435 - keyword-independence.json: "exclusiveMinimum + required" - "number, exclusiveMinimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 436 - keyword-independence.json: "exclusiveMinimum + required" - "number, exclusiveMinimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 437 - keyword-independence.json: "exclusiveMinimum + required" - "object, required invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object is missing property: x", 146s # "instanceLocation": "", 146s # "keywordLocation": "/required" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object is missing property: x", 146s # "instanceLocation": "", 146s # "keywordLocation": "/required" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 438 - keyword-independence.json: "exclusiveMinimum + required" - "object, required valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 439 - keyword-independence.json: "additionalProperties + maximum" - "number, maximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 440 - keyword-independence.json: "additionalProperties + maximum" - "number, maximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 441 - keyword-independence.json: "additionalProperties + maximum" - "object, additionalProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "additional property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/additionalProperties" 146s # }, 146s # { 146s # "error": "not all additional properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "additional property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/additionalProperties" 146s # }, 146s # { 146s # "error": "not all additional properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 442 - keyword-independence.json: "additionalProperties + maximum" - "object, additionalProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 443 - keyword-independence.json: "dependencies + maximum" - "number, maximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 444 - keyword-independence.json: "dependencies + maximum" - "number, maximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 445 - keyword-independence.json: "dependencies + maximum" - "object, dependencies invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies/x" 146s # }, 146s # { 146s # "error": "not all dependencies are satisfied", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies/x" 146s # }, 146s # { 146s # "error": "not all dependencies are satisfied", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 446 - keyword-independence.json: "dependencies + maximum" - "object, dependencies valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 447 - keyword-independence.json: "maxProperties + maximum" - "number, maximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 448 - keyword-independence.json: "maxProperties + maximum" - "number, maximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 449 - keyword-independence.json: "maxProperties + maximum" - "object, maxProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object has more than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object has more than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 450 - keyword-independence.json: "maxProperties + maximum" - "object, maxProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 451 - keyword-independence.json: "maximum + minProperties" - "number, maximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 452 - keyword-independence.json: "maximum + minProperties" - "number, maximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 453 - keyword-independence.json: "maximum + minProperties" - "object, minProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object has fewer than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object has fewer than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 454 - keyword-independence.json: "maximum + minProperties" - "object, minProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 455 - keyword-independence.json: "maximum + patternProperties" - "number, maximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 456 - keyword-independence.json: "maximum + patternProperties" - "number, maximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 457 - keyword-independence.json: "maximum + patternProperties" - "object, patternProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/no", 146s # "keywordLocation": "/patternProperties/no" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/patternProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/no", 146s # "keywordLocation": "/patternProperties/no" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/patternProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 458 - keyword-independence.json: "maximum + patternProperties" - "object, patternProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 459 - keyword-independence.json: "maximum + properties" - "number, maximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 460 - keyword-independence.json: "maximum + properties" - "number, maximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 461 - keyword-independence.json: "maximum + properties" - "object, properties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/properties/x" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/properties/x" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 462 - keyword-independence.json: "maximum + properties" - "object, properties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 463 - keyword-independence.json: "maximum + propertyNames" - "number, maximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 464 - keyword-independence.json: "maximum + propertyNames" - "number, maximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 465 - keyword-independence.json: "maximum + propertyNames" - "object, propertyNames invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/propertyNames" 146s # }, 146s # { 146s # "error": "not all property names are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/propertyNames" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/propertyNames" 146s # }, 146s # { 146s # "error": "not all property names are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/propertyNames" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 466 - keyword-independence.json: "maximum + propertyNames" - "object, propertyNames valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 467 - keyword-independence.json: "maximum + required" - "number, maximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 468 - keyword-independence.json: "maximum + required" - "number, maximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 469 - keyword-independence.json: "maximum + required" - "object, required invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object is missing property: x", 146s # "instanceLocation": "", 146s # "keywordLocation": "/required" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object is missing property: x", 146s # "instanceLocation": "", 146s # "keywordLocation": "/required" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 470 - keyword-independence.json: "maximum + required" - "object, required valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 471 - keyword-independence.json: "additionalProperties + minimum" - "number, minimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 472 - keyword-independence.json: "additionalProperties + minimum" - "number, minimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 473 - keyword-independence.json: "additionalProperties + minimum" - "object, additionalProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "additional property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/additionalProperties" 146s # }, 146s # { 146s # "error": "not all additional properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "additional property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/additionalProperties" 146s # }, 146s # { 146s # "error": "not all additional properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 474 - keyword-independence.json: "additionalProperties + minimum" - "object, additionalProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 475 - keyword-independence.json: "dependencies + minimum" - "number, minimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 476 - keyword-independence.json: "dependencies + minimum" - "number, minimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 477 - keyword-independence.json: "dependencies + minimum" - "object, dependencies invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies/x" 146s # }, 146s # { 146s # "error": "not all dependencies are satisfied", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies/x" 146s # }, 146s # { 146s # "error": "not all dependencies are satisfied", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 478 - keyword-independence.json: "dependencies + minimum" - "object, dependencies valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 479 - keyword-independence.json: "maxProperties + minimum" - "number, minimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 480 - keyword-independence.json: "maxProperties + minimum" - "number, minimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 481 - keyword-independence.json: "maxProperties + minimum" - "object, maxProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object has more than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object has more than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 482 - keyword-independence.json: "maxProperties + minimum" - "object, maxProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 483 - keyword-independence.json: "minProperties + minimum" - "number, minimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 484 - keyword-independence.json: "minProperties + minimum" - "number, minimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 485 - keyword-independence.json: "minProperties + minimum" - "object, minProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object has fewer than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object has fewer than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 486 - keyword-independence.json: "minProperties + minimum" - "object, minProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 487 - keyword-independence.json: "minimum + patternProperties" - "number, minimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 488 - keyword-independence.json: "minimum + patternProperties" - "number, minimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 489 - keyword-independence.json: "minimum + patternProperties" - "object, patternProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/no", 146s # "keywordLocation": "/patternProperties/no" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/patternProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/no", 146s # "keywordLocation": "/patternProperties/no" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/patternProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 490 - keyword-independence.json: "minimum + patternProperties" - "object, patternProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 491 - keyword-independence.json: "minimum + properties" - "number, minimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 492 - keyword-independence.json: "minimum + properties" - "number, minimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 493 - keyword-independence.json: "minimum + properties" - "object, properties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/properties/x" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/properties/x" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 494 - keyword-independence.json: "minimum + properties" - "object, properties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 495 - keyword-independence.json: "minimum + propertyNames" - "number, minimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 496 - keyword-independence.json: "minimum + propertyNames" - "number, minimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 497 - keyword-independence.json: "minimum + propertyNames" - "object, propertyNames invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/propertyNames" 146s # }, 146s # { 146s # "error": "not all property names are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/propertyNames" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/propertyNames" 146s # }, 146s # { 146s # "error": "not all property names are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/propertyNames" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 498 - keyword-independence.json: "minimum + propertyNames" - "object, propertyNames valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 499 - keyword-independence.json: "minimum + required" - "number, minimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 500 - keyword-independence.json: "minimum + required" - "number, minimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 501 - keyword-independence.json: "minimum + required" - "object, required invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object is missing property: x", 146s # "instanceLocation": "", 146s # "keywordLocation": "/required" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object is missing property: x", 146s # "instanceLocation": "", 146s # "keywordLocation": "/required" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 502 - keyword-independence.json: "minimum + required" - "object, required valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 503 - keyword-independence.json: "additionalProperties + multipleOf" - "number, multipleOf invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 504 - keyword-independence.json: "additionalProperties + multipleOf" - "number, multipleOf valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 505 - keyword-independence.json: "additionalProperties + multipleOf" - "object, additionalProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "additional property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/additionalProperties" 146s # }, 146s # { 146s # "error": "not all additional properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "additional property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/additionalProperties" 146s # }, 146s # { 146s # "error": "not all additional properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 506 - keyword-independence.json: "additionalProperties + multipleOf" - "object, additionalProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 507 - keyword-independence.json: "dependencies + multipleOf" - "number, multipleOf invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 508 - keyword-independence.json: "dependencies + multipleOf" - "number, multipleOf valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 509 - keyword-independence.json: "dependencies + multipleOf" - "object, dependencies invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies/x" 146s # }, 146s # { 146s # "error": "not all dependencies are satisfied", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies/x" 146s # }, 146s # { 146s # "error": "not all dependencies are satisfied", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 510 - keyword-independence.json: "dependencies + multipleOf" - "object, dependencies valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 511 - keyword-independence.json: "maxProperties + multipleOf" - "number, multipleOf invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 512 - keyword-independence.json: "maxProperties + multipleOf" - "number, multipleOf valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 513 - keyword-independence.json: "maxProperties + multipleOf" - "object, maxProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object has more than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object has more than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 514 - keyword-independence.json: "maxProperties + multipleOf" - "object, maxProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 515 - keyword-independence.json: "minProperties + multipleOf" - "number, multipleOf invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 516 - keyword-independence.json: "minProperties + multipleOf" - "number, multipleOf valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 517 - keyword-independence.json: "minProperties + multipleOf" - "object, minProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object has fewer than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object has fewer than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 518 - keyword-independence.json: "minProperties + multipleOf" - "object, minProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 519 - keyword-independence.json: "multipleOf + patternProperties" - "number, multipleOf invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 520 - keyword-independence.json: "multipleOf + patternProperties" - "number, multipleOf valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 521 - keyword-independence.json: "multipleOf + patternProperties" - "object, patternProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/no", 146s # "keywordLocation": "/patternProperties/no" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/patternProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/no", 146s # "keywordLocation": "/patternProperties/no" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/patternProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 522 - keyword-independence.json: "multipleOf + patternProperties" - "object, patternProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 523 - keyword-independence.json: "multipleOf + properties" - "number, multipleOf invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 524 - keyword-independence.json: "multipleOf + properties" - "number, multipleOf valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 525 - keyword-independence.json: "multipleOf + properties" - "object, properties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/properties/x" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/properties/x" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 526 - keyword-independence.json: "multipleOf + properties" - "object, properties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 527 - keyword-independence.json: "multipleOf + propertyNames" - "number, multipleOf invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 528 - keyword-independence.json: "multipleOf + propertyNames" - "number, multipleOf valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 529 - keyword-independence.json: "multipleOf + propertyNames" - "object, propertyNames invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/propertyNames" 146s # }, 146s # { 146s # "error": "not all property names are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/propertyNames" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/propertyNames" 146s # }, 146s # { 146s # "error": "not all property names are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/propertyNames" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 530 - keyword-independence.json: "multipleOf + propertyNames" - "object, propertyNames valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 531 - keyword-independence.json: "multipleOf + required" - "number, multipleOf invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 532 - keyword-independence.json: "multipleOf + required" - "number, multipleOf valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 533 - keyword-independence.json: "multipleOf + required" - "object, required invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object is missing property: x", 146s # "instanceLocation": "", 146s # "keywordLocation": "/required" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object is missing property: x", 146s # "instanceLocation": "", 146s # "keywordLocation": "/required" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 534 - keyword-independence.json: "multipleOf + required" - "object, required valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 535 - keyword-independence.json: "exclusiveMaximum + maxLength" - "number, exclusiveMaximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 536 - keyword-independence.json: "exclusiveMaximum + maxLength" - "number, exclusiveMaximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 537 - keyword-independence.json: "exclusiveMaximum + maxLength" - "string, maxLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 538 - keyword-independence.json: "exclusiveMaximum + maxLength" - "string, maxLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 539 - keyword-independence.json: "exclusiveMaximum + minLength" - "number, exclusiveMaximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 540 - keyword-independence.json: "exclusiveMaximum + minLength" - "number, exclusiveMaximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 541 - keyword-independence.json: "exclusiveMaximum + minLength" - "string, minLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 542 - keyword-independence.json: "exclusiveMaximum + minLength" - "string, minLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 543 - keyword-independence.json: "exclusiveMaximum + pattern" - "number, exclusiveMaximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMaximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 544 - keyword-independence.json: "exclusiveMaximum + pattern" - "number, exclusiveMaximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 545 - keyword-independence.json: "exclusiveMaximum + pattern" - "string, pattern invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 546 - keyword-independence.json: "exclusiveMaximum + pattern" - "string, pattern valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 547 - keyword-independence.json: "exclusiveMinimum + maxLength" - "number, exclusiveMinimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 548 - keyword-independence.json: "exclusiveMinimum + maxLength" - "number, exclusiveMinimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 549 - keyword-independence.json: "exclusiveMinimum + maxLength" - "string, maxLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 550 - keyword-independence.json: "exclusiveMinimum + maxLength" - "string, maxLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 551 - keyword-independence.json: "exclusiveMinimum + minLength" - "number, exclusiveMinimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 552 - keyword-independence.json: "exclusiveMinimum + minLength" - "number, exclusiveMinimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 553 - keyword-independence.json: "exclusiveMinimum + minLength" - "string, minLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 554 - keyword-independence.json: "exclusiveMinimum + minLength" - "string, minLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 555 - keyword-independence.json: "exclusiveMinimum + pattern" - "number, exclusiveMinimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than or equal to 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/exclusiveMinimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 556 - keyword-independence.json: "exclusiveMinimum + pattern" - "number, exclusiveMinimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 557 - keyword-independence.json: "exclusiveMinimum + pattern" - "string, pattern invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 558 - keyword-independence.json: "exclusiveMinimum + pattern" - "string, pattern valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 559 - keyword-independence.json: "maxLength + maximum" - "number, maximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 560 - keyword-independence.json: "maxLength + maximum" - "number, maximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 561 - keyword-independence.json: "maxLength + maximum" - "string, maxLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 562 - keyword-independence.json: "maxLength + maximum" - "string, maxLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 563 - keyword-independence.json: "maximum + minLength" - "number, maximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 564 - keyword-independence.json: "maximum + minLength" - "number, maximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 565 - keyword-independence.json: "maximum + minLength" - "string, minLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 566 - keyword-independence.json: "maximum + minLength" - "string, minLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 567 - keyword-independence.json: "maximum + pattern" - "number, maximum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maximum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 568 - keyword-independence.json: "maximum + pattern" - "number, maximum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 569 - keyword-independence.json: "maximum + pattern" - "string, pattern invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 570 - keyword-independence.json: "maximum + pattern" - "string, pattern valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 571 - keyword-independence.json: "maxLength + minimum" - "number, minimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 572 - keyword-independence.json: "maxLength + minimum" - "number, minimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 573 - keyword-independence.json: "maxLength + minimum" - "string, maxLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 574 - keyword-independence.json: "maxLength + minimum" - "string, maxLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 575 - keyword-independence.json: "minLength + minimum" - "number, minimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 576 - keyword-independence.json: "minLength + minimum" - "number, minimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 577 - keyword-independence.json: "minLength + minimum" - "string, minLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 578 - keyword-independence.json: "minLength + minimum" - "string, minLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 579 - keyword-independence.json: "minimum + pattern" - "number, minimum invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minimum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 580 - keyword-independence.json: "minimum + pattern" - "number, minimum valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 581 - keyword-independence.json: "minimum + pattern" - "string, pattern invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 582 - keyword-independence.json: "minimum + pattern" - "string, pattern valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 583 - keyword-independence.json: "maxLength + multipleOf" - "number, multipleOf invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 584 - keyword-independence.json: "maxLength + multipleOf" - "number, multipleOf valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 585 - keyword-independence.json: "maxLength + multipleOf" - "string, maxLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 586 - keyword-independence.json: "maxLength + multipleOf" - "string, maxLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 587 - keyword-independence.json: "minLength + multipleOf" - "number, multipleOf invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 588 - keyword-independence.json: "minLength + multipleOf" - "number, multipleOf valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 589 - keyword-independence.json: "minLength + multipleOf" - "string, minLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 590 - keyword-independence.json: "minLength + multipleOf" - "string, minLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 591 - keyword-independence.json: "multipleOf + pattern" - "number, multipleOf invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/multipleOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 592 - keyword-independence.json: "multipleOf + pattern" - "number, multipleOf valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 593 - keyword-independence.json: "multipleOf + pattern" - "string, pattern invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 594 - keyword-independence.json: "multipleOf + pattern" - "string, pattern valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 595 - keyword-independence.json: "additionalProperties + maxLength" - "object, additionalProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "additional property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/additionalProperties" 146s # }, 146s # { 146s # "error": "not all additional properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "additional property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/additionalProperties" 146s # }, 146s # { 146s # "error": "not all additional properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 596 - keyword-independence.json: "additionalProperties + maxLength" - "object, additionalProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 597 - keyword-independence.json: "additionalProperties + maxLength" - "string, maxLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 598 - keyword-independence.json: "additionalProperties + maxLength" - "string, maxLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 599 - keyword-independence.json: "additionalProperties + minLength" - "object, additionalProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "additional property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/additionalProperties" 146s # }, 146s # { 146s # "error": "not all additional properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "additional property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/additionalProperties" 146s # }, 146s # { 146s # "error": "not all additional properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 600 - keyword-independence.json: "additionalProperties + minLength" - "object, additionalProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 601 - keyword-independence.json: "additionalProperties + minLength" - "string, minLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 602 - keyword-independence.json: "additionalProperties + minLength" - "string, minLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 603 - keyword-independence.json: "additionalProperties + pattern" - "object, additionalProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "additional property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/additionalProperties" 146s # }, 146s # { 146s # "error": "not all additional properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "additional property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/additionalProperties" 146s # }, 146s # { 146s # "error": "not all additional properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 604 - keyword-independence.json: "additionalProperties + pattern" - "object, additionalProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 605 - keyword-independence.json: "additionalProperties + pattern" - "string, pattern invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 606 - keyword-independence.json: "additionalProperties + pattern" - "string, pattern valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 607 - keyword-independence.json: "dependencies + maxLength" - "object, dependencies invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies/x" 146s # }, 146s # { 146s # "error": "not all dependencies are satisfied", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies/x" 146s # }, 146s # { 146s # "error": "not all dependencies are satisfied", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 608 - keyword-independence.json: "dependencies + maxLength" - "object, dependencies valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 609 - keyword-independence.json: "dependencies + maxLength" - "string, maxLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 610 - keyword-independence.json: "dependencies + maxLength" - "string, maxLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 611 - keyword-independence.json: "dependencies + minLength" - "object, dependencies invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies/x" 146s # }, 146s # { 146s # "error": "not all dependencies are satisfied", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies/x" 146s # }, 146s # { 146s # "error": "not all dependencies are satisfied", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 612 - keyword-independence.json: "dependencies + minLength" - "object, dependencies valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 613 - keyword-independence.json: "dependencies + minLength" - "string, minLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 614 - keyword-independence.json: "dependencies + minLength" - "string, minLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 615 - keyword-independence.json: "dependencies + pattern" - "object, dependencies invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies/x" 146s # }, 146s # { 146s # "error": "not all dependencies are satisfied", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies/x" 146s # }, 146s # { 146s # "error": "not all dependencies are satisfied", 146s # "instanceLocation": "", 146s # "keywordLocation": "/dependencies" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 616 - keyword-independence.json: "dependencies + pattern" - "object, dependencies valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 617 - keyword-independence.json: "dependencies + pattern" - "string, pattern invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 618 - keyword-independence.json: "dependencies + pattern" - "string, pattern valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 619 - keyword-independence.json: "maxLength + maxProperties" - "object, maxProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object has more than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object has more than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 620 - keyword-independence.json: "maxLength + maxProperties" - "object, maxProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 621 - keyword-independence.json: "maxLength + maxProperties" - "string, maxLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 622 - keyword-independence.json: "maxLength + maxProperties" - "string, maxLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 623 - keyword-independence.json: "maxProperties + minLength" - "object, maxProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object has more than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object has more than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 624 - keyword-independence.json: "maxProperties + minLength" - "object, maxProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 625 - keyword-independence.json: "maxProperties + minLength" - "string, minLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 626 - keyword-independence.json: "maxProperties + minLength" - "string, minLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 627 - keyword-independence.json: "maxProperties + pattern" - "object, maxProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object has more than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object has more than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 628 - keyword-independence.json: "maxProperties + pattern" - "object, maxProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 629 - keyword-independence.json: "maxProperties + pattern" - "string, pattern invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 630 - keyword-independence.json: "maxProperties + pattern" - "string, pattern valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 631 - keyword-independence.json: "maxLength + minProperties" - "object, minProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object has fewer than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object has fewer than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 632 - keyword-independence.json: "maxLength + minProperties" - "object, minProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 633 - keyword-independence.json: "maxLength + minProperties" - "string, maxLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 634 - keyword-independence.json: "maxLength + minProperties" - "string, maxLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 635 - keyword-independence.json: "minLength + minProperties" - "object, minProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object has fewer than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object has fewer than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 636 - keyword-independence.json: "minLength + minProperties" - "object, minProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 637 - keyword-independence.json: "minLength + minProperties" - "string, minLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 638 - keyword-independence.json: "minLength + minProperties" - "string, minLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 639 - keyword-independence.json: "minProperties + pattern" - "object, minProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object has fewer than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object has fewer than 1 property", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 640 - keyword-independence.json: "minProperties + pattern" - "object, minProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 641 - keyword-independence.json: "minProperties + pattern" - "string, pattern invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 642 - keyword-independence.json: "minProperties + pattern" - "string, pattern valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 643 - keyword-independence.json: "maxLength + patternProperties" - "object, patternProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/no", 146s # "keywordLocation": "/patternProperties/no" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/patternProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/no", 146s # "keywordLocation": "/patternProperties/no" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/patternProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 644 - keyword-independence.json: "maxLength + patternProperties" - "object, patternProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 645 - keyword-independence.json: "maxLength + patternProperties" - "string, maxLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 646 - keyword-independence.json: "maxLength + patternProperties" - "string, maxLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 647 - keyword-independence.json: "minLength + patternProperties" - "object, patternProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/no", 146s # "keywordLocation": "/patternProperties/no" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/patternProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/no", 146s # "keywordLocation": "/patternProperties/no" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/patternProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 648 - keyword-independence.json: "minLength + patternProperties" - "object, patternProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 649 - keyword-independence.json: "minLength + patternProperties" - "string, minLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 650 - keyword-independence.json: "minLength + patternProperties" - "string, minLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 651 - keyword-independence.json: "pattern + patternProperties" - "object, patternProperties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/no", 146s # "keywordLocation": "/patternProperties/no" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/patternProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/no", 146s # "keywordLocation": "/patternProperties/no" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/patternProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 652 - keyword-independence.json: "pattern + patternProperties" - "object, patternProperties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 653 - keyword-independence.json: "pattern + patternProperties" - "string, pattern invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 654 - keyword-independence.json: "pattern + patternProperties" - "string, pattern valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 655 - keyword-independence.json: "maxLength + properties" - "object, properties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/properties/x" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/properties/x" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 656 - keyword-independence.json: "maxLength + properties" - "object, properties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 657 - keyword-independence.json: "maxLength + properties" - "string, maxLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 658 - keyword-independence.json: "maxLength + properties" - "string, maxLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 659 - keyword-independence.json: "minLength + properties" - "object, properties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/properties/x" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/properties/x" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 660 - keyword-independence.json: "minLength + properties" - "object, properties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 661 - keyword-independence.json: "minLength + properties" - "string, minLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 662 - keyword-independence.json: "minLength + properties" - "string, minLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 663 - keyword-independence.json: "pattern + properties" - "object, properties invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/properties/x" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/properties/x" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 664 - keyword-independence.json: "pattern + properties" - "object, properties valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 665 - keyword-independence.json: "pattern + properties" - "string, pattern invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 666 - keyword-independence.json: "pattern + properties" - "string, pattern valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 667 - keyword-independence.json: "maxLength + propertyNames" - "object, propertyNames invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/propertyNames" 146s # }, 146s # { 146s # "error": "not all property names are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/propertyNames" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/propertyNames" 146s # }, 146s # { 146s # "error": "not all property names are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/propertyNames" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 668 - keyword-independence.json: "maxLength + propertyNames" - "object, propertyNames valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 669 - keyword-independence.json: "maxLength + propertyNames" - "string, maxLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 670 - keyword-independence.json: "maxLength + propertyNames" - "string, maxLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 671 - keyword-independence.json: "minLength + propertyNames" - "object, propertyNames invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/propertyNames" 146s # }, 146s # { 146s # "error": "not all property names are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/propertyNames" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/propertyNames" 146s # }, 146s # { 146s # "error": "not all property names are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/propertyNames" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 672 - keyword-independence.json: "minLength + propertyNames" - "object, propertyNames valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 673 - keyword-independence.json: "minLength + propertyNames" - "string, minLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 674 - keyword-independence.json: "minLength + propertyNames" - "string, minLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 675 - keyword-independence.json: "pattern + propertyNames" - "object, propertyNames invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/propertyNames" 146s # }, 146s # { 146s # "error": "not all property names are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/propertyNames" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "subschema is false", 146s # "instanceLocation": "/x", 146s # "keywordLocation": "/propertyNames" 146s # }, 146s # { 146s # "error": "not all property names are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/propertyNames" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 676 - keyword-independence.json: "pattern + propertyNames" - "object, propertyNames valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 677 - keyword-independence.json: "pattern + propertyNames" - "string, pattern invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 678 - keyword-independence.json: "pattern + propertyNames" - "string, pattern valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 679 - keyword-independence.json: "maxLength + required" - "object, required invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object is missing property: x", 146s # "instanceLocation": "", 146s # "keywordLocation": "/required" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object is missing property: x", 146s # "instanceLocation": "", 146s # "keywordLocation": "/required" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 680 - keyword-independence.json: "maxLength + required" - "object, required valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 681 - keyword-independence.json: "maxLength + required" - "string, maxLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is greater than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/maxLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 682 - keyword-independence.json: "maxLength + required" - "string, maxLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 683 - keyword-independence.json: "minLength + required" - "object, required invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object is missing property: x", 146s # "instanceLocation": "", 146s # "keywordLocation": "/required" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object is missing property: x", 146s # "instanceLocation": "", 146s # "keywordLocation": "/required" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 684 - keyword-independence.json: "minLength + required" - "object, required valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 685 - keyword-independence.json: "minLength + required" - "string, minLength invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "length is less than 2", 146s # "instanceLocation": "", 146s # "keywordLocation": "/minLength" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 686 - keyword-independence.json: "minLength + required" - "string, minLength valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 687 - keyword-independence.json: "pattern + required" - "object, required invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "object is missing property: x", 146s # "instanceLocation": "", 146s # "keywordLocation": "/required" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "object is missing property: x", 146s # "instanceLocation": "", 146s # "keywordLocation": "/required" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 688 - keyword-independence.json: "pattern + required" - "object, required valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 689 - keyword-independence.json: "pattern + required" - "string, pattern invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "pattern does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/pattern" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 690 - keyword-independence.json: "pattern + required" - "string, pattern valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s # 146s ok 691 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const numeric value does not match string" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value does not match", 146s # "instanceLocation": "/const_string", 146s # "keywordLocation": "/properties/const_string/const" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value does not match", 146s # "instanceLocation": "/const_string", 146s # "keywordLocation": "/properties/const_string/const" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 692 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const numeric value does match number" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 693 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const string value matches string" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 694 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "const string value does not match number" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value does not match", 146s # "instanceLocation": "/const_number", 146s # "keywordLocation": "/properties/const_number/const" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value does not match", 146s # "instanceLocation": "/const_number", 146s # "keywordLocation": "/properties/const_number/const" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 695 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum numeric value does not match string" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value does not match", 146s # "instanceLocation": "/enum_string", 146s # "keywordLocation": "/properties/enum_string/enum" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value does not match", 146s # "instanceLocation": "/enum_string", 146s # "keywordLocation": "/properties/enum_string/enum" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 696 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum numeric value does match number" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 697 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum string value matches string" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 698 - loose-types-const-enum.json: "type can be inferred from const and enum values" - "enum string value does not match number" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value does not match", 146s # "instanceLocation": "/enum_number", 146s # "keywordLocation": "/properties/enum_number/enum" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value does not match", 146s # "instanceLocation": "/enum_number", 146s # "keywordLocation": "/properties/enum_number/enum" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s # 146s ok 699 - not-an-anchor.json: "object that is not a schema containing an $anchor property" - "skip traversing definition for a valid result" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 700 - not-an-anchor.json: "object that is not a schema containing an $anchor property" - "const at const_not_anchor does not match" { 146s # result: { 146s # "errors": [ 146s # { 146s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 146s # "error": "value does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/else/$ref/const" 146s # }, 146s # { 146s # "error": "subschema is not valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/else" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 146s # "error": "value does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/else/$ref/const" 146s # }, 146s # { 146s # "error": "subschema is not valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/else" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s # 146s ok 701 - not-an-id.json: "object that is not a schema containing an $id property" - "skip traversing definition for a valid result" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 702 - not-an-id.json: "object that is not a schema containing an $id property" - "const at const_not_id does not match" { 146s # result: { 146s # "errors": [ 146s # { 146s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 146s # "error": "value does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/else/$ref/const" 146s # }, 146s # { 146s # "error": "subschema is not valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/else" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 146s # "error": "value does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/else/$ref/const" 146s # }, 146s # { 146s # "error": "subschema is not valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/else" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s # 146s ok 703 - ref-and-id.json: "$id must be evaluated before $ref to get the proper $ref destination" - "data is valid against first definition" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 704 - ref-and-id.json: "$id must be evaluated before $ref to get the proper $ref destination" - "data is invalid against first definition" { 146s # result: { 146s # "errors": [ 146s # { 146s # "absoluteKeywordLocation": "/ref-and-id2/int.json#/maximum", 146s # "error": "value is greater than 10", 146s # "instanceLocation": "", 146s # "keywordLocation": "/allOf/0/$ref/maximum" 146s # }, 146s # { 146s # "absoluteKeywordLocation": "/ref-and-id2/base.json#/allOf", 146s # "error": "subschema 0 is not valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/allOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "absoluteKeywordLocation": "/ref-and-id2/int.json#/maximum", 146s # "error": "value is greater than 10", 146s # "instanceLocation": "", 146s # "keywordLocation": "/allOf/0/$ref/maximum" 146s # }, 146s # { 146s # "absoluteKeywordLocation": "/ref-and-id2/base.json#/allOf", 146s # "error": "subschema 0 is not valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/allOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s # 146s ok 705 - ref.json: "order of evaluation: $id and $ref" - "data is valid against first definition" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 706 - ref.json: "order of evaluation: $id and $ref" - "data is invalid against first definition" { 146s # result: { 146s # "errors": [ 146s # { 146s # "absoluteKeywordLocation": "/ref1/int.json#/maximum", 146s # "error": "value is greater than 10", 146s # "instanceLocation": "", 146s # "keywordLocation": "/allOf/0/$ref/maximum" 146s # }, 146s # { 146s # "absoluteKeywordLocation": "/ref1/base.json#/allOf", 146s # "error": "subschema 0 is not valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/allOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "absoluteKeywordLocation": "/ref1/int.json#/maximum", 146s # "error": "value is greater than 10", 146s # "instanceLocation": "", 146s # "keywordLocation": "/allOf/0/$ref/maximum" 146s # }, 146s # { 146s # "absoluteKeywordLocation": "/ref1/base.json#/allOf", 146s # "error": "subschema 0 is not valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/allOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 707 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is valid against first definition" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 708 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is invalid against first definition" { 146s # result: { 146s # "errors": [ 146s # { 146s # "absoluteKeywordLocation": "/ref2/base.json#/definitions/bigint/maximum", 146s # "error": "value is greater than 10", 146s # "instanceLocation": "", 146s # "keywordLocation": "/allOf/0/$ref/maximum" 146s # }, 146s # { 146s # "absoluteKeywordLocation": "/ref2/base.json#/allOf", 146s # "error": "subschema 0 is not valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/allOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "absoluteKeywordLocation": "/ref2/base.json#/definitions/bigint/maximum", 146s # "error": "value is greater than 10", 146s # "instanceLocation": "", 146s # "keywordLocation": "/allOf/0/$ref/maximum" 146s # }, 146s # { 146s # "absoluteKeywordLocation": "/ref2/base.json#/allOf", 146s # "error": "subschema 0 is not valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/allOf" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 709 - ref.json: "naive replacement of $ref with its destination is not correct" - "do not evaluate the $ref inside the enum" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/enum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value does not match", 146s # "instanceLocation": "", 146s # "keywordLocation": "/enum" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 710 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 711 - ref.json: "invalid $ref: invalid anchor fragment" - "an invalid anchor fragment" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "$ref value is not a valid URI reference", 146s # "instanceLocation": "", 146s # "keywordLocation": "/definitions/foo/$ref" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "$ref value is not a valid URI reference", 146s # "instanceLocation": "", 146s # "keywordLocation": "/definitions/foo/$ref" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 712 - ref.json: "invalid $ref: invalid json-pointer fragment" - "an invalid json-pointer fragment" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "$ref value is not a valid URI reference", 146s # "instanceLocation": "", 146s # "keywordLocation": "/definitions/foo/$ref" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "$ref value is not a valid URI reference", 146s # "instanceLocation": "", 146s # "keywordLocation": "/definitions/foo/$ref" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 713 - ref.json: "base URI change - change folder in subschema with path from root" - "number is valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 714 - ref.json: "base URI change - change folder in subschema with path from root" - "string is invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/folderInteger.json#/type", 146s # "error": "got string, not integer", 146s # "instanceLocation": "/list/0", 146s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 146s # }, 146s # { 146s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 146s # "error": "subschema is not valid against all items", 146s # "instanceLocation": "/list", 146s # "keywordLocation": "/properties/list/$ref/items" 146s # }, 146s # { 146s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs.json#/properties", 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/folderInteger.json#/type", 146s # "error": "got string, not integer", 146s # "instanceLocation": "/list/0", 146s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 146s # }, 146s # { 146s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 146s # "error": "subschema is not valid against all items", 146s # "instanceLocation": "/list", 146s # "keywordLocation": "/properties/list/$ref/items" 146s # }, 146s # { 146s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs.json#/properties", 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s # 146s ok 715 - short-circuit.json: "items (schema form) does not improperly short-circuit" - "single item is valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 716 - short-circuit.json: "items (schema form) does not improperly short-circuit" - "second item is invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "/1", 146s # "keywordLocation": "/items/multipleOf" 146s # }, 146s # { 146s # "error": "subschema is not valid against all items", 146s # "instanceLocation": "", 146s # "keywordLocation": "/items" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "/1", 146s # "keywordLocation": "/items/multipleOf" 146s # }, 146s # { 146s # "error": "subschema is not valid against all items", 146s # "instanceLocation": "", 146s # "keywordLocation": "/items" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 717 - short-circuit.json: "items (array form) does not improperly short-circuit" - "single item is valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 718 - short-circuit.json: "items (array form) does not improperly short-circuit" - "second item is invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "/1", 146s # "keywordLocation": "/items/1/multipleOf" 146s # }, 146s # { 146s # "error": "not all items are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/items" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "/1", 146s # "keywordLocation": "/items/1/multipleOf" 146s # }, 146s # { 146s # "error": "not all items are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/items" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 719 - short-circuit.json: "additionalItems does not improperly short-circuit" - "single additional item is valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 720 - short-circuit.json: "additionalItems does not improperly short-circuit" - "second additional item is invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "/2", 146s # "keywordLocation": "/additionalItems/multipleOf" 146s # }, 146s # { 146s # "error": "subschema is not valid against all additional items", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalItems" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "/2", 146s # "keywordLocation": "/additionalItems/multipleOf" 146s # }, 146s # { 146s # "error": "subschema is not valid against all additional items", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalItems" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 721 - short-circuit.json: "properties does not improperly short-circuit" - "single property is valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 722 - short-circuit.json: "properties does not improperly short-circuit" - "second property is invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "/beta", 146s # "keywordLocation": "/properties/beta/multipleOf" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "/beta", 146s # "keywordLocation": "/properties/beta/multipleOf" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 723 - short-circuit.json: "properties does not improperly short-circuit (boolean schemas)" - "single property is valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 724 - short-circuit.json: "properties does not improperly short-circuit (boolean schemas)" - "second property is invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/beta", 146s # "keywordLocation": "/properties/beta" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/beta", 146s # "keywordLocation": "/properties/beta" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/properties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 725 - short-circuit.json: "patternProperties does not improperly short-circuit" - "single property is valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 726 - short-circuit.json: "patternProperties does not improperly short-circuit" - "second property is invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "/beta", 146s # "keywordLocation": "/patternProperties/^b/multipleOf" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/patternProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "/beta", 146s # "keywordLocation": "/patternProperties/^b/multipleOf" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/patternProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 727 - short-circuit.json: "patternProperties does not improperly short-circuit (boolean schemas)" - "single property is valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 728 - short-circuit.json: "patternProperties does not improperly short-circuit (boolean schemas)" - "second property is invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/beta", 146s # "keywordLocation": "/patternProperties/^b" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/patternProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "property not permitted", 146s # "instanceLocation": "/beta", 146s # "keywordLocation": "/patternProperties/^b" 146s # }, 146s # { 146s # "error": "not all properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/patternProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 729 - short-circuit.json: "additionalProperties does not improperly short-circuit" - "single property is valid" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 730 - short-circuit.json: "additionalProperties does not improperly short-circuit" - "second property is invalid" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "/beta", 146s # "keywordLocation": "/additionalProperties/multipleOf" 146s # }, 146s # { 146s # "error": "not all additional properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "value is not a multiple of 2", 146s # "instanceLocation": "/beta", 146s # "keywordLocation": "/additionalProperties/multipleOf" 146s # }, 146s # { 146s # "error": "not all additional properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s # 146s ok 731 - unknownKeyword.json: "past and future keywords are ignored" - "passing" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 732 - unknownKeyword.json: "past and future keywords are ignored" - "failing (string)" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "got string, not number", 146s # "instanceLocation": "", 146s # "keywordLocation": "/type" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "got string, not number", 146s # "instanceLocation": "", 146s # "keywordLocation": "/type" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 733 - unknownKeyword.json: "past and future keywords are ignored" - "failing (object)" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "got object, not number", 146s # "instanceLocation": "", 146s # "keywordLocation": "/type" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "got object, not number", 146s # "instanceLocation": "", 146s # "keywordLocation": "/type" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 734 - unknownKeyword.json: "past and future keywords are ignored" - "failing (array)" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "got array, not number", 146s # "instanceLocation": "", 146s # "keywordLocation": "/type" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "got array, not number", 146s # "instanceLocation": "", 146s # "keywordLocation": "/type" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 735 - unknownKeyword.json: "$recursiveRef without $recursiveAnchor works like $ref" - "match" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 736 - unknownKeyword.json: "$recursiveRef without $recursiveAnchor works like $ref" - "recursive match" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 737 - unknownKeyword.json: "$recursiveRef without $recursiveAnchor works like $ref" - "mismatch" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "additional property not permitted", 146s # "instanceLocation": "/bar", 146s # "keywordLocation": "/additionalProperties" 146s # }, 146s # { 146s # "error": "not all additional properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "additional property not permitted", 146s # "instanceLocation": "/bar", 146s # "keywordLocation": "/additionalProperties" 146s # }, 146s # { 146s # "error": "not all additional properties are valid", 146s # "instanceLocation": "", 146s # "keywordLocation": "/additionalProperties" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 738 - unknownKeyword.json: "$recursiveRef without $recursiveAnchor works like $ref" - "recursive mismatch (but $dynamicRef is ignored)" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s # 146s ok 739 - vocabulary.json: "valid $vocabulary: everything is valid" - "a valid $vocabulary value" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 740 - vocabulary.json: "wrong specification version: but this is draft7" - "invalid $vocabulary value: wrong specification version" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 741 - vocabulary.json: "but this is draft7" - "invalid $vocabulary value: unknown URI" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s # 146s ok 742 - optional/format-date-time.json: "leap seconds" - "a valid date-time with a leap second, UTC" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 743 - optional/format-date-time.json: "leap seconds" - "a valid date-time with a leap second, with minus offset" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 744 - optional/format-date-time.json: "leap seconds" - "an invalid date-time with a leap second, UTC" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid date-time", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid date-time", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 745 - optional/format-date-time.json: "leap seconds" - "an invalid date-time with a leap second, with minus offset" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid date-time", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid date-time", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s # 146s ok 746 - optional/format-date.json: "non-ascii digits should be rejected" - "BENGALI DIGIT TWO is not valid in dates" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid date", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid date", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s # 146s ok 747 - optional/format-time.json: "validation of time strings" - "valid leap second, Zulu" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 748 - optional/format-time.json: "validation of time strings" - "invalid leap second, Zulu (wrong hour)" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid time", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid time", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 749 - optional/format-time.json: "validation of time strings" - "invalid leap second, Zulu (wrong minute)" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid time", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid time", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 750 - optional/format-time.json: "validation of time strings" - "valid leap second, positive time-offset" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 751 - optional/format-time.json: "validation of time strings" - "valid leap second, large positive time-offset" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 752 - optional/format-time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong hour)" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid time", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid time", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 753 - optional/format-time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong minute)" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid time", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid time", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 754 - optional/format-time.json: "validation of time strings" - "valid leap second, negative time-offset" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 755 - optional/format-time.json: "validation of time strings" - "valid leap second, large negative time-offset" { 146s # result: { 146s # "valid": true 146s # } 146s # short-circuited result: { 146s # "valid": true 146s # } 146s ok 1 - test passes: data is valid: true 146s 1..1 146s } 146s ok 756 - optional/format-time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong hour)" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid time", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid time", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 757 - optional/format-time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong minute)" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid time", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid time", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 758 - optional/format-time.json: "validation of time strings" - "no time offset" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid time", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid time", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s ok 759 - optional/format-time.json: "validation of time strings" - "non-ascii digits should be rejected" { 146s # result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid time", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s # short-circuited result: { 146s # "errors": [ 146s # { 146s # "error": "not a valid time", 146s # "instanceLocation": "", 146s # "keywordLocation": "/format" 146s # } 146s # ], 146s # "valid": false 146s # } 146s ok 1 - test passes: data is valid: false 146s 1..1 146s } 146s # 146s # 146s # generated with: Test::JSON::Schema::Acceptance 1.026 146s # specification version: draft7 146s # using custom test directory: t/additional-tests-draft7 146s # optional tests included: yes 146s # 146s # filename pass todo-fail fail 146s # --------------------------------------------------------------- 146s # badRef.json 3 0 0 146s # faux-buggy-schemas.json 2 0 0 146s # format-ipv4.json 4 0 0 146s # format-relative-json-pointer.json 7 0 0 146s # id.json 9 0 0 146s # integers.json 29 0 0 146s # keyword-independence.json 636 0 0 146s # loose-types-const-enum.json 8 0 0 146s # not-an-anchor.json 2 0 0 146s # not-an-id.json 2 0 0 146s # ref-and-id.json 2 0 0 146s # ref.json 10 0 0 146s # short-circuit.json 16 0 0 146s # unknownKeyword.json 8 0 0 146s # vocabulary.json 3 0 0 146s # optional/format-date-time.json 4 0 0 146s # optional/format-date.json 1 0 0 146s # optional/format-time.json 13 0 0 146s # --------------------------------------------------------------- 146s # TOTAL 759 0 0 146s # 146s # Congratulations, all non-optional tests are passing! 146s # 146s ok 760 - no leaks in the main evaluator object 146s ok 761 - no leaks in the short-circuiting evaluator object 146s ok 762 - got unsupported keyword warnings 146s 1..762 146s ok 146s t/annotations.t ......................... 146s # Subtest: draft7 146s ok 1 - user cannot enable annotations for draft7 146s ok 2 - user cannot enable annotations for draft7 even as an override 146s 1..2 146s ok 1 - draft7 146s # Subtest: allOf 146s ok 1 - evaluation of the allOf keyword fails 146s ok 2 - failing allOf: state is correct after evaluating 146s ok 3 - evaluation of the allOf keyword succeeds 146s ok 4 - passing allOf: state is correct after evaluating 146s ok 5 - annotation collection can be turned off in evaluate() 146s ok 6 - ...but the value is still true on the object 146s ok 7 - collect_annotations defaults to false 146s ok 8 - annotation collection can be turned on in evaluate() also 146s 1..8 146s ok 2 - allOf 146s # Subtest: oneOf 146s ok 1 - evaluation of the oneOf keyword fails 146s ok 2 - failing oneOf: state is correct after evaluating 146s ok 3 - evaluation of the oneOf keyword succeeds 146s ok 4 - passing oneOf: state is correct after evaluating 146s 1..4 146s ok 3 - oneOf 146s # Subtest: not 146s ok 1 - evaluation of the not keyword fails 146s ok 2 - failing not: state is correct after evaluating 146s ok 3 - evaluation of the not keyword fails 146s ok 4 - failing not: state is correct after evaluating (annotations will be ultimately discarded) 146s ok 5 - evaluation of the not keyword succeeds 146s ok 6 - passing not: state is correct after evaluating 146s ok 7 - annotations are still collected inside a "not", otherwise the unevaluatedProperties would have returned false 146s 1..7 146s ok 4 - not 146s # Subtest: prefixItems 146s ok 1 - no items means that "prefixItems" succeeds 146s ok 2 - no items: no annotation is produced by prefixItems 146s ok 3 - one item 146s ok 4 - passing prefixItems: one item is annotated 146s ok 5 - two items, one failing 146s ok 6 - failing prefixItems still collects annotations 146s 1..6 146s ok 5 - prefixItems 146s # Subtest: schema-items 146s ok 1 - no items means that "items" succeeds 146s ok 2 - no items: no annotation is produced by items 146s ok 3 - one item 146s ok 4 - passing items: one item is annotated 146s ok 5 - two items, one failing 146s ok 6 - failing items still collects annotations 146s 1..6 146s ok 6 - schema-items 146s # Subtest: additionalItems 146s ok 1 - no items means that "additionalItems" succeeds 146s ok 2 - no items: no annotation is produced by additionaltems 146s ok 3 - one item 146s ok 4 - additionalItems does nothing without items 146s 1..4 146s ok 7 - additionalItems 146s # Subtest: properties 146s ok 1 - no items means that "properties" succeeds 146s ok 2 - no properties: annotation is still produced by properties 146s ok 3 - one property 146s ok 4 - passing properties: one property is annotated 146s ok 5 - two properties, one failing 146s ok 6 - failing properties still collects annotations 146s 1..6 146s ok 8 - properties 146s # Subtest: patternProperties 146s ok 1 - no items means that "patternProperties" succeeds 146s ok 2 - no pProperties: annotation is still produced by patternProperties 146s ok 3 - one property 146s ok 4 - passing properties: one property is annotated 146s ok 5 - two properties, one failing 146s ok 6 - failing patternProperties still collects annotations 146s 1..6 146s ok 9 - patternProperties 146s # Subtest: additionalProperties 146s ok 1 - no items means that "additionalProperties" succeeds 146s ok 2 - no properties: no annotation is produced by additionalProperties 146s ok 3 - one property 146s ok 4 - passing additionalProperties: one property is annotated 146s ok 5 - two properties, one failing 146s ok 6 - failing properties still collects annotations 146s 1..6 146s ok 10 - additionalProperties 146s # Subtest: unevaluatedProperties 146s ok 1 - no items means that "unevaluatedProperties" succeeds 146s ok 2 - no properties: no annotation is produced by unevaluatedProperties 146s ok 3 - one property 146s ok 4 - passing unevaluatedProperties: one property is annotated 146s ok 5 - two properties, one failing 146s ok 6 - failing unevaluatedProperties still collects annotations 146s 1..6 146s ok 11 - unevaluatedProperties 146s # Subtest: collect_annotations and unevaluated keywords 146s ok 1 - when "collect_annotations" is explicitly set to false, unevaluatedItems can still be used (valid result, no annotations in result) 146s ok 2 - when "collect_annotations" is explicitly set to false, unevaluatedItems can still be used (invalid result) 146s ok 3 - when "collect_annotations" is explicitly set to false, unevaluatedProperties can still be used (valid result, no annotations) 146s ok 4 - when "collect_annotations" is explicitly set to false, unevaluatedProperties can still be used (invalid result) 146s ok 5 - when "collect_annotations" is explicitly set to false, unevaluatedProperties still be used, even in other documents (valid result) 146s ok 6 - when "collect_annotations" is explicitly set to false, unevaluatedProperties still be used, even in other documents (invalid result) 146s ok 7 - when "collect_annotations" is set to true, unevaluatedItems works, and annotations are returned 146s ok 8 - when "collect_annotations" is set to true, unevaluatedProperties passes, and annotations are returned 146s ok 9 - when "collect_annotations" is not set, unevaluatedItems still works, but annotations are not returned 146s ok 10 - when "collect_annotations" is not set, unevaluatedProperties still works, but annotations are not returned 146s ok 11 - ... still works when unevaluated keywords are in a separate document 146s ok 12 - items.json does not need collect_annotations => 1 to evaluate itself 146s ok 13 - properties.json does not need collect_annotations => 1 to evaluate itself 146s ok 14 - referenced schemas still produce annotations internally when needed, even when not required to evaluate themselves in isolation 146s 1..14 146s ok 12 - collect_annotations and unevaluated keywords 146s # Subtest: annotate unknown keywords 146s ok 1 - no annotations even when collect_annotations is false 146s ok 2 - unknown keywords are collected as annotations 146s ok 3 - "unknown" keyword is set on the annotation objects for unknown keywords 146s ok 4 - no annotations from unknown keywords in draft2019-09 146s 1..4 146s ok 13 - annotate unknown keywords 146s # Subtest: items + additionalItems, prefixItems + items 146s ok 1 - schema-based items + additionalItems 146s ok 2 - prefixItems + schema-based items 146s 1..2 146s ok 14 - items + additionalItems, prefixItems + items 146s 1..14 146s ok 146s t/boolean-data.t ........................ 146s # Subtest: strict booleans (default) 146s ok 1 - in data, bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ) is a boolean 146s ok 2 - in data, bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ) is a boolean 146s ok 3 - correct error generated from type for undef 146s ok 4 - correct error generated from type for 0 146s ok 5 - correct error generated from type for 1 146s ok 6 - correct error generated from type for '0' 146s ok 7 - correct error generated from type for '1' 146s ok 8 - correct error generated from type for 'false' 146s ok 9 - correct error generated from type for 'true' 146s ok 10 - correct error generated from type for \0 146s ok 11 - correct error generated from type for \1 146s ok 12 - in data, undef not is a boolean 146s ok 13 - in data, 0 not is a boolean 146s ok 14 - in data, 1 not is a boolean 146s ok 15 - in data, '0' not is a boolean 146s ok 16 - in data, '1' not is a boolean 146s ok 17 - in data, 'false' not is a boolean 146s ok 18 - in data, 'true' not is a boolean 146s ok 19 - in data, \0 not is a boolean 146s ok 20 - in data, \1 not is a boolean 146s 1..20 146s ok 1 - strict booleans (default) 146s # Subtest: scalarref_booleans = 1 146s ok 1 - in data, bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ) is a boolean 146s ok 2 - in data, bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ) is a boolean 146s ok 3 - in data, \0 is a boolean 146s ok 4 - in data, \1 is a boolean 146s ok 5 - correct error generated from type for ['null',undef] 146s ok 6 - correct error generated from type for ['integer',0] 146s ok 7 - correct error generated from type for ['integer',1] 146s ok 8 - correct error generated from type for ['string','0'] 146s ok 9 - correct error generated from type for ['string','1'] 146s ok 10 - correct error generated from type for ['string','false'] 146s ok 11 - correct error generated from type for ['string','true'] 146s ok 12 - items are all considered unique when types differ, even when perl treats them similarly 146s ok 13 - scalarrefs compare as identical to their counterpart booleans 146s ok 14 - scalarrefs compare as identical to their counterpart booleans 146s ok 15 - scalarrefs compare as identical to their counterpart booleans 146s ok 16 - scalarrefs compare as identical to their counterpart booleans 146s 1..16 146s ok 2 - scalarref_booleans = 1 146s 1..2 146s ok 147s t/boolean-schemas.t ..................... 147s ok 1 - schema: false evaluates to: false 147s ok 2 - invalid result structure looks correct 147s ok 3 - no exceptions in evaluate 147s ok 4 - schema: true evaluates to: true 147s ok 5 - invalid result structure looks correct 147s ok 6 - no exceptions in evaluate 147s ok 7 - schema: {} evaluates to: true 147s ok 8 - invalid result structure looks correct 147s ok 9 - no exceptions in evaluate 147s ok 10 - schema: 0 evaluates to: false 147s ok 11 - invalid result structure looks correct 147s ok 12 - no exceptions in evaluate 147s ok 13 - schema: 1 evaluates to: false 147s ok 14 - invalid result structure looks correct 147s ok 15 - no exceptions in evaluate 147s ok 16 - schema: false evaluates to: false 147s ok 17 - invalid result structure looks correct 147s ok 18 - no exceptions in evaluate 147s ok 19 - schema: true evaluates to: false 147s ok 20 - invalid result structure looks correct 147s ok 21 - no exceptions in evaluate 147s ok 22 - invalid schema type results in error 147s ok 23 - scalarref for schema results in error, even when scalarref_booleans is true 147s 1..23 147s ok 147s t/cached-metaschemas.t .................. 147s # Subtest: load cached metaschema 147s ok 1 - this resource is not yet known 147s ok 2 - loaded metaschema from sharedir cache 147s ok 3 - this resource is now in the resource index 147s 1..3 147s ok 1 - load cached metaschema 147s # Subtest: resource collision with cached metaschema 147s ok 1 - cannot introduce another schema whose id collides with a cached schema, even if it isn't loaded yet 147s 1..1 147s ok 2 - resource collision with cached metaschema 147s 1..2 147s ok 147s t/callbacks.t ........................... 147s # Subtest: evaluation callbacks 147s ok 1 - evaluation was successful 147s ok 2 - identified all data paths where a $ref was used 147s ok 3 - evaluation was not successful 147s ok 4 - no callbacks on failure: innermost $ref failed, so all other $refs failed too 147s ok 5 - evaluation was successful 147s ok 6 - successful subschemas have callbacks called, but not failed subschemas 147s 1..6 147s ok 1 - evaluation callbacks 147s # Subtest: callbacks for keywords without eval subs 147s ok 1 - evaluation was successful 147s ok 2 - callbacks are triggered for keywords even when they lack evaluation subs 147s 1..2 147s ok 2 - callbacks for keywords without eval subs 147s # Subtest: callbacks that produce errors 147s ok 1 - result object contains the callback error, and the other errors 147s ok 2 - result object contains the callback error, and short-circuits execution 147s 1..2 147s ok 3 - callbacks that produce errors 147s 1..3 147s ok 148s t/content-encoding.t .................... 148s # Subtest: unrecognized encoding formats do not result in errors, when not asserting 148s ok 1 - in evaluate(), annotations are collected and no validation is performed 148s 1..1 148s ok 1 - unrecognized encoding formats do not result in errors, when not asserting 148s # Subtest: media_type and encoding handlers 148s ok 1 - upper-cased names are not accepted 148s ok 2 - application/json media_type decoder 148s ok 3 - */* has no default match 148s ok 4 - default text/plain media_type decoder 148s ok 5 - getter uses the casefolded name 148s ok 6 - getter matches to wildcard entries 148s ok 7 - getter uses new override entry for wildcard 148s ok 8 - getter prefers case-insensitive matches to wildcard entries 148s ok 9 - getter matches to wildcard entries 148s ok 10 - text/* matches itself 148s ok 11 - getter still prefers case-insensitive matches to wildcard entries 148s ok 12 - text/* is preferred to */* 148s ok 13 - */* matches */*, once defined 148s ok 14 - */* is returned as a last resort 148s ok 15 - application/x-www-form-urlencoded happy path with unicode 148s ok 16 - application/x-ndjson happy path with unicode 148s ok 17 - application/x-ndjson dies with line number of the bad data 148s ok 18 - base64 encoding decoder + application/json media_type decoder 148s ok 19 - base64url encoding decoder + application/json media_type decoder 148s 1..19 148s ok 2 - media_type and encoding handlers 148s # Subtest: draft2020-12 assertions 148s ok 1 - under the current spec version, content* keywords are not assertions 148s ok 2 - contentEncoding first decodes the string, erroring if it can't 148s ok 3 - then contentMediaType parses the decoded string, erroring if it can't, and does not continue with the schema 148s ok 4 - contentSchema evaluates the decoded data 148s ok 5 - null data is handled properly 148s ok 6 - contentSchema successfully evaluates the decoded data 148s 1..6 148s ok 3 - draft2020-12 assertions 148s # Subtest: draft7 assertions 148s ok 1 - in draft7, assertion behaviour is the default 148s ok 2 - in draft7, then contentMediaType parses the decoded string, erroring if it can't, and does not continue with the schema 148s ok 3 - under draft7, content* are assertions by default, but contentSchema does not exist 148s 1..3 148s ok 4 - draft7 assertions 148s # Subtest: more assertions 148s ok 1 - evaluation aborts with an unrecognized contentEncoding 148s ok 2 - evaluation aborts with an unrecognized contentMediaType 148s 1..2 148s ok 5 - more assertions 148s 1..5 148s ok 149s t/dialects.t ............................ 149s # Subtest: invalid use of the $schema keyword 149s ok 1 - $schema can only appear at the root of a schema, when there is no canonical URI 149s ok 2 - $schema can only appear where the canonical URI has no fragment, when there is a canonical URI 149s ok 3 - this is still not a resource root, even in a $ref target 149s 1..3 149s ok 1 - invalid use of the $schema keyword 149s # Subtest: defaults without a $schema keyword 149s ok 1 - boolean schema: no $id, no $schema 149s ok 2 - boolean schema: defaults to draft2020-12 without a $schema keyword 149s ok 3 - object schema: no $id, no $schema 149s ok 4 - object schema: defaults to draft2020-12 without a $schema keyword 149s ok 5 - "not" keyword, from the Applicator vocabulary, is traversed at the root level 149s ok 6 - object schema: $id, no $schema 149s ok 7 - named resource defaults to draft2020-12 without a $schema keyword 149s ok 8 - boolean schema: no $id, no $schema 149s ok 9 - boolean schema: specification_version overridden 149s ok 10 - object schema: no $id, no $schema, specification version overridden, other keywords are ignored during traversal 149s ok 11 - object schema: no $id, no $schema, specification version overridden, other keywords are ignored during evaluation 149s ok 12 - object schema: overridden to draft7 149s ok 13 - object schema: $id, no $schema, unrecognized+invalid keywords are ignored during traversal 149s ok 14 - object schema: $id, no $schema 149s ok 15 - object schema: overridden to draft7 and other keywords are ignored 149s 1..15 149s ok 2 - defaults without a $schema keyword 149s # Subtest: behaviour with a $schema keyword 149s ok 1 - object schema: no $id, has $schema, unrecognized+invalid keywords are ignored during traversal 149s ok 2 - object schema: no $id, has $schema, unrecognized keywords are ignored during evaluation 149s ok 3 - semantics can be changed to another draft version 149s ok 4 - schema is accepted with $schema without an empty fragment 149s ok 5 - ..and is still recognized as draft7 149s ok 6 - $id and $schema, unrecognized+invalid keywords are ignored during traversal 149s ok 7 - $id and $schema 149s ok 8 - named resource can be changed to another draft version and other keywords are ignored 149s ok 9 - no $id, specification version overridden twice; unrecognized+invalid keywords are ignored during traversal 149s ok 10 - no $id, specification version overridden twice, other keywords are ignored during evaluation 149s ok 11 - unnamed resource can be changed to another draft version 149s ok 12 - no $id, specification version overridden twice; unrecognized+invalid keywords are ignored during traversal 149s ok 13 - no $id, specification version overridden twice, other keywords are ignored during evaluation 149s ok 14 - unnamed resource can be changed to another draft version 149s 1..14 149s ok 3 - behaviour with a $schema keyword 149s # Subtest: setting or changing schema semantics in a single document 149s ok 1 - $schema can appear adjacent to any $id 149s 1..1 149s ok 4 - setting or changing schema semantics in a single document 149s # Subtest: changing schema semantics across documents 149s ok 1 - no unexpected warnings 149s ok 2 - switching between specification versions is acceptable when crossing document boundaries 149s ok 3 - resources for top level schema 149s ok 4 - resources for subschema 149s ok 5 - no unexpected warnings 149s ok 6 - switching between specification versions is acceptable when crossing document boundaries 149s ok 7 - resources for top level schema 149s ok 8 - resources for subschema 149s 1..8 149s ok 5 - changing schema semantics across documents 149s # Subtest: changing schema semantics within documents 149s # no-longer-supported "dependencies" keyword present (at location "https://iam.draft2019-09-3.com"): this should be rewritten as "dependentSchemas" or "dependentRequired" at t/dialects.t line 674. 149s ok 1 - switching between specification versions is acceptable within a document, draft2019-09 -> draft7 149s ok 2 - resources for top level schema 149s ok 3 - resources for subschema 149s # no-longer-supported "dependencies" keyword present (at location "https://iam.draft2020-12-4.com"): this should be rewritten as "dependentSchemas" or "dependentRequired" at t/dialects.t line 778. 149s ok 4 - switching between specification versions is acceptable within a document, draft7 -> draf2020-12 149s ok 5 - resources for top level schema 149s ok 6 - resources for subschema 149s 1..6 149s ok 6 - changing schema semantics within documents 149s # Subtest: $vocabulary 149s ok 1 - $vocabulary syntax checks 149s ok 2 - $vocabulary location check - resource root 149s ok 3 - $vocabulary location check - document root 149s ok 4 - successfully evaluated a metaschema that specifies vocabularies 149s ok 5 - metaschemas are not saved on the resource 149s ok 6 - ..but once we use the schema as a metaschema, 149s ok 7 - ... the vocabulary information is now cached in the evaluator 149s 1..7 149s ok 7 - $vocabulary 149s # Subtest: standard metaschemas 149s ok 1 - main metaschema evaluated against its own URI 149s ok 2 - main metaschema evaluated against its own content 149s ok 3 - core metaschema evaluated against the main metaschema URI 149s ok 4 - core metaschema evaluated against its own content 149s 1..4 149s ok 8 - standard metaschemas 149s # Subtest: custom metaschemas, without custom vocabularies 149s ok 1 - specification version detected from standard metaschema URI 149s ok 2 - custom metaschema restricts schemas to objects 149s ok 3 - custom metaschema recurses to standard metaschema 149s ok 4 - objects are acceptable schemas to this metaschema 149s ok 5 - metaschemas without $vocabulary can still be used in the $schema keyword 149s ok 6 - ..and schema uses the correct spec version and vocabularies 149s 1..6 149s ok 9 - custom metaschemas, without custom vocabularies 149s # Subtest: custom metaschemas, with custom vocabularies 149s ok 1 - custom metaschemas are okay, but the document must be known 149s ok 2 - $vocabulary location check - document root 149s ok 3 - metaschemas must have an i$id 149s ok 4 - $vocabulary validation that must be deferred until used as a metaschema 149s ok 5 - metaschemas using "$vocabulary" must contain vocabularies 149s ok 6 - metaschemas must contain the Core vocabulary 149s ok 7 - validation succeeds because "minimum" never gets run 149s ok 8 - determined vocabularies to use for this schema 149s 1..8 149s ok 10 - custom metaschemas, with custom vocabularies 149s # Subtest: custom vocabulary classes with add_vocabulary() 149s ok 1 - vocabulary class must exist 149s ok 2 - vocabulary class must implement the role 149s ok 3 - vocabulary class must implement some subs 149s ok 4 - vocabulary() sub in the vocabulary class must return uri => specification_version pairs 149s ok 5 - parse error from bad vocab sub 149s ok 6 - vocabulary() sub in the vocabulary class must contain valid absolute, fragmentless URIs 149s ok 7 - vocabulary() sub in the vocabulary class must reference a known specification version 149s ok 8 - added a vocabulary sub 149s ok 9 - vocabulary was successfully added 149s ok 10 - custom vocabulary class has a conflicting evaluation_order 149s ok 11 - added another vocabulary sub 149s ok 12 - custom vocabulary class used by a custom metaschema used by a schema 149s 1..12 149s ok 11 - custom vocabulary classes with add_vocabulary() 149s # Subtest: $schema points to a boolean schema 149s ok 1 - $schema cannot reference a boolean schema 149s 1..1 149s ok 12 - $schema points to a boolean schema 149s 1..12 149s ok 149s t/document.t ............................ 149s # Subtest: boolean document 149s ok 1 - boolean schema with no canonical_uri 149s ok 2 - boolean schema with invalid canonical_uri (fragment) 149s ok 3 - boolean schema with valid canonical_uri 149s 1..3 149s ok 1 - boolean document 149s # Subtest: object document 149s ok 1 - object schema with no canonical_uri, no root $id 149s ok 2 - object schema with valid canonical_uri, no root $id 149s ok 3 - object schema with no canonical_uri, and absolute root $id 149s ok 4 - object schema with no canonical_uri, and absolute root $id 149s ok 5 - object schema with no canonical_uri, and absolute root $id 149s ok 6 - object schema with canonical_uri and root $id, and additional resource schemas as well 149s ok 7 - relative uri for root $id 149s ok 8 - no root $id; absolute uri with path in subschema resource 149s 1..8 149s ok 2 - object document 149s # Subtest: $id and $anchor as properties 149s ok 1 - did not index the $id and $anchor properties as if they were identifier keywords 149s 1..1 149s ok 3 - $id and $anchor as properties 149s # Subtest: $id with an empty fragment 149s ok 1 - $id is stored with the empty fragment stripped 149s 1..1 149s ok 4 - $id with an empty fragment 149s # Subtest: $id with a non-empty fragment 149s ok 1 - did not index the $id with a non-empty fragment, nor use it as the base for other identifiers 149s 1..1 149s ok 5 - $id with a non-empty fragment 149s # Subtest: $anchor not conforming to syntax 149s ok 1 - did not index an $anchor with invalid characters 149s 1..1 149s ok 6 - $anchor not conforming to syntax 149s # Subtest: $schema not conforming to syntax 149s ok 1 - invalid $schema is detected 149s 1..1 149s ok 7 - $schema not conforming to syntax 149s # Subtest: $anchor and $id below an $id that is not at the document root 149s ok 1 - canonical_uri uses the path from the innermost $id, not document root $id 149s 1..1 149s ok 8 - $anchor and $id below an $id that is not at the document root 149s # Subtest: JSON pointer and URI escaping 149s ok 1 - properly escaped special characters in JSON pointers and URIs 149s ok 2 - schema locations are tracked 149s ok 3 - non-schema locations are also tracked 149s ok 4 - schema locations can be queried 149s 1..4 149s ok 9 - JSON pointer and URI escaping 149s # Subtest: resource collisions 149s ok 1 - detected collision between document's initial uri and a subschema's uri 149s ok 2 - detected collision between two subschema uris in a document 149s ok 3 - ignored "duplicate" uris embedded in non-schemas 149s ok 4 - the correct canonical uri is indexed in the inverted index 149s 1..4 149s ok 10 - resource collisions 149s # Subtest: create document with explicit canonical_uri set to the same as root $id 149s ok 1 - there is one single uri indexed to the document 149s 1..1 149s ok 11 - create document with explicit canonical_uri set to the same as root $id 149s # Subtest: canonical_uri identification from a document with errors 149s ok 1 - error lower down in document does not result in an inner identifier being used as canonical_uri 149s 1..1 149s ok 12 - canonical_uri identification from a document with errors 149s # Subtest: custom metaschema_uri 149s ok 1 - determined vocabularies to use for this schema 149s ok 2 - validation succeeds because "minimum" never gets run 149s ok 3 - can evaluate at a subschema as well, with the same vocabularies 149s ok 4 - schema validates against its metaschema, and "minimum" is ignored 149s ok 5 - no leaks in the evaluator object 149s 1..5 149s ok 13 - custom metaschema_uri 149s 1..13 149s ok 150s t/equality.t ............................ 150s # Subtest: equality, using inflated data 150s ok 1 - null == null is true 150s ok 2 - error is undefined 150s ok 3 - type of arg 0 was not mutated while making equality check 150s ok 4 - type of arg 1 was not mutated while making equality check 150s # 150s ok 5 - null == false is false 150s ok 6 - two instances differ at the expected place 150s ok 7 - error is correct 150s ok 8 - type of arg 0 was not mutated while making equality check 150s ok 9 - type of arg 1 was not mutated while making equality check 150s # 150s ok 10 - null == true is false 150s ok 11 - two instances differ at the expected place 150s ok 12 - error is correct 150s ok 13 - type of arg 0 was not mutated while making equality check 150s ok 14 - type of arg 1 was not mutated while making equality check 150s # 150s ok 15 - null == 1 is false 150s ok 16 - two instances differ at the expected place 150s ok 17 - error is correct 150s ok 18 - type of arg 0 was not mutated while making equality check 150s ok 19 - type of arg 1 was not mutated while making equality check 150s # 150s ok 20 - null == "1" is false 150s ok 21 - two instances differ at the expected place 150s ok 22 - error is correct 150s ok 23 - type of arg 0 was not mutated while making equality check 150s ok 24 - type of arg 1 was not mutated while making equality check 150s # 150s ok 25 - ["a", "b", "c"] == ["a", "b", "c"] is true 150s ok 26 - error is undefined 150s ok 27 - type of arg 0 was not mutated while making equality check 150s ok 28 - type of arg 1 was not mutated while making equality check 150s # 150s ok 29 - ["a", "b", "c"] == ["a", "b"] is false 150s ok 30 - two instances differ at the expected place 150s ok 31 - error is correct 150s ok 32 - type of arg 0 was not mutated while making equality check 150s ok 33 - type of arg 1 was not mutated while making equality check 150s # 150s ok 34 - ["a", "b"] == ["b", "a"] is false 150s ok 35 - two instances differ at the expected place 150s ok 36 - error is correct 150s ok 37 - type of arg 0 was not mutated while making equality check 150s ok 38 - type of arg 1 was not mutated while making equality check 150s # 150s ok 39 - 1 == 1 is true 150s ok 40 - error is undefined 150s ok 41 - type of arg 0 was not mutated while making equality check 150s ok 42 - type of arg 1 was not mutated while making equality check 150s # 150s ok 43 - 1 == 1.0 is true 150s ok 44 - error is undefined 150s ok 45 - type of arg 0 was not mutated while making equality check 150s ok 46 - type of arg 1 was not mutated while making equality check 150s # 150s ok 47 - 1 == "1.0" is false 150s ok 48 - two instances differ at the expected place 150s ok 49 - error is correct 150s ok 50 - type of arg 0 was not mutated while making equality check 150s ok 51 - type of arg 1 was not mutated while making equality check 150s # 150s ok 52 - "1.1" == 1.1 is false 150s ok 53 - two instances differ at the expected place 150s ok 54 - error is correct 150s ok 55 - type of arg 0 was not mutated while making equality check 150s ok 56 - type of arg 1 was not mutated while making equality check 150s # 150s ok 57 - "1" == 1 is false 150s ok 58 - two instances differ at the expected place 150s ok 59 - error is correct 150s ok 60 - type of arg 0 was not mutated while making equality check 150s ok 61 - type of arg 1 was not mutated while making equality check 150s # 150s ok 62 - "1.1" == 1.1 is false 150s ok 63 - two instances differ at the expected place 150s ok 64 - error is correct 150s ok 65 - type of arg 0 was not mutated while making equality check 150s ok 66 - type of arg 1 was not mutated while making equality check 150s # 150s ok 67 - [1, 2] == [2, 1] is false 150s ok 68 - two instances differ at the expected place 150s ok 69 - error is correct 150s ok 70 - type of arg 0 was not mutated while making equality check 150s ok 71 - type of arg 1 was not mutated while making equality check 150s # 150s ok 72 - {"a" : 1, "b" : 2} == {"a" : 1, "b" : 2} is true 150s ok 73 - error is undefined 150s ok 74 - type of arg 0 was not mutated while making equality check 150s ok 75 - type of arg 1 was not mutated while making equality check 150s # 150s ok 76 - {"a" : 1} == {"a" : 1.0} is true 150s ok 77 - error is undefined 150s ok 78 - type of arg 0 was not mutated while making equality check 150s ok 79 - type of arg 1 was not mutated while making equality check 150s # 150s ok 80 - ["école", "ಠ_ಠ"] == ["école", "ಠ_ಠ"] is true 150s ok 81 - error is undefined 150s ok 82 - type of arg 0 was not mutated while making equality check 150s ok 83 - type of arg 1 was not mutated while making equality check 150s # 150s ok 84 - {"a" : 1, "b" : 2} == {"a" : 1, "b" : 3} is false 150s ok 85 - two instances differ at the expected place 150s ok 86 - error is correct 150s ok 87 - type of arg 0 was not mutated while making equality check 150s ok 88 - type of arg 1 was not mutated while making equality check 150s # 150s ok 89 - {"a" : {"b" : 1, "c" : 2}, "d" : {"e" : 3, "f" : 4}} == {"a" : {"b" : 1, "c" : 2}, "d" : {"e" : 3, "f" : 5}} is false 150s ok 90 - two instances differ at the expected place 150s ok 91 - error is correct 150s ok 92 - type of arg 0 was not mutated while making equality check 150s ok 93 - type of arg 1 was not mutated while making equality check 150s # 150s ok 94 - [{"a" : 1}] == [{"a" : 1, "b" : 2}] is false 150s ok 95 - two instances differ at the expected place 150s ok 96 - error is correct 150s ok 97 - type of arg 0 was not mutated while making equality check 150s ok 98 - type of arg 1 was not mutated while making equality check 150s # 150s ok 99 - [{"a" : 1}] == [{"b" : 2}] is false 150s ok 100 - two instances differ at the expected place 150s ok 101 - error is correct 150s ok 102 - type of arg 0 was not mutated while making equality check 150s ok 103 - type of arg 1 was not mutated while making equality check 150s # 150s ok 104 - {"foo" : [[0]]} == {"foo" : [[0, 1]]} is false 150s ok 105 - two instances differ at the expected place 150s ok 106 - error is correct 150s ok 107 - type of arg 0 was not mutated while making equality check 150s ok 108 - type of arg 1 was not mutated while making equality check 150s # 150s 1..108 150s ok 1 - equality, using inflated data 150s # Subtest: equality, using JSON strings 150s ok 1 - null == null is true 150s ok 2 - type of arg 0 was not mutated while making equality check 150s ok 3 - type of arg 1 was not mutated while making equality check 150s # 150s ok 4 - null == 1 is false 150s ok 5 - two instances differ at the expected place 150s ok 6 - type of arg 0 was not mutated while making equality check 150s ok 7 - type of arg 1 was not mutated while making equality check 150s # 150s ok 8 - ["a", "b", "c"] == ["a", "b", "c"] is true 150s ok 9 - type of arg 0 was not mutated while making equality check 150s ok 10 - type of arg 1 was not mutated while making equality check 150s # 150s ok 11 - ["a", "b", "c"] == ["a", "b"] is false 150s ok 12 - two instances differ at the expected place 150s ok 13 - type of arg 0 was not mutated while making equality check 150s ok 14 - type of arg 1 was not mutated while making equality check 150s # 150s ok 15 - ["a", "b"] == ["b", "a"] is false 150s ok 16 - two instances differ at the expected place 150s ok 17 - type of arg 0 was not mutated while making equality check 150s ok 18 - type of arg 1 was not mutated while making equality check 150s # 150s ok 19 - 1 == 1 is true 150s ok 20 - type of arg 0 was not mutated while making equality check 150s ok 21 - type of arg 1 was not mutated while making equality check 150s # 150s ok 22 - 1 == 1.0 is true 150s ok 23 - type of arg 0 was not mutated while making equality check 150s ok 24 - type of arg 1 was not mutated while making equality check 150s # 150s ok 25 - 10 == 10.0 is true 150s ok 26 - type of arg 0 was not mutated while making equality check 150s ok 27 - type of arg 1 was not mutated while making equality check 150s # 150s ok 28 - [1, 2] == [2, 1] is false 150s ok 29 - two instances differ at the expected place 150s ok 30 - type of arg 0 was not mutated while making equality check 150s ok 31 - type of arg 1 was not mutated while making equality check 150s # 150s ok 32 - {"a" : 1, "b" : 2} == {"a" : 1, "b" : 2} is true 150s ok 33 - type of arg 0 was not mutated while making equality check 150s ok 34 - type of arg 1 was not mutated while making equality check 150s # 150s ok 35 - {"a" : 1} == {"a" : 1.0} is true 150s ok 36 - type of arg 0 was not mutated while making equality check 150s ok 37 - type of arg 1 was not mutated while making equality check 150s # 150s ok 38 - ["école", "ಠ_ಠ"] == ["école", "ಠ_ಠ"] is true 150s ok 39 - type of arg 0 was not mutated while making equality check 150s ok 40 - type of arg 1 was not mutated while making equality check 150s # 150s ok 41 - {"a" : 1, "b" : 2} == {"a" : 1, "b" : 3} is false 150s ok 42 - two instances differ at the expected place 150s ok 43 - type of arg 0 was not mutated while making equality check 150s ok 44 - type of arg 1 was not mutated while making equality check 150s # 150s ok 45 - {"a" : {"b" : 1, "c" : 2}, "d" : {"e" : 3, "f" : 4}} == {"a" : {"b" : 1, "c" : 2}, "d" : {"e" : 3, "f" : 5}} is false 150s ok 46 - two instances differ at the expected place 150s ok 47 - type of arg 0 was not mutated while making equality check 150s ok 48 - type of arg 1 was not mutated while making equality check 150s # 150s 1..48 150s ok 2 - equality, using JSON strings 150s # Subtest: equality, using scalarref_booleans 150s ok 1 - false == true is false 150s ok 2 - two instances differ at the expected place 150s ok 3 - type of arg 0 was not mutated while making equality check 150s ok 4 - type of arg 1 was not mutated while making equality check 150s # 150s ok 5 - true == true is true 150s ok 6 - type of arg 0 was not mutated while making equality check 150s ok 7 - type of arg 1 was not mutated while making equality check 150s # 150s ok 8 - false == false is true 150s ok 9 - type of arg 0 was not mutated while making equality check 150s ok 10 - type of arg 1 was not mutated while making equality check 150s # 150s ok 11 - true == false is false 150s ok 12 - two instances differ at the expected place 150s ok 13 - type of arg 0 was not mutated while making equality check 150s ok 14 - type of arg 1 was not mutated while making equality check 150s # 150s ok 15 - null == false is false 150s ok 16 - two instances differ at the expected place 150s ok 17 - type of arg 0 was not mutated while making equality check 150s ok 18 - type of arg 1 was not mutated while making equality check 150s # 150s ok 19 - null == false is false 150s ok 20 - two instances differ at the expected place 150s ok 21 - type of arg 0 was not mutated while making equality check 150s ok 22 - type of arg 1 was not mutated while making equality check 150s # 150s 1..22 150s ok 3 - equality, using scalarref_booleans 150s # Subtest: equality, using stringy_numbers 150s ok 1 - 1 == 1 is true 150s ok 2 - type of arg 0 was not mutated while making equality check (get_type returns integer) 150s ok 3 - type of arg 1 was not mutated while making equality check (get_type returns integer) 150s ok 4 - type of arg 0 was not mutated while making equality check (is_type('integer') returns true) 150s ok 5 - type of arg 1 was not mutated while making equality check (is_type('integer') returns true) 150s # 150s ok 6 - 1 == 1.0 is true 150s ok 7 - type of arg 0 was not mutated while making equality check (get_type returns integer) 150s ok 8 - type of arg 1 was not mutated while making equality check (get_type returns integer) 150s ok 9 - type of arg 0 was not mutated while making equality check (is_type('integer') returns true) 150s ok 10 - type of arg 1 was not mutated while making equality check (is_type('integer') returns true) 150s # 150s ok 11 - 1 == "1.0" is true 150s ok 12 - type of arg 0 was not mutated while making equality check (get_type returns integer) 150s ok 13 - type of arg 1 was not mutated while making equality check (get_type returns string) 150s ok 14 - type of arg 0 was not mutated while making equality check (is_type('integer') returns true) 150s ok 15 - type of arg 1 was not mutated while making equality check (is_type('string') returns true) 150s # 150s ok 16 - "1.1" == 1.1 is true 150s ok 17 - type of arg 0 was not mutated while making equality check (get_type returns string) 150s ok 18 - type of arg 1 was not mutated while making equality check (get_type returns number) 150s ok 19 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 150s ok 20 - type of arg 1 was not mutated while making equality check (is_type('number') returns true) 150s # 150s ok 21 - "1" == 1 is true 150s ok 22 - type of arg 0 was not mutated while making equality check (get_type returns string) 150s ok 23 - type of arg 1 was not mutated while making equality check (get_type returns integer) 150s ok 24 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 150s ok 25 - type of arg 1 was not mutated while making equality check (is_type('integer') returns true) 150s # 150s ok 26 - "1.1" == 1.1 is true 150s ok 27 - type of arg 0 was not mutated while making equality check (get_type returns string) 150s ok 28 - type of arg 1 was not mutated while making equality check (get_type returns number) 150s ok 29 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 150s ok 30 - type of arg 1 was not mutated while making equality check (is_type('number') returns true) 150s # 150s ok 31 - "1" == "1.00" is true 150s ok 32 - type of arg 0 was not mutated while making equality check (get_type returns string) 150s ok 33 - type of arg 1 was not mutated while making equality check (get_type returns string) 150s ok 34 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 150s ok 35 - type of arg 1 was not mutated while making equality check (is_type('string') returns true) 150s # 150s ok 36 - "1.10" == "1.1000" is true 150s ok 37 - type of arg 0 was not mutated while making equality check (get_type returns string) 150s ok 38 - type of arg 1 was not mutated while making equality check (get_type returns string) 150s ok 39 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 150s ok 40 - type of arg 1 was not mutated while making equality check (is_type('string') returns true) 150s # 150s ok 41 - "x" == "x" is true 150s ok 42 - type of arg 0 was not mutated while making equality check (get_type returns string) 150s ok 43 - type of arg 1 was not mutated while making equality check (get_type returns string) 150s ok 44 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 150s ok 45 - type of arg 1 was not mutated while making equality check (is_type('string') returns true) 150s # 150s ok 46 - "x" == "y" is false 150s ok 47 - two instances differ at the expected place 150s ok 48 - type of arg 0 was not mutated while making equality check (get_type returns string) 150s ok 49 - type of arg 1 was not mutated while making equality check (get_type returns string) 150s ok 50 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 150s ok 51 - type of arg 1 was not mutated while making equality check (is_type('string') returns true) 150s # 150s ok 52 - "5" == 5 is true 150s ok 53 - type of arg 0 was not mutated while making equality check (get_type returns string) 150s ok 54 - type of arg 1 was not mutated while making equality check (get_type returns ambiguous type) 150s ok 55 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 150s # 150s ok 56 - 5 == 5 is true 150s ok 57 - type of arg 0 was not mutated while making equality check (get_type returns integer) 150s ok 58 - type of arg 1 was not mutated while making equality check (get_type returns ambiguous type) 150s ok 59 - type of arg 0 was not mutated while making equality check (is_type('integer') returns true) 150s # 150s ok 60 - "5" == "five" is false 150s ok 61 - two instances differ at the expected place 150s ok 62 - type of arg 0 was not mutated while making equality check (get_type returns string) 150s ok 63 - type of arg 1 was not mutated while making equality check (get_type returns ambiguous type) 150s ok 64 - type of arg 0 was not mutated while making equality check (is_type('string') returns true) 150s # 150s ok 65 - 5 == "five" is false 150s ok 66 - two instances differ at the expected place 150s ok 67 - type of arg 0 was not mutated while making equality check (get_type returns integer) 150s ok 68 - type of arg 1 was not mutated while making equality check (get_type returns ambiguous type) 150s ok 69 - type of arg 0 was not mutated while making equality check (is_type('integer') returns true) 150s # 150s 1..69 150s ok 4 - equality, using stringy_numbers 150s 1..4 150s ok 150s t/errors.t .............................. 150s # Subtest: multiple types 150s ok 1 - type returned false 150s ok 2 - got error count 150s ok 3 - correct error generated from type 150s ok 4 - result object serializes correctly 150s 1..4 150s ok 1 - multiple types 150s # Subtest: multipleOf 150s ok 1 - correct error generated from multipleOf 150s 1..1 150s ok 2 - multipleOf 150s # Subtest: uniqueItems 150s ok 1 - correct error generated from uniqueItems 150s 1..1 150s ok 3 - uniqueItems 150s # Subtest: allOf, not, and false schema 150s ok 1 - correct errors with locations; did not collect errors inside "not" 150s ok 2 - short-circuited results contain fewer errors 150s 1..2 150s ok 4 - allOf, not, and false schema 150s # Subtest: anyOf keeps all errors for false paths when invalid, discards errors for false paths when valid 150s ok 1 - correct errors with locations; did not collect errors inside "not" 150s ok 2 - short-circuited results contain the same errors (short-circuiting not possible) 150s ok 3 - did not collect errors from failure paths from successful anyOf 150s ok 4 - no errors collected for true validation 150s 1..4 150s ok 5 - anyOf keeps all errors for false paths when invalid, discards errors for false paths when valid 150s # Subtest: applicators with non-boolean subschemas, discarding intermediary errors - items 150s ok 1 - collected all errors from subschemas for failing branches only (passing branches discard errors) 150s ok 2 - short-circuited results contain fewer errors 150s 1..2 150s ok 6 - applicators with non-boolean subschemas, discarding intermediary errors - items 150s # Subtest: applicators with non-boolean subschemas, discarding intermediary errors - contains 150s ok 1 - collected all errors from subschemas for failing branches only (passing branches discard errors) 150s ok 2 - short-circuited results contain the same errors 150s 1..2 150s ok 7 - applicators with non-boolean subschemas, discarding intermediary errors - contains 150s # Subtest: errors with $refs 150s ok 1 - errors have correct absolute keyword location via $ref 150s 1..1 150s ok 8 - errors with $refs 150s # Subtest: const and enum 150s ok 1 - got details about object differences in errors from const and enum 150s 1..1 150s ok 9 - const and enum 150s # Subtest: exceptions 150s ok 1 - attempting to evaluate a json string returns the exception as an error 150s ok 2 - exception flag is true on the result 150s ok 3 - a subschema of an invalid type returns an error at the right position, and evaluation continues 150s ok 4 - exception flag is true on the result 150s ok 5 - invalid argument to "type" returns an error at the right position, and evaluation continues 150s ok 6 - exception flag is true on the result 150s 1..6 150s ok 10 - exceptions 150s # Subtest: errors after crossing multiple $refs using $id and $anchor 150s ok 1 - errors have correct absolute keyword location via $ref 150s ok 2 - absolute keyword location is correct, even when not used in the $ref 150s 1..2 150s ok 11 - errors after crossing multiple $refs using $id and $anchor 150s # Subtest: unresolvable $ref to a local resource 150s ok 1 - error for a bad $ref reports the correct absolute location that was referred to 150s ok 2 - exception flag is true on the result 150s 1..2 150s ok 12 - unresolvable $ref to a local resource 150s # Subtest: unresolvable $ref to a remote resource 150s ok 1 - error for a bad $ref reports the correct absolute location that was referred to 150s ok 2 - exception flag is true on the result 150s 1..2 150s ok 13 - unresolvable $ref to a remote resource 150s # Subtest: unresolvable $ref to plain-name fragment 150s ok 1 - properly handled a bad $ref to an anchor 150s ok 2 - exception flag is true on the result 150s 1..2 150s ok 14 - unresolvable $ref to plain-name fragment 150s # Subtest: abort due to a schema error 150s ok 1 - exception inside a oneOf (where errors are localized) are still included in the result 150s 1..1 150s ok 15 - abort due to a schema error 150s # Subtest: sorted property names 150s ok 1 - property names are considered in sorted order 150s 1..1 150s ok 16 - sorted property names 150s # Subtest: bad regex in schema 150s ok 1 - bad "pattern" and "patternProperties" regexes are properly noted in error 150s ok 2 - bad "pattern" regex is properly noted in error 150s ok 3 - "pattern" regex is now valid, due to the Unicode property becoming defined 150s 1..3 150s ok 17 - bad regex in schema 150s # Subtest: JSON pointer escaping 150s ok 1 - JSON pointers are properly escaped; URIs doubly so 150s ok 2 - absoluteKeywordLocation is omitted when paths are the same, not counting uri encoding 150s ok 3 - use of _schema_path_suffix in a fatal error 150s 1..3 150s ok 18 - JSON pointer escaping 150s # Subtest: absoluteKeywordLocation 150s ok 1 - absoluteKeywordLocation is included when different from instanceLocation, even when empty 150s ok 2 - absoluteKeywordLocation is not included when the path equals keywordLocation, even if a $ref is present 150s ok 3 - absoluteKeywordLocation is never "\#" 150s ok 4 - absoluteKeywordLocation reflects the canonical schema uri as it changes when passing through $id 150s ok 5 - plain-name fragment in $id does not change canonical schema uri 150s 1..5 150s ok 19 - absoluteKeywordLocation 150s # Subtest: dependentRequired 150s ok 1 - dependentRequired traversal error 150s 1..1 150s ok 20 - dependentRequired 150s # Subtest: evaluate in the middle of a document 150s ok 1 - provided evaluation uri does not exist 150s ok 2 - error has correct locations from override hash 150s 1..2 150s ok 21 - evaluate in the middle of a document 150s # Subtest: numbers in output 150s ok 1 - numbers in errors do not lose any digits of precision 150s 1..1 150s ok 22 - numbers in output 150s # Subtest: effective_base_uri 150s ok 1 - error locations are relative to the effective_base_uri, but $ref usage is not restricted 150s 1..1 150s ok 23 - effective_base_uri 150s # Subtest: recommended_response 150s ok 1 - recommended_response is not defined when there are no errors 150s ok 2 - recommended_response uses the first error in the result 150s ok 3 - recommended_response indicates an exception occurred 150s ok 4 - recommended_response uses the one from the error that is explicitly set 150s 1..4 150s ok 24 - recommended_response 150s # Subtest: exclusiveMaximum, exclusiveMinimum across drafts 150s ok 1 - later drafts; errors are produced separately from the keywords 150s ok 2 - later drafts; two errors can result 150s ok 3 - draft4: one error comes from maximum, but includes the exclusiveMaximum check 150s ok 4 - draft4: maximum + exclusiveMaximum checks are combined 150s ok 5 - draft4: exclusive check uses the right boundary 150s ok 6 - draft4: maximum check is correct 150s 1..6 150s ok 25 - exclusiveMaximum, exclusiveMinimum across drafts 150s 1..25 150s ok 150s t/evaluate_json_string.t ................ 150s ok 1 - we have a JSON decoder 150s ok 2 - json data "true" is evaluated successfully 150s ok 3 - no exceptions in evaluate_json_string on good json 150s ok 4 - evaluating bad json data returns false, with error 150s ok 5 - no exceptions in evaluate_json_string on bad json 150s 1..5 150s ok 151s t/find-identifiers.t .................... 151s # Subtest: $id sets canonical uri 151s ok 1 - $id was recognized - $ref was successfully traversed 151s ok 2 - resources indexed; document canonical_uri is still unset 151s ok 3 - the same document object is indexed under both URIs 151s ok 4 - the schema contains no blessed leaf nodes 151s 1..4 151s ok 1 - $id sets canonical uri 151s # Subtest: anchors 151s ok 1 - $id was recognized - absolute locations use json paths, not anchors 151s ok 2 - internal resource index is correct 151s 1..2 151s ok 2 - anchors 151s # Subtest: $anchor at root without $id 151s ok 1 - $id without anchor was recognized - absolute locations use json paths, not anchors 151s ok 2 - internal resource index is correct 151s 1..2 151s ok 3 - $anchor at root without $id 151s # Subtest: $ids and $anchors in subschemas after $id changes 151s ok 1 - $anchor is legal in a subschema 151s ok 2 - internal resource index is correct 151s 1..2 151s ok 4 - $ids and $anchors in subschemas after $id changes 151s # Subtest: invalid $id and $anchor 151s ok 1 - bad $id and $anchor are detected, even if bad definitions are not traversed 151s ok 2 - "bad" $ids and $anchors that are not actually keywords are not reported as errors 151s 1..2 151s ok 5 - invalid $id and $anchor 151s # Subtest: nested $ids 151s ok 1 - errors have the correct location 151s ok 2 - properly resolved all the nested $ids 151s 1..2 151s ok 6 - nested $ids 151s # Subtest: multiple documents, each using canonical_uri = "" 151s ok 1 - evaluation of schema1 151s ok 2 - resources in initial schema are indexed 151s ok 3 - successful evaluation of schema2 151s ok 4 - resources in second schema are indexed; all resources from first schema are preserved except uri="" 151s 1..4 151s ok 7 - multiple documents, each using canonical_uri = "" 151s # Subtest: multiple documents, each using canonical_uri = "", collisions in other resources 151s ok 1 - evaluation of schema1 151s ok 2 - resources in initial schema are indexed 151s ok 3 - schema2 cannot be evaluated - an internal $id collides with an existing resource 151s 1..3 151s ok 8 - multiple documents, each using canonical_uri = "", collisions in other resources 151s # Subtest: resource collisions in canonical uris 151s ok 1 - detected collision between a document's initial uri and a document's subschema's uri 151s ok 2 - detected collision between two document subschema uris 151s 1..2 151s ok 9 - resource collisions in canonical uris 151s # Subtest: relative uri in $id 151s ok 1 - root schema location is correctly identified 151s ok 2 - properly able to traverse a recursive schema using a relative $id 151s 1..2 151s ok 10 - relative uri in $id 151s 1..10 151s ok 151s t/formats.t ............................. 151s # Subtest: no validation 151s ok 1 - validate_formats=0 disables format assertion behaviour; annotation is still produced 151s ok 2 - format validation can be turned off in evaluate() 151s 1..2 151s ok 1 - no validation 151s # Subtest: simple validation 151s ok 1 - non-string values are valid, and produce an annotation 151s ok 2 - simple success 151s ok 3 - simple failure 151s ok 4 - format_validation defaults to false 151s ok 5 - format validation can be turned on in evaluate() 151s ok 6 - ...but the value is still false on the object 151s 1..6 151s ok 2 - simple validation 151s # Subtest: override a format sub 151s ok 1 - check syntax of override to existing format via constructor 151s ok 2 - check syntax of override format name to existing format via setter 151s ok 3 - check syntax of override definition value to existing format via setter 151s ok 4 - type is required if passing a hashref 151s ok 5 - cannot override a core format to support a different data type 151s ok 6 - can override a core format definition, as long as it uses the same type 151s ok 7 - check syntax of implementation for a new format 151s ok 8 - check syntax of implementation when adding an override to existing format 151s ok 9 - check syntax of implementation when adding a new format 151s ok 10 - swapping out format implementation turns success into failure; wrong types are still valid 151s ok 11 - can override a custom format definition to use a different type 151s 1..11 151s ok 3 - override a format sub 151s # Subtest: toggle validate_formats after adding schema 151s ok 1 - assertion behaviour is off initially 151s ok 2 - assertion behaviour can be enabled later with an already-loaded schema 151s ok 3 - valid assertion behaviour does not die 151s ok 4 - a schema document can be used with another evaluator with assertion behaviour 151s ok 5 - valid assertion behaviour does not die 151s 1..5 151s ok 4 - toggle validate_formats after adding schema 151s # Subtest: custom metaschemas 151s ok 1 - custom metaschema using format-assertion=true validates formats 151s ok 2 - custom metaschema using format-assertion=true validates formats 151s 1..2 151s ok 5 - custom metaschemas 151s # Subtest: core formats added after draft7 151s ok 1 - duration is not implemented in draft7 151s ok 2 - uuid is not implemented in draft7 151s 1..2 151s ok 6 - core formats added after draft7 151s # Subtest: unimplemented core formats 151s ok 1 - draft4 with validate_formats = 1, no error when an unimplemented core format is used 151s ok 2 - draft6 with validate_formats = 1, no error when an unimplemented core format is used 151s ok 3 - draft7 with validate_formats = 1, no error when an unimplemented core format is used 151s ok 4 - draft2019-09 with validate_formats = 1, no error when an unimplemented core format is used 151s ok 5 - draft2020-12 with validate_formats = 1, no error when an unimplemented core format is used 151s ok 6 - draft2020-12 with Format-Assertion vocabulary: error when an unimplemented core format is used 151s ok 7 - draft2020-12 with Format-Assertion vocabulary: error is seen even when containing subschema would be true 151s 1..7 151s ok 7 - unimplemented core formats 151s # Subtest: unknown custom formats 151s ok 1 - draft4: for format validation with the Format-Annotation vocabulary, unrecognized format attributes do not cause validation failure 151s ok 2 - draft6: for format validation with the Format-Annotation vocabulary, unrecognized format attributes do not cause validation failure 151s ok 3 - draft7: for format validation with the Format-Annotation vocabulary, unrecognized format attributes do not cause validation failure 151s ok 4 - draft2019-09: for format validation with the Format-Annotation vocabulary, unrecognized format attributes do not cause validation failure; annotation is still produced 151s ok 5 - draft2020-12: for format validation with the Format-Annotation vocabulary, unrecognized format attributes do not cause validation failure; annotation is still produced 151s ok 6 - draft2020-12: for format validation with the Format-Assertion vocabulary, unrecognized format attributes are detected at traverse time 151s 1..6 151s ok 8 - unknown custom formats 151s # Subtest: format: pure_integer 151s ok 1 - pure_integer format with type 151s ok 2 - pure_integer format without type 151s 1..2 151s ok 9 - format: pure_integer 151s # Subtest: formats supporting multiple core types 151s ok 1 - int64 format without type - accepts both numbers and strings 151s ok 2 - int64 format without type - accepts both numbers and strings 151s 1..2 151s ok 10 - formats supporting multiple core types 151s # Subtest: stringy numbers with a numeric format 151s ok 1 - FormatAnnotation+validate_formats: strings that look like numbers can be validated against a numeric format when stringy_numbers=1 151s ok 2 - FormatAssertion: strings that look like numbers can be validated against a numeric format when stringy_numbers=1 151s 1..2 151s ok 11 - stringy numbers with a numeric format 151s 1..11 151s ok 152s t/invalid-schemas-draft2019-09.t ........ 152s # AUTHOR_TESTING: 152s # AUTOMATED_TESTING: 1 152s # EXTENDED_TESTING: 152s # NO_TODO: 152s # TEST_DIR: 152s # NO_SHORT_CIRCUIT: 152s # 152s # running tests in /tmp/autopkgtest.Liz2nS/autopkgtest_tmp/smokeXOIdE1/t/invalid-schemas-draft2019-09 against draft2019-09... 152s # 152s ok 1 - invalid-input.json: "invalid user input: type (string)" - "graceful error from 'type' (string)" { 152s # result: { 152s # "errors": [ 152s # { 152s # "error": "type value is not a string", 152s # "instanceLocation": "", 152s # "keywordLocation": "/type" 152s # } 152s # ], 152s # "valid": false 152s # } 152s # short-circuited result: { 152s # "errors": [ 152s # { 152s # "error": "type value is not a string", 152s # "instanceLocation": "", 152s # "keywordLocation": "/type" 152s # } 152s # ], 152s # "valid": false 152s # } 152s ok 1 - test passes: data is valid: false 152s 1..1 152s } 152s ok 2 - invalid-input.json: "invalid user input: type (array)" - "graceful error from 'type' (array)" { 152s # result: { 152s # "errors": [ 152s # { 152s # "error": "unrecognized type \"\"", 152s # "instanceLocation": "", 152s # "keywordLocation": "/type" 152s # } 152s # ], 152s # "valid": false 152s # } 152s # short-circuited result: { 152s # "errors": [ 152s # { 152s # "error": "unrecognized type \"\"", 152s # "instanceLocation": "", 152s # "keywordLocation": "/type" 152s # } 152s # ], 152s # "valid": false 152s # } 152s ok 1 - test passes: data is valid: false 152s 1..1 152s } 152s # 152s ok 3 - ref.json: "invalid $ref: unencoded characters" - "unencoded characters in $ref uri" { 152s # result: { 152s # "errors": [ 152s # { 152s # "error": "$ref value is not a valid URI reference", 152s # "instanceLocation": "", 152s # "keywordLocation": "/$defs/foo/$ref" 152s # } 152s # ], 152s # "valid": false 152s # } 152s # short-circuited result: { 152s # "errors": [ 152s # { 152s # "error": "$ref value is not a valid URI reference", 152s # "instanceLocation": "", 152s # "keywordLocation": "/$defs/foo/$ref" 152s # } 152s # ], 152s # "valid": false 152s # } 152s ok 1 - test passes: data is valid: false 152s 1..1 152s } 152s ok 4 - ref.json: "invalid $ref: non-ascii characters" - "non-ascii characters in $ref uri" { 152s # result: { 152s # "errors": [ 152s # { 152s # "error": "$ref value is not a valid URI reference", 152s # "instanceLocation": "", 152s # "keywordLocation": "/$defs/foo/$ref" 152s # } 152s # ], 152s # "valid": false 152s # } 152s # short-circuited result: { 152s # "errors": [ 152s # { 152s # "error": "$ref value is not a valid URI reference", 152s # "instanceLocation": "", 152s # "keywordLocation": "/$defs/foo/$ref" 152s # } 152s # ], 152s # "valid": false 152s # } 152s ok 1 - test passes: data is valid: false 152s 1..1 152s } 152s # 152s ok 5 - vocabulary.json: "invalid $vocabulary: need boolean values" - "an invalid $vocabulary value (value should be a boolean)" { 152s # result: { 152s # "errors": [ 152s # { 152s # "error": "$vocabulary value at \"https://foo.com\" is not a boolean", 152s # "instanceLocation": "", 152s # "keywordLocation": "/$vocabulary/https:~1~1foo.com" 152s # } 152s # ], 152s # "valid": false 152s # } 152s # short-circuited result: { 152s # "errors": [ 152s # { 152s # "error": "$vocabulary value at \"https://foo.com\" is not a boolean", 152s # "instanceLocation": "", 152s # "keywordLocation": "/$vocabulary/https:~1~1foo.com" 152s # } 152s # ], 152s # "valid": false 152s # } 152s ok 1 - test passes: data is valid: false 152s 1..1 152s } 152s ok 6 - vocabulary.json: "invalid $vocabulary: uri must not have unencoded characters" - "unencoded characters in $vocabulary uri" { 152s # result: { 152s # "errors": [ 152s # { 152s # "error": "\"http://foo^bar/path\" is not a valid URI", 152s # "instanceLocation": "", 152s # "keywordLocation": "/$vocabulary/http:~1~1foo^bar~1path" 152s # } 152s # ], 152s # "valid": false 152s # } 152s # short-circuited result: { 152s # "errors": [ 152s # { 152s # "error": "\"http://foo^bar/path\" is not a valid URI", 152s # "instanceLocation": "", 152s # "keywordLocation": "/$vocabulary/http:~1~1foo^bar~1path" 152s # } 152s # ], 152s # "valid": false 152s # } 152s ok 1 - test passes: data is valid: false 152s 1..1 152s } 152s ok 7 - vocabulary.json: "invalid $vocabulary: non-ascii characters in uri" - "non-ascii characters in $vocabulary uri" { 152s # result: { 152s # "errors": [ 152s # { 152s # "error": "\"https://ಠ_ಠ.com\" is not a valid URI", 152s # "instanceLocation": "", 152s # "keywordLocation": "/$vocabulary/https:~1~1ಠ_ಠ.com" 152s # } 152s # ], 152s # "valid": false 152s # } 152s # short-circuited result: { 152s # "errors": [ 152s # { 152s # "error": "\"https://ಠ_ಠ.com\" is not a valid URI", 152s # "instanceLocation": "", 152s # "keywordLocation": "/$vocabulary/https:~1~1ಠ_ಠ.com" 152s # } 152s # ], 152s # "valid": false 152s # } 152s ok 1 - test passes: data is valid: false 152s 1..1 152s } 152s ok 8 - vocabulary.json: "invalid $vocabulary: missing scheme" - "$vocabulary uri is missing a scheme" { 152s # result: { 152s # "errors": [ 152s # { 152s # "error": "\"foo.com\" is not a valid URI", 152s # "instanceLocation": "", 152s # "keywordLocation": "/$vocabulary/foo.com" 152s # } 152s # ], 152s # "valid": false 152s # } 152s # short-circuited result: { 152s # "errors": [ 152s # { 152s # "error": "\"foo.com\" is not a valid URI", 152s # "instanceLocation": "", 152s # "keywordLocation": "/$vocabulary/foo.com" 152s # } 152s # ], 152s # "valid": false 152s # } 152s ok 1 - test passes: data is valid: false 152s 1..1 152s } 152s # 152s # 152s # generated with: Test::JSON::Schema::Acceptance 1.026 152s # specification version: draft2019-09 152s # using custom test directory: t/invalid-schemas-draft2019-09 152s # optional tests included: no 152s # 152s # filename pass todo-fail fail 152s # --------------------------------------------------------------- 152s # invalid-input.json 2 0 0 152s # ref.json 2 0 0 152s # vocabulary.json 4 0 0 152s # --------------------------------------------------------------- 152s # TOTAL 8 0 0 152s # 152s # Congratulations, all non-optional tests are passing! 152s # 152s ok 9 - no leaks in the main evaluator object 152s ok 10 - no leaks in the short-circuiting evaluator object 152s 1..10 152s ok 152s t/max_traversal_depth.t ................. 152s ok 1 - evaluation is halted when traversal gets too deep 152s ok 2 - evaluation is halted when an instance location is evaluated against the same schema location a second time 152s ok 3 - the seen counter does not confuse URI paths and fragments: /properties/foo vs \#/properties/foo 152s ok 4 - the seen counter does not confuse two subschemas that both apply the same definition to the same instance location 152s 1..4 152s ok 152s t/multipleOf.t .......................... 152s # Subtest: multipleOf, native types 152s ok 1 - 4 is a multiple of 2 152s ok 2 - 4 is a multiple of 1 152s ok 3 - 4 is not a multiple of 3 152s ok 4 - 4.5 is a multiple of 1.5 152s ok 5 - 4.5 is not a multiple of 1 152s ok 6 - 4.5 is not a multiple of 3 152s ok 7 - 4 is a multiple of 2 152s ok 8 - 4 is not a multiple of 2.5 152s ok 9 - 5 is a multiple of 2.5 152s ok 10 - 4.5 is a multiple of 2.25 152s ok 11 - 4.5 is not a multiple of 2.5 152s ok 12 - 4.5 is not a multiple of 2 152s ok 13 - -9223372036854775808 is a multiple of 0.5 152s ok 14 - 9223372036854775807 is a multiple of 0.5 152s ok 15 - 18446744073709551615 is a multiple of 0.5 152s 1..15 152s ok 1 - multipleOf, native types 152s # Subtest: multipleOf, data is a bignum 152s ok 1 - 4 is a multiple of 2 152s ok 2 - 4 is a multiple of 1 152s ok 3 - 4 is not a multiple of 3 152s ok 4 - 4.5 is a multiple of 1.5 152s ok 5 - 4.5 is not a multiple of 1 152s ok 6 - 4.5 is not a multiple of 3 152s ok 7 - 4 is a multiple of 2 152s ok 8 - 4 is not a multiple of 2.5 152s ok 9 - 5 is a multiple of 2.5 152s ok 10 - 4.5 is a multiple of 2.25 152s ok 11 - 4.5 is not a multiple of 2.5 152s ok 12 - 4.5 is not a multiple of 2 152s ok 13 - -9223372036854775808 is a multiple of 0.5 152s ok 14 - 9223372036854775807 is a multiple of 0.5 152s ok 15 - 18446744073709551615 is a multiple of 0.5 152s 1..15 152s ok 2 - multipleOf, data is a bignum 152s # Subtest: multipleOf, multipleOf is a bignum 152s ok 1 - 4 is a multiple of 2 152s ok 2 - 4 is a multiple of 1 152s ok 3 - 4 is not a multiple of 3 152s ok 4 - 4.5 is a multiple of 1.5 152s ok 5 - 4.5 is not a multiple of 1 152s ok 6 - 4.5 is not a multiple of 3 152s ok 7 - 4 is a multiple of 2 152s ok 8 - 4 is not a multiple of 2.5 152s ok 9 - 5 is a multiple of 2.5 152s ok 10 - 4.5 is a multiple of 2.25 152s ok 11 - 4.5 is not a multiple of 2.5 152s ok 12 - 4.5 is not a multiple of 2 152s ok 13 - -9223372036854775808 is a multiple of 0.5 152s ok 14 - 9223372036854775807 is a multiple of 0.5 152s ok 15 - 18446744073709551615 is a multiple of 0.5 152s 1..15 152s ok 3 - multipleOf, multipleOf is a bignum 152s # Subtest: multipleOf, data and multipleOf are bignums 152s ok 1 - 4 is a multiple of 2 152s ok 2 - 4 is a multiple of 1 152s ok 3 - 4 is not a multiple of 3 152s ok 4 - 4.5 is a multiple of 1.5 152s ok 5 - 4.5 is not a multiple of 1 152s ok 6 - 4.5 is not a multiple of 3 152s ok 7 - 4 is a multiple of 2 152s ok 8 - 4 is not a multiple of 2.5 152s ok 9 - 5 is a multiple of 2.5 152s ok 10 - 4.5 is a multiple of 2.25 152s ok 11 - 4.5 is not a multiple of 2.5 152s ok 12 - 4.5 is not a multiple of 2 152s ok 13 - -9223372036854775808 is a multiple of 0.5 152s ok 14 - 9223372036854775807 is a multiple of 0.5 152s ok 15 - 18446744073709551615 is a multiple of 0.5 152s 1..15 152s ok 4 - multipleOf, data and multipleOf are bignums 152s 1..4 152s ok 153s t/output_format.t ....................... 153s ok 1 - output_format defaults to basic 153s ok 2 - Result object gets the output_format from the evaluator 153s ok 3 - basic format includes all errors linearly 153s ok 4 - flag format only includes the valid property 153s ok 5 - terse format omits errors from redundant applicator keywords 153s ok 6 - basic format includes all errors linearly 153s ok 7 - terse format does not omit these crucial errors 153s # Subtest: strict_basic 153s ok 1 - strict_basic turns json pointers into URIs, including uri escapes 153s 1..1 153s ok 8 - strict_basic 153s # Subtest: AND two result objects together 153s ok 1 - ANDing true and false results = invalid, but errors and annotations both preserved 153s ok 2 - ANDing two true results = valid 153s ok 3 - ANDing two false results = invalid 153s ok 4 - only Result objects can be processed 153s ok 5 - ANDing a result with itself is a no-op 153s 1..5 153s ok 9 - AND two result objects together 153s # Subtest: annotations 153s ok 1 - by default, annotations are included in the formatted output 153s ok 2 - but inclusion can be disabled 153s 1..2 153s ok 10 - annotations 153s # Subtest: data_only 153s ok 1 - data_only format outputs a string of data locations only, with duplicates removed 153s ok 2 - data_only format uses keyword locations when result came from traverse 153s 1..2 153s ok 11 - data_only 153s 1..11 153s ok 153s t/pattern.t ............................. 153s ok 1 - unchanged LATIN SMALL LETTER E WITH ACUTE does not match the ascii range [a-z] 153s ok 2 - unchanged LATIN SMALL LETTER E WITH ACUTE does match the "word" character class, because unicode semantics are used for matching 153s ok 3 - upgraded LATIN SMALL LETTER E WITH ACUTE does not match the ascii range [a-z] 153s ok 4 - upgraded LATIN SMALL LETTER E WITH ACUTE does match the "word" character class, because unicode semantics are used for matching 153s ok 5 - downgraded LATIN SMALL LETTER E WITH ACUTE does not match the ascii range [a-z] 153s ok 6 - downgraded LATIN SMALL LETTER E WITH ACUTE does match the "word" character class, because unicode semantics are used for matching 153s # Subtest: empty pattern 153s ok 1 - empty pattern in "pattern" will correctly match 153s ok 2 - empty pattern in "patternProperties" will correctly match 153s 1..2 153s ok 7 - empty pattern 153s 1..7 153s ok 154s t/ref.t ................................. 154s # Subtest: local JSON pointer 154s ok 1 - can follow local $ref to a true schema 154s ok 2 - can follow local $ref to a false schema 154s ok 3 - got error for unresolvable ref 154s ok 4 - no exception 154s 1..4 154s ok 1 - local JSON pointer 154s # Subtest: fragment with URI-escaped and JSON Pointer-escaped characters 154s ok 1 - can follow $ref with escaped components 154s 1..1 154s ok 2 - fragment with URI-escaped and JSON Pointer-escaped characters 154s # Subtest: local anchor 154s ok 1 - can follow local $ref to an $anchor to a true schema 154s ok 2 - can follow local $ref to an $anchor to a false schema 154s ok 3 - got error for unresolvable ref 154s ok 4 - no exception 154s 1..4 154s ok 3 - local anchor 154s # Subtest: $id with an empty fragment 154s ok 1 - $id with empty fragment can be found by $ref that did not include it; fragment not included in error either 154s 1..1 154s ok 4 - $id with an empty fragment 154s # Subtest: $recursiveRef without nesting behaves like $ref 154s ok 1 - $recursiveRef without nested $recursiveAnchor behaves like $ref 154s 1..1 154s ok 5 - $recursiveRef without nesting behaves like $ref 154s # Subtest: $recursiveRef without $recursiveAnchor behaves like $ref 154s ok 1 - $recursiveRef without $recursiveAnchor behaves like $ref 154s 1..1 154s ok 6 - $recursiveRef without $recursiveAnchor behaves like $ref 154s # Subtest: $recursiveAnchor must be at a schema resource root 154s ok 1 - $recursiveAnchor can only appear at a schema resource root 154s ok 2 - schema now valid when an $id is added 154s ok 3 - $recursiveAnchor can only appear at a schema resource root 154s ok 4 - properly detecting a bad $recursiveAnchor even before passing through a $ref 154s 1..4 154s ok 7 - $recursiveAnchor must be at a schema resource root 154s # Subtest: $recursiveAnchor and $recursiveRef - standard usecases 154s ok 1 - validation requires the override that is not in scope 154s ok 2 - $recursiveRef requires a $recursiveAnchor that does not exist 154s ok 3 - $recursiveRef with both $recursiveAnchors in scope 154s 1..3 154s ok 8 - $recursiveAnchor and $recursiveRef - standard usecases 154s # Subtest: $recursiveRef without $recursiveAnchor 154s ok 1 - $ref - one level recursion 154s ok 2 - $recursiveRef with no $recursiveAnchor in scope has the same outcome 154s 1..2 154s ok 9 - $recursiveRef without $recursiveAnchor 154s # Subtest: $recursiveAnchor in our dynamic scope, but not in the target schema 154s ok 1 - $recursiveAnchor does not exist in the target schema - local recursion only, so integers match 154s ok 2 - $recursiveAnchor does not exist in the target schema - no recursion 154s ok 3 - $recursiveAnchor does not exist in the target schema - local recursion only 154s 1..3 154s ok 10 - $recursiveAnchor in our dynamic scope, but not in the target schema 154s # Subtest: $dynamicRef without nesting behaves like $ref 154s ok 1 - $dynamicRef without nested $dynamicAnchor behaves like $ref 154s 1..1 154s ok 11 - $dynamicRef without nesting behaves like $ref 154s # Subtest: $recursiveRef without $dynamicAnchor behaves like $ref 154s ok 1 - $dynamicRef without $dynamicAnchor behaves like $ref 154s 1..1 154s ok 12 - $recursiveRef without $dynamicAnchor behaves like $ref 154s # Subtest: $dynamicAnchor and $dynamicRef - standard usecases 154s ok 1 - validation requires the override that is not in scope 154s ok 2 - $dynamicRef requires a $dynamicAnchor that does not exist 154s ok 3 - $dynamicRef must use a URI containing the dynamic anchor fragment 154s ok 4 - there is no outer $dynamicAnchor in scope to recurse to 154s ok 5 - we have an outer $dynamicAnchor, and are using the fragment URI, but we used $ref rather than $dynamicRef 154s ok 6 - there is an outer $dynamicAnchor in scope to recurse to, but $dynamicRef must use a URI containing the dynamic anchor fragment 154s ok 7 - now everything is in place to recurse to the base 154s ok 8 - there is no $dynamicAnchor at the original target, and no anchor used in the target URI 154s 1..8 154s ok 13 - $dynamicAnchor and $dynamicRef - standard usecases 154s # Subtest: $dynamicRef to $dynamicAnchor not directly in the evaluation path 154s ok 1 - second dynamic anchor is not in the evaluation path, but we found it via dynamic scope - type does not match 154s ok 2 - regular $anchor in dynamic scope should not be used by $dynamicRef 154s ok 3 - some other $dynamicAnchor in dynamic scope should not be used by $dynamicRef 154s ok 4 - second dynamic anchor is not in the evaluation path, but we found it via dynamic scope - type matches 154s ok 5 - the first dynamic scope is set by document uri, not just the $id keyword 154s 1..5 154s ok 14 - $dynamicRef to $dynamicAnchor not directly in the evaluation path 154s # Subtest: after leaving a dynamic scope, it should not be used by a $dynamicRef 154s ok 1 - first_scope is no longer in scope, so it is not used by $dynamicRef 154s 1..1 154s ok 15 - after leaving a dynamic scope, it should not be used by a $dynamicRef 154s # Subtest: anchors do not match 154s ok 1 - $dynamicRef goes to enhanced schema 154s ok 2 - $dynamicRef -> $dynamicAnchor -> $anchor is a no go: we stay at the original schema 154s 1..2 154s ok 16 - anchors do not match 154s # Subtest: reference to a non-schema location 154s ok 1 - $ref to a non-schema is not permitted 154s ok 2 - $dynamicRef to a non-schema is not permitted 154s ok 3 - $recursiveRef to a non-schema is not permitted 154s ok 4 - $schema to a non-schema is not permitted 154s 1..4 154s ok 17 - reference to a non-schema location 154s # Subtest: evaluate at a non-schema location 154s ok 1 - evaluating at a non-schema location is not permitted 154s 1..1 154s ok 18 - evaluate at a non-schema location 154s 1..18 154s ok 154s t/serialization.t ....................... 154s # Seeded srand with seed '20241116' from local date. 154s ok 1 - evaluated against an empty schema 154s ok 2 - evaluate data against schema with custom dialect; format and unknown keywords are collected as annotations 154s ok 3 - evaluate data against schema with custom dialect; format-annotation is used 154s ok 4 - frozen object contains all the right keys 154s ok 5 - thawed object contains all the right keys 154s ok 6 - evaluate again against an empty schema 154s ok 7 - in thawed object, evaluate data against schema with custom dialect; format and unknown keywords are collected as annotations 154s ok 8 - evaluate again against an empty schema 154s ok 9 - core vocabulary_class for a different spec version works in a thawed object 154s ok 10 - format-assertion vocabulary_class works in a thawed object 154s ok 11 - metaschema_vocabulary_classes works in a thawed object 154s ok 12 - media_type works in a thawed object 154s ok 13 - encoding works in a thawed object 154s # Subtest: thaw object in a separate process 154s ok 1 - thawed object in a new process contains all the right keys 154s ok 2 - in thawed object, evaluate data against schema with custom dialect; format and unknown keywords are collected as annotations 154s ok 3 - evaluate data against schema with custom dialect; format-assertion is used 154s 1..3 154s ok 14 - thaw object in a separate process 154s ok 15 - child process finished successfully 154s 1..15 154s ok 155s t/specification_version.t ............... 155s ok 1 - unrecognized $SPECIFICATION_VERSION 155s # Subtest: specification aliases 155s ok 1 - 2020-12 is an alias for draft2020-12 155s ok 2 - 2019-09 is an alias for draft2019-09 155s ok 3 - 7 is an alias for draft7 155s 1..3 155s ok 2 - specification aliases 155s # Subtest: $ref and older specification versions 155s ok 1 - $schema and $ref cannot be used together, when $schema is too old 155s 1..1 155s ok 3 - $ref and older specification versions 155s # Subtest: <= draft7: $ref in combination with any other keyword causes the other keywords to be ignored 155s ok 1 - keywords adjacent to $ref are not evaluated 155s 1..1 155s ok 4 - <= draft7: $ref in combination with any other keyword causes the other keywords to be ignored 155s # Subtest: $ref adjacent to a path used in a $ref 155s ok 1 - the presence of $ref also blocks the use of other $refs to adjacent locations 155s 1..1 155s ok 5 - $ref adjacent to a path used in a $ref 155s # Subtest: $defs support 155s ok 1 - $defs is not recognized in <= draft7 155s ok 2 - $defs is supported in > draft7 155s 1..2 155s ok 6 - $defs support 155s # Subtest: definitions support 155s ok 1 - definitions is not recognized in >= draft2019-09 155s ok 2 - warned when using no-longer-supported keyword 155s ok 3 - definitions is supported in <= draft7 155s 1..3 155s ok 7 - definitions support 155s # Subtest: dependencies, dependentRequired, dependentSchemas 155s ok 1 - dependencies is not recognized in >= draft2019-09 155s ok 2 - warned when using no-longer-supported keyword 155s ok 3 - dependentRequired is supported in >= draft2019-09 155s ok 4 - dependentSchemas is supported in >= draft2019-09 155s ok 5 - dependencies is supported in <= draft7 155s ok 6 - dependentRequired is not recognized in <= draft7 155s ok 7 - dependentSchemas is not recognized in <= draft7 155s 1..7 155s ok 8 - dependencies, dependentRequired, dependentSchemas 155s # Subtest: prefixItems, items and additionalItems 155s ok 1 - prefixitems+items works when specification_version >= draft2020-12 155s ok 2 - array form of items not supported when specification_version >= draft2020-12 155s ok 3 - additionalitems not recognized when specification_version >= draft2020-12 155s ok 4 - warned when using no-longer-supported keyword 155s ok 5 - prefixitems not supported when specification_version specifies other than draft2020-12 155s ok 6 - array-based items in >= draft2020-12 155s ok 7 - prefixItems + additionalItems 155s ok 8 - warned when using no-longer-supported keyword 155s ok 9 - prefixItems + schema-based items 155s ok 10 - schema-based items + additionalItems, failure case 155s ok 11 - warned when using no-longer-supported keyword 155s ok 12 - schema-based items + additionalItems, passing case 155s ok 13 - warned when using no-longer-supported keyword 155s 1..13 155s ok 9 - prefixItems, items and additionalItems 155s 1..9 155s ok 155s t/strict.t .............................. 155s ok 1 - strict defaults to false 155s ok 2 - by default, unknown keywords are allowed in evaluate() 155s ok 3 - strict mode disallows unknown keywords during evaluation via a config override 155s ok 4 - by default, unknown keywords are allowed in validate_schema() 155s ok 5 - strict mode disallows unknown keywords in validate_schema() via a config override 155s ok 6 - strict mode disallows unknown keywords during evaluation, even if the document was already traversed 155s ok 7 - strict mode disallows unknown keywords in the schema data passed to validate_schema() 155s ok 8 - strict mode disallows unknown keywords during traverse 155s ok 9 - strict mode only detected one property this time - bloop is evaluated 155s ok 10 - strict mode detects unknown keywords using draft7 155s 1..10 155s ok 156s t/stringy-numbers.t ..................... 156s # stringy_numbers = 0 156s ok 1 - strings cannot be used in place of numbers in schema for multipleOf 156s ok 2 - strings cannot be used in place of numbers in schema for maximum 156s ok 3 - strings cannot be used in place of numbers in schema for exclusiveMaximum 156s ok 4 - strings cannot be used in place of numbers in schema for minimum 156s ok 5 - strings cannot be used in place of numbers in schema for exclusiveMinimum 156s ok 6 - strings that do not look like numbers are never valid as numbers 156s ok 7 - by default "type": "string" does not accept numbers 156s ok 8 - real numbers are always evaluated 156s ok 9 - by default, stringy numbers are not evaluated by numeric keywords 156s ok 10 - data was not mutated 156s ok 11 - by default, stringy numbers are not the same as numbers using comparison keywords 156s ok 12 - data was not mutated 156s # stringy_numbers = 1 156s ok 13 - strings cannot be used in place of numbers in schema for multipleOf 156s ok 14 - strings cannot be used in place of numbers in schema for maximum 156s ok 15 - strings cannot be used in place of numbers in schema for exclusiveMaximum 156s ok 16 - strings cannot be used in place of numbers in schema for minimum 156s ok 17 - strings cannot be used in place of numbers in schema for exclusiveMinimum 156s ok 18 - strings that do not look like numbers are never valid as numbers 156s ok 19 - using stringy numbers, numeric strings are treated as numbers but are still not always integers 156s ok 20 - real numbers are always evaluated 156s ok 21 - with the config enabled, stringy numbers are treated as numbers by numeric keywords 156s ok 22 - data was not mutated 156s ok 23 - with the config enabled, stringy numbers are the same as numbers using comparison keywords 156s ok 24 - data was not mutated 156s 1..24 156s ok 156s t/traverse.t ............................ 156s # Subtest: traversal with callbacks 156s ok 1 - errors encountered during traversal are returned 156s ok 2 - callback for erroneous keyword was not called 156s ok 3 - extracted all the real $refs out of the schema, with locations and canonical targets 156s ok 4 - identified all subschemas 156s 1..4 156s ok 1 - traversal with callbacks 156s # Subtest: errors when parsing $schema keyword 156s ok 1 - $schema is not a string 156s ok 2 - $schema is not a URI 156s 1..2 156s ok 2 - errors when parsing $schema keyword 156s # Subtest: default metaschema 156s ok 1 - dialect is properly determined 156s ok 2 - error within $defs is found, showing both Core and Applicator vocabularies are used 156s 1..2 156s ok 3 - default metaschema 156s # Subtest: traversing a dialect with different core keywords 156s ok 1 - dialect changes at root, with $id - dialect is switched in time to get a new keyword list for the core vocabulary 156s ok 2 - no errors when parsing this schema 156s ok 3 - switched dialect in time to extract all identifiers, from root and definition 156s ok 4 - dialect changes at root, no $id - dialect is switched in time to get a new keyword list for the core vocabulary 156s ok 5 - dialect changes below root - dialect is switched in time to get a new keyword list for the core vocabulary 156s 1..5 156s ok 4 - traversing a dialect with different core keywords 156s # Subtest: $schema without an $id, below the root 156s ok 1 - $schema cannot exist without an $id, or at the root 156s 1..1 156s ok 5 - $schema without an $id, below the root 156s # Subtest: traverse with overridden metaschema_uri 156s ok 1 - metaschema_uri is overridden with a bad schema: same errors are returned 156s ok 2 - metaschema_uri is overridden with a bad schema: errors contain the right locations 156s ok 3 - metaschema_uri is overridden with a bad schema and there is a traversal path: errors contain the right locations 156s ok 4 - determined vocabularies to use for this schema 156s 1..4 156s ok 6 - traverse with overridden metaschema_uri 156s # Subtest: start traversing below the document root 156s ok 1 - identified the overridden location of all errors during traverse 156s ok 2 - identifiers are correctly extracted when traversing below the document root 156s 1..2 156s ok 7 - start traversing below the document root 156s 1..7 156s ok 156s t/type.t ................................ 156s # Subtest: inflated data, type: array 156s ok 1 - is_type("array", []) is true 156s ok 2 - get_type([]) = array 156s ok 3 - is_type("boolean", []) is false 156s ok 4 - is_type("integer", []) is false 156s ok 5 - is_type("null", []) is false 156s ok 6 - is_type("number", []) is false 156s ok 7 - is_type("object", []) is false 156s ok 8 - is_type("string", []) is false 156s ok 9 - data is not tampered with while it is tested (not dualvar) 156s ok 10 - is_type("array", [1]) is true 156s ok 11 - get_type([1]) = array 156s ok 12 - is_type("boolean", [1]) is false 156s ok 13 - is_type("integer", [1]) is false 156s ok 14 - is_type("null", [1]) is false 156s ok 15 - is_type("number", [1]) is false 156s ok 16 - is_type("object", [1]) is false 156s ok 17 - is_type("string", [1]) is false 156s ok 18 - data is not tampered with while it is tested (not dualvar) 156s 1..18 156s ok 1 - inflated data, type: array 156s # Subtest: inflated data, type: boolean 156s ok 1 - is_type("boolean", false) is true 156s ok 2 - get_type(false) = boolean 156s ok 3 - is_type("array", false) is false 156s ok 4 - is_type("integer", false) is false 156s ok 5 - is_type("null", false) is false 156s ok 6 - is_type("number", false) is false 156s ok 7 - is_type("object", false) is false 156s ok 8 - is_type("string", false) is false 156s ok 9 - data is not tampered with while it is tested (not dualvar) 156s ok 10 - is_type("boolean", true) is true 156s ok 11 - get_type(true) = boolean 156s ok 12 - is_type("array", true) is false 156s ok 13 - is_type("integer", true) is false 156s ok 14 - is_type("null", true) is false 156s ok 15 - is_type("number", true) is false 156s ok 16 - is_type("object", true) is false 156s ok 17 - is_type("string", true) is false 156s ok 18 - data is not tampered with while it is tested (not dualvar) 156s 1..18 156s ok 2 - inflated data, type: boolean 156s # Subtest: inflated data, type: integer 156s ok 1 - is_type("integer", 0) is true 156s ok 2 - is_type("number", 0) is true 156s ok 3 - get_type(0) = integer 156s ok 4 - is_type("array", 0) is false 156s ok 5 - is_type("boolean", 0) is false 156s ok 6 - is_type("null", 0) is false 156s ok 7 - is_type("object", 0) is false 156s ok 8 - is_type("string", 0) is false 156s ok 9 - data is not tampered with while it is tested (not dualvar) 156s ok 10 - is_type("integer", -1) is true 156s ok 11 - is_type("number", -1) is true 156s ok 12 - get_type(-1) = integer 156s ok 13 - is_type("array", -1) is false 156s ok 14 - is_type("boolean", -1) is false 156s ok 15 - is_type("null", -1) is false 156s ok 16 - is_type("object", -1) is false 156s ok 17 - is_type("string", -1) is false 156s ok 18 - data is not tampered with while it is tested (not dualvar) 156s ok 19 - is_type("integer", 2) is true 156s ok 20 - is_type("number", 2) is true 156s ok 21 - get_type(2) = integer 156s ok 22 - is_type("array", 2) is false 156s ok 23 - is_type("boolean", 2) is false 156s ok 24 - is_type("null", 2) is false 156s ok 25 - is_type("object", 2) is false 156s ok 26 - is_type("string", 2) is false 156s ok 27 - data is not tampered with while it is tested (not dualvar) 156s ok 28 - is_type("integer", 2.0) is true 156s ok 29 - is_type("number", 2.0) is true 156s ok 30 - get_type(2.0) = integer 156s ok 31 - is_type("array", 2.0) is false 156s ok 32 - is_type("boolean", 2.0) is false 156s ok 33 - is_type("null", 2.0) is false 156s ok 34 - is_type("object", 2.0) is false 156s ok 35 - is_type("string", 2.0) is false 156s ok 36 - data is not tampered with while it is tested (not dualvar) 156s ok 37 - is_type("integer", 2147483647) is true 156s ok 38 - is_type("number", 2147483647) is true 156s ok 39 - get_type(2147483647) = integer 156s ok 40 - is_type("array", 2147483647) is false 156s ok 41 - is_type("boolean", 2147483647) is false 156s ok 42 - is_type("null", 2147483647) is false 156s ok 43 - is_type("object", 2147483647) is false 156s ok 44 - is_type("string", 2147483647) is false 156s ok 45 - data is not tampered with while it is tested (not dualvar) 156s ok 46 - is_type("integer", 2147483648.0) is true 156s ok 47 - is_type("number", 2147483648.0) is true 156s ok 48 - get_type(2147483648.0) = integer 156s ok 49 - is_type("array", 2147483648.0) is false 156s ok 50 - is_type("boolean", 2147483648.0) is false 156s ok 51 - is_type("null", 2147483648.0) is false 156s ok 52 - is_type("object", 2147483648.0) is false 156s ok 53 - is_type("string", 2147483648.0) is false 156s ok 54 - data is not tampered with while it is tested (not dualvar) 156s ok 55 - is_type("integer", 9.22337203685478e+18) is true 156s ok 56 - is_type("number", 9.22337203685478e+18) is true 156s ok 57 - get_type(9.22337203685478e+18) = integer 156s ok 58 - is_type("array", 9.22337203685478e+18) is false 156s ok 59 - is_type("boolean", 9.22337203685478e+18) is false 156s ok 60 - is_type("null", 9.22337203685478e+18) is false 156s ok 61 - is_type("object", 9.22337203685478e+18) is false 156s ok 62 - is_type("string", 9.22337203685478e+18) is false 156s ok 63 - data is not tampered with while it is tested (not dualvar) 156s ok 64 - is_type("integer", 9.22337203685478e+18) is true 156s ok 65 - is_type("number", 9.22337203685478e+18) is true 156s ok 66 - get_type(9.22337203685478e+18) = integer 156s ok 67 - is_type("array", 9.22337203685478e+18) is false 156s ok 68 - is_type("boolean", 9.22337203685478e+18) is false 156s ok 69 - is_type("null", 9.22337203685478e+18) is false 156s ok 70 - is_type("object", 9.22337203685478e+18) is false 156s ok 71 - is_type("string", 9.22337203685478e+18) is false 156s ok 72 - data is not tampered with while it is tested (not dualvar) 156s ok 73 - is_type("integer", 1.84467440737096e+19) is true 156s ok 74 - is_type("number", 1.84467440737096e+19) is true 156s ok 75 - get_type(1.84467440737096e+19) = integer 156s ok 76 - is_type("array", 1.84467440737096e+19) is false 156s ok 77 - is_type("boolean", 1.84467440737096e+19) is false 156s ok 78 - is_type("null", 1.84467440737096e+19) is false 156s ok 79 - is_type("object", 1.84467440737096e+19) is false 156s ok 80 - is_type("string", 1.84467440737096e+19) is false 156s ok 81 - data is not tampered with while it is tested (not dualvar) 156s ok 82 - is_type("integer", 3.68934881474191e+19) is true 156s ok 83 - is_type("number", 3.68934881474191e+19) is true 156s ok 84 - get_type(3.68934881474191e+19) = integer 156s ok 85 - is_type("array", 3.68934881474191e+19) is false 156s ok 86 - is_type("boolean", 3.68934881474191e+19) is false 156s ok 87 - is_type("null", 3.68934881474191e+19) is false 156s ok 88 - is_type("object", 3.68934881474191e+19) is false 156s ok 89 - is_type("string", 3.68934881474191e+19) is false 156s ok 90 - data is not tampered with while it is tested (not dualvar) 156s ok 91 - is_type("integer", 1000000000000000) is true 156s ok 92 - is_type("number", 1000000000000000) is true 156s ok 93 - get_type(1000000000000000) = integer 156s ok 94 - is_type("array", 1000000000000000) is false 156s ok 95 - is_type("boolean", 1000000000000000) is false 156s ok 96 - is_type("null", 1000000000000000) is false 156s ok 97 - is_type("object", 1000000000000000) is false 156s ok 98 - is_type("string", 1000000000000000) is false 156s ok 99 - data is not tampered with while it is tested (not dualvar) 156s ok 100 - is_type("integer", Math::BigInt->new('100000000000000000000')) is true 156s ok 101 - is_type("number", Math::BigInt->new('100000000000000000000')) is true 156s ok 102 - get_type(Math::BigInt->new('100000000000000000000')) = integer 156s ok 103 - is_type("array", Math::BigInt->new('100000000000000000000')) is false 156s ok 104 - is_type("boolean", Math::BigInt->new('100000000000000000000')) is false 156s ok 105 - is_type("null", Math::BigInt->new('100000000000000000000')) is false 156s ok 106 - is_type("object", Math::BigInt->new('100000000000000000000')) is false 156s ok 107 - is_type("string", Math::BigInt->new('100000000000000000000')) is false 156s ok 108 - data is not tampered with while it is tested (not dualvar) 156s 1..108 156s ok 3 - inflated data, type: integer 156s # Subtest: inflated data, type: null 156s ok 1 - is_type("null", null) is true 156s ok 2 - get_type(null) = null 156s ok 3 - is_type("array", null) is false 156s ok 4 - is_type("boolean", null) is false 156s ok 5 - is_type("integer", null) is false 157s ok 6 - is_type("number", null) is false 157s ok 7 - is_type("object", null) is false 157s ok 8 - is_type("string", null) is false 157s ok 9 - data is not tampered with while it is tested (not dualvar) 157s 1..9 157s ok 4 - inflated data, type: null 157s # Subtest: inflated data, type: number 157s ok 1 - is_type("number", 3.1) is true 157s ok 2 - get_type(3.1) = number 157s ok 3 - is_type("array", 3.1) is false 157s ok 4 - is_type("boolean", 3.1) is false 157s ok 5 - is_type("integer", 3.1) is false 157s ok 6 - is_type("null", 3.1) is false 157s ok 7 - is_type("object", 3.1) is false 157s ok 8 - is_type("string", 3.1) is false 157s ok 9 - data is not tampered with while it is tested (not dualvar) 157s ok 10 - is_type("number", 12345678901.2) is true 157s ok 11 - get_type(12345678901.2) = number 157s ok 12 - is_type("array", 12345678901.2) is false 157s ok 13 - is_type("boolean", 12345678901.2) is false 157s ok 14 - is_type("integer", 12345678901.2) is false 157s ok 15 - is_type("null", 12345678901.2) is false 157s ok 16 - is_type("object", 12345678901.2) is false 157s ok 17 - is_type("string", 12345678901.2) is false 157s ok 18 - data is not tampered with while it is tested (not dualvar) 157s ok 19 - is_type("number", Math::BigFloat->new('0.123')) is true 157s ok 20 - get_type(Math::BigFloat->new('0.123')) = number 157s ok 21 - is_type("array", Math::BigFloat->new('0.123')) is false 157s ok 22 - is_type("boolean", Math::BigFloat->new('0.123')) is false 157s ok 23 - is_type("integer", Math::BigFloat->new('0.123')) is false 157s ok 24 - is_type("null", Math::BigFloat->new('0.123')) is false 157s ok 25 - is_type("object", Math::BigFloat->new('0.123')) is false 157s ok 26 - is_type("string", Math::BigFloat->new('0.123')) is false 157s ok 27 - data is not tampered with while it is tested (not dualvar) 157s 1..27 157s ok 5 - inflated data, type: number 157s # Subtest: inflated data, type: object 157s ok 1 - is_type("object", {}) is true 157s ok 2 - get_type({}) = object 157s ok 3 - is_type("array", {}) is false 157s ok 4 - is_type("boolean", {}) is false 157s ok 5 - is_type("integer", {}) is false 157s ok 6 - is_type("null", {}) is false 157s ok 7 - is_type("number", {}) is false 157s ok 8 - is_type("string", {}) is false 157s ok 9 - data is not tampered with while it is tested (not dualvar) 157s ok 10 - is_type("object", {"a" : 1}) is true 157s ok 11 - get_type({"a" : 1}) = object 157s ok 12 - is_type("array", {"a" : 1}) is false 157s ok 13 - is_type("boolean", {"a" : 1}) is false 157s ok 14 - is_type("integer", {"a" : 1}) is false 157s ok 15 - is_type("null", {"a" : 1}) is false 157s ok 16 - is_type("number", {"a" : 1}) is false 157s ok 17 - is_type("string", {"a" : 1}) is false 157s ok 18 - data is not tampered with while it is tested (not dualvar) 157s 1..18 157s ok 6 - inflated data, type: object 157s # Subtest: inflated data, type: string 157s ok 1 - is_type("string", "") is true 157s ok 2 - get_type("") = string 157s ok 3 - is_type("array", "") is false 157s ok 4 - is_type("boolean", "") is false 157s ok 5 - is_type("integer", "") is false 157s ok 6 - is_type("null", "") is false 157s ok 7 - is_type("number", "") is false 157s ok 8 - is_type("object", "") is false 157s ok 9 - data is not tampered with while it is tested (not dualvar) 157s ok 10 - is_type("string", "0") is true 157s ok 11 - get_type("0") = string 157s ok 12 - is_type("array", "0") is false 157s ok 13 - is_type("boolean", "0") is false 157s ok 14 - is_type("integer", "0") is false 157s ok 15 - is_type("null", "0") is false 157s ok 16 - is_type("number", "0") is false 157s ok 17 - is_type("object", "0") is false 157s ok 18 - data is not tampered with while it is tested (not dualvar) 157s ok 19 - is_type("string", "-1") is true 157s ok 20 - get_type("-1") = string 157s ok 21 - is_type("array", "-1") is false 157s ok 22 - is_type("boolean", "-1") is false 157s ok 23 - is_type("integer", "-1") is false 157s ok 24 - is_type("null", "-1") is false 157s ok 25 - is_type("number", "-1") is false 157s ok 26 - is_type("object", "-1") is false 157s ok 27 - data is not tampered with while it is tested (not dualvar) 157s ok 28 - is_type("string", "2") is true 157s ok 29 - get_type("2") = string 157s ok 30 - is_type("array", "2") is false 157s ok 31 - is_type("boolean", "2") is false 157s ok 32 - is_type("integer", "2") is false 157s ok 33 - is_type("null", "2") is false 157s ok 34 - is_type("number", "2") is false 157s ok 35 - is_type("object", "2") is false 157s ok 36 - data is not tampered with while it is tested (not dualvar) 157s ok 37 - is_type("string", "2.0") is true 157s ok 38 - get_type("2.0") = string 157s ok 39 - is_type("array", "2.0") is false 157s ok 40 - is_type("boolean", "2.0") is false 157s ok 41 - is_type("integer", "2.0") is false 157s ok 42 - is_type("null", "2.0") is false 157s ok 43 - is_type("number", "2.0") is false 157s ok 44 - is_type("object", "2.0") is false 157s ok 45 - data is not tampered with while it is tested (not dualvar) 157s ok 46 - is_type("string", "3.1") is true 157s ok 47 - get_type("3.1") = string 157s ok 48 - is_type("array", "3.1") is false 157s ok 49 - is_type("boolean", "3.1") is false 157s ok 50 - is_type("integer", "3.1") is false 157s ok 51 - is_type("null", "3.1") is false 157s ok 52 - is_type("number", "3.1") is false 157s ok 53 - is_type("object", "3.1") is false 157s ok 54 - data is not tampered with while it is tested (not dualvar) 157s ok 55 - is_type("string", "école") is true 157s ok 56 - get_type("école") = string 157s ok 57 - is_type("array", "école") is false 157s ok 58 - is_type("boolean", "école") is false 157s ok 59 - is_type("integer", "école") is false 157s ok 60 - is_type("null", "école") is false 157s ok 61 - is_type("number", "école") is false 157s ok 62 - is_type("object", "école") is false 157s ok 63 - data is not tampered with while it is tested (not dualvar) 157s ok 64 - is_type("string", "ಠ_ಠ") is true 157s ok 65 - get_type("ಠ_ಠ") = string 157s ok 66 - is_type("array", "ಠ_ಠ") is false 157s ok 67 - is_type("boolean", "ಠ_ಠ") is false 157s ok 68 - is_type("integer", "ಠ_ಠ") is false 157s ok 69 - is_type("null", "ಠ_ಠ") is false 157s ok 70 - is_type("number", "ಠ_ಠ") is false 157s ok 71 - is_type("object", "ಠ_ಠ") is false 157s ok 72 - data is not tampered with while it is tested (not dualvar) 157s 1..72 157s ok 7 - inflated data, type: string 157s # Subtest: JSON-encoded data, type: array 157s ok 1 - is_type("array", []) is true 157s ok 2 - get_type([]) = array 157s ok 3 - is_type("boolean", []) is false 157s ok 4 - is_type("integer", []) is false 157s ok 5 - is_type("null", []) is false 157s ok 6 - is_type("number", []) is false 157s ok 7 - is_type("object", []) is false 157s ok 8 - is_type("string", []) is false 157s ok 9 - data is not tampered with while it is tested (not dualvar) 157s ok 10 - is_type("array", [1]) is true 157s ok 11 - get_type([1]) = array 157s ok 12 - is_type("boolean", [1]) is false 157s ok 13 - is_type("integer", [1]) is false 157s ok 14 - is_type("null", [1]) is false 157s ok 15 - is_type("number", [1]) is false 157s ok 16 - is_type("object", [1]) is false 157s ok 17 - is_type("string", [1]) is false 157s ok 18 - data is not tampered with while it is tested (not dualvar) 157s 1..18 157s ok 8 - JSON-encoded data, type: array 157s # Subtest: JSON-encoded data, type: boolean 157s ok 1 - is_type("boolean", false) is true 157s ok 2 - get_type(false) = boolean 157s ok 3 - is_type("array", false) is false 157s ok 4 - is_type("integer", false) is false 157s ok 5 - is_type("null", false) is false 157s ok 6 - is_type("number", false) is false 157s ok 7 - is_type("object", false) is false 157s ok 8 - is_type("string", false) is false 157s ok 9 - data is not tampered with while it is tested (not dualvar) 157s ok 10 - is_type("boolean", true) is true 157s ok 11 - get_type(true) = boolean 157s ok 12 - is_type("array", true) is false 157s ok 13 - is_type("integer", true) is false 157s ok 14 - is_type("null", true) is false 157s ok 15 - is_type("number", true) is false 157s ok 16 - is_type("object", true) is false 157s ok 17 - is_type("string", true) is false 157s ok 18 - data is not tampered with while it is tested (not dualvar) 157s 1..18 157s ok 9 - JSON-encoded data, type: boolean 157s # Subtest: JSON-encoded data, type: integer 157s ok 1 - is_type("integer", 0) is true 157s ok 2 - is_type("number", 0) is true 157s ok 3 - get_type(0) = integer 157s ok 4 - is_type("array", 0) is false 157s ok 5 - is_type("boolean", 0) is false 157s ok 6 - is_type("null", 0) is false 157s ok 7 - is_type("object", 0) is false 157s ok 8 - is_type("string", 0) is false 157s ok 9 - data is not tampered with while it is tested (not dualvar) 157s ok 10 - is_type("integer", -1) is true 157s ok 11 - is_type("number", -1) is true 157s ok 12 - get_type(-1) = integer 157s ok 13 - is_type("array", -1) is false 157s ok 14 - is_type("boolean", -1) is false 157s ok 15 - is_type("null", -1) is false 157s ok 16 - is_type("object", -1) is false 157s ok 17 - is_type("string", -1) is false 157s ok 18 - data is not tampered with while it is tested (not dualvar) 157s ok 19 - is_type("integer", Math::BigFloat->new('2')) is true 157s ok 20 - is_type("number", Math::BigFloat->new('2')) is true 157s ok 21 - get_type(Math::BigFloat->new('2')) = integer 157s ok 22 - is_type("array", Math::BigFloat->new('2')) is false 157s ok 23 - is_type("boolean", Math::BigFloat->new('2')) is false 157s ok 24 - is_type("null", Math::BigFloat->new('2')) is false 157s ok 25 - is_type("object", Math::BigFloat->new('2')) is false 157s ok 26 - is_type("string", Math::BigFloat->new('2')) is false 157s ok 27 - data is not tampered with while it is tested (not dualvar) 157s ok 28 - is_type("integer", 2147483647) is true 157s ok 29 - is_type("number", 2147483647) is true 157s ok 30 - get_type(2147483647) = integer 157s ok 31 - is_type("array", 2147483647) is false 157s ok 32 - is_type("boolean", 2147483647) is false 157s ok 33 - is_type("null", 2147483647) is false 157s ok 34 - is_type("object", 2147483647) is false 157s ok 35 - is_type("string", 2147483647) is false 157s ok 36 - data is not tampered with while it is tested (not dualvar) 157s ok 37 - is_type("integer", 2147483648) is true 157s ok 38 - is_type("number", 2147483648) is true 157s ok 39 - get_type(2147483648) = integer 157s ok 40 - is_type("array", 2147483648) is false 157s ok 41 - is_type("boolean", 2147483648) is false 157s ok 42 - is_type("null", 2147483648) is false 157s ok 43 - is_type("object", 2147483648) is false 157s ok 44 - is_type("string", 2147483648) is false 157s ok 45 - data is not tampered with while it is tested (not dualvar) 157s ok 46 - is_type("integer", Math::BigFloat->new('9223372036854780000')) is true 157s ok 47 - is_type("number", Math::BigFloat->new('9223372036854780000')) is true 157s ok 48 - get_type(Math::BigFloat->new('9223372036854780000')) = integer 157s ok 49 - is_type("array", Math::BigFloat->new('9223372036854780000')) is false 157s ok 50 - is_type("boolean", Math::BigFloat->new('9223372036854780000')) is false 157s ok 51 - is_type("null", Math::BigFloat->new('9223372036854780000')) is false 157s ok 52 - is_type("object", Math::BigFloat->new('9223372036854780000')) is false 157s ok 53 - is_type("string", Math::BigFloat->new('9223372036854780000')) is false 157s ok 54 - data is not tampered with while it is tested (not dualvar) 157s ok 55 - is_type("integer", Math::BigFloat->new('9223372036854780000')) is true 157s ok 56 - is_type("number", Math::BigFloat->new('9223372036854780000')) is true 157s ok 57 - get_type(Math::BigFloat->new('9223372036854780000')) = integer 157s ok 58 - is_type("array", Math::BigFloat->new('9223372036854780000')) is false 157s ok 59 - is_type("boolean", Math::BigFloat->new('9223372036854780000')) is false 157s ok 60 - is_type("null", Math::BigFloat->new('9223372036854780000')) is false 157s ok 61 - is_type("object", Math::BigFloat->new('9223372036854780000')) is false 157s ok 62 - is_type("string", Math::BigFloat->new('9223372036854780000')) is false 157s ok 63 - data is not tampered with while it is tested (not dualvar) 157s ok 64 - is_type("integer", Math::BigFloat->new('18446744073709600000')) is true 157s ok 65 - is_type("number", Math::BigFloat->new('18446744073709600000')) is true 157s ok 66 - get_type(Math::BigFloat->new('18446744073709600000')) = integer 157s ok 67 - is_type("array", Math::BigFloat->new('18446744073709600000')) is false 157s ok 68 - is_type("boolean", Math::BigFloat->new('18446744073709600000')) is false 157s ok 69 - is_type("null", Math::BigFloat->new('18446744073709600000')) is false 157s ok 70 - is_type("object", Math::BigFloat->new('18446744073709600000')) is false 157s ok 71 - is_type("string", Math::BigFloat->new('18446744073709600000')) is false 157s ok 72 - data is not tampered with while it is tested (not dualvar) 157s ok 73 - is_type("integer", Math::BigFloat->new('36893488147419100000')) is true 157s ok 74 - is_type("number", Math::BigFloat->new('36893488147419100000')) is true 157s ok 75 - get_type(Math::BigFloat->new('36893488147419100000')) = integer 157s ok 76 - is_type("array", Math::BigFloat->new('36893488147419100000')) is false 157s ok 77 - is_type("boolean", Math::BigFloat->new('36893488147419100000')) is false 157s ok 78 - is_type("null", Math::BigFloat->new('36893488147419100000')) is false 157s ok 79 - is_type("object", Math::BigFloat->new('36893488147419100000')) is false 157s ok 80 - is_type("string", Math::BigFloat->new('36893488147419100000')) is false 157s ok 81 - data is not tampered with while it is tested (not dualvar) 157s ok 82 - is_type("integer", 1000000000000000) is true 157s ok 83 - is_type("number", 1000000000000000) is true 157s ok 84 - get_type(1000000000000000) = integer 157s ok 85 - is_type("array", 1000000000000000) is false 157s ok 86 - is_type("boolean", 1000000000000000) is false 157s ok 87 - is_type("null", 1000000000000000) is false 157s ok 88 - is_type("object", 1000000000000000) is false 157s ok 89 - is_type("string", 1000000000000000) is false 157s ok 90 - data is not tampered with while it is tested (not dualvar) 157s 1..90 157s ok 10 - JSON-encoded data, type: integer 157s # Subtest: JSON-encoded data, type: null 157s ok 1 - is_type("null", null) is true 157s ok 2 - get_type(null) = null 157s ok 3 - is_type("array", null) is false 157s ok 4 - is_type("boolean", null) is false 157s ok 5 - is_type("integer", null) is false 157s ok 6 - is_type("number", null) is false 157s ok 7 - is_type("object", null) is false 157s ok 8 - is_type("string", null) is false 157s ok 9 - data is not tampered with while it is tested (not dualvar) 157s 1..9 157s ok 11 - JSON-encoded data, type: null 157s # Subtest: JSON-encoded data, type: number 157s ok 1 - is_type("number", Math::BigFloat->new('3.1')) is true 157s ok 2 - get_type(Math::BigFloat->new('3.1')) = number 157s ok 3 - is_type("array", Math::BigFloat->new('3.1')) is false 157s ok 4 - is_type("boolean", Math::BigFloat->new('3.1')) is false 157s ok 5 - is_type("integer", Math::BigFloat->new('3.1')) is false 157s ok 6 - is_type("null", Math::BigFloat->new('3.1')) is false 157s ok 7 - is_type("object", Math::BigFloat->new('3.1')) is false 157s ok 8 - is_type("string", Math::BigFloat->new('3.1')) is false 157s ok 9 - data is not tampered with while it is tested (not dualvar) 157s ok 10 - is_type("number", Math::BigFloat->new('12345678901.2')) is true 157s ok 11 - get_type(Math::BigFloat->new('12345678901.2')) = number 157s ok 12 - is_type("array", Math::BigFloat->new('12345678901.2')) is false 157s ok 13 - is_type("boolean", Math::BigFloat->new('12345678901.2')) is false 157s ok 14 - is_type("integer", Math::BigFloat->new('12345678901.2')) is false 157s ok 15 - is_type("null", Math::BigFloat->new('12345678901.2')) is false 157s ok 16 - is_type("object", Math::BigFloat->new('12345678901.2')) is false 157s ok 17 - is_type("string", Math::BigFloat->new('12345678901.2')) is false 157s ok 18 - data is not tampered with while it is tested (not dualvar) 157s 1..18 157s ok 12 - JSON-encoded data, type: number 157s # Subtest: JSON-encoded data, type: object 157s ok 1 - is_type("object", {}) is true 157s ok 2 - get_type({}) = object 157s ok 3 - is_type("array", {}) is false 157s ok 4 - is_type("boolean", {}) is false 157s ok 5 - is_type("integer", {}) is false 157s ok 6 - is_type("null", {}) is false 157s ok 7 - is_type("number", {}) is false 157s ok 8 - is_type("string", {}) is false 157s ok 9 - data is not tampered with while it is tested (not dualvar) 157s ok 10 - is_type("object", {"a" : 1}) is true 157s ok 11 - get_type({"a" : 1}) = object 157s ok 12 - is_type("array", {"a" : 1}) is false 157s ok 13 - is_type("boolean", {"a" : 1}) is false 157s ok 14 - is_type("integer", {"a" : 1}) is false 157s ok 15 - is_type("null", {"a" : 1}) is false 157s ok 16 - is_type("number", {"a" : 1}) is false 157s ok 17 - is_type("string", {"a" : 1}) is false 157s ok 18 - data is not tampered with while it is tested (not dualvar) 157s 1..18 157s ok 13 - JSON-encoded data, type: object 157s # Subtest: JSON-encoded data, type: string 157s ok 1 - is_type("string", "") is true 157s ok 2 - get_type("") = string 157s ok 3 - is_type("array", "") is false 157s ok 4 - is_type("boolean", "") is false 157s ok 5 - is_type("integer", "") is false 157s ok 6 - is_type("null", "") is false 157s ok 7 - is_type("number", "") is false 157s ok 8 - is_type("object", "") is false 157s ok 9 - data is not tampered with while it is tested (not dualvar) 157s ok 10 - is_type("string", "0") is true 157s ok 11 - get_type("0") = string 157s ok 12 - is_type("array", "0") is false 157s ok 13 - is_type("boolean", "0") is false 157s ok 14 - is_type("integer", "0") is false 157s ok 15 - is_type("null", "0") is false 157s ok 16 - is_type("number", "0") is false 157s ok 17 - is_type("object", "0") is false 157s ok 18 - data is not tampered with while it is tested (not dualvar) 157s ok 19 - is_type("string", "-1") is true 157s ok 20 - get_type("-1") = string 157s ok 21 - is_type("array", "-1") is false 157s ok 22 - is_type("boolean", "-1") is false 157s ok 23 - is_type("integer", "-1") is false 157s ok 24 - is_type("null", "-1") is false 157s ok 25 - is_type("number", "-1") is false 157s ok 26 - is_type("object", "-1") is false 157s ok 27 - data is not tampered with while it is tested (not dualvar) 157s ok 28 - is_type("string", "2.0") is true 157s ok 29 - get_type("2.0") = string 157s ok 30 - is_type("array", "2.0") is false 157s ok 31 - is_type("boolean", "2.0") is false 157s ok 32 - is_type("integer", "2.0") is false 157s ok 33 - is_type("null", "2.0") is false 157s ok 34 - is_type("number", "2.0") is false 157s ok 35 - is_type("object", "2.0") is false 157s ok 36 - data is not tampered with while it is tested (not dualvar) 157s ok 37 - is_type("string", "3.1") is true 157s ok 38 - get_type("3.1") = string 157s ok 39 - is_type("array", "3.1") is false 157s ok 40 - is_type("boolean", "3.1") is false 157s ok 41 - is_type("integer", "3.1") is false 157s ok 42 - is_type("null", "3.1") is false 157s ok 43 - is_type("number", "3.1") is false 157s ok 44 - is_type("object", "3.1") is false 157s ok 45 - data is not tampered with while it is tested (not dualvar) 157s ok 46 - is_type("string", "école") is true 157s ok 47 - get_type("école") = string 157s ok 48 - is_type("array", "école") is false 157s ok 49 - is_type("boolean", "école") is false 157s ok 50 - is_type("integer", "école") is false 157s ok 51 - is_type("null", "école") is false 157s ok 52 - is_type("number", "école") is false 157s ok 53 - is_type("object", "école") is false 157s ok 54 - data is not tampered with while it is tested (not dualvar) 157s ok 55 - is_type("string", "ಠ_ಠ") is true 157s ok 56 - get_type("ಠ_ಠ") = string 157s ok 57 - is_type("array", "ಠ_ಠ") is false 157s ok 58 - is_type("boolean", "ಠ_ಠ") is false 157s ok 59 - is_type("integer", "ಠ_ಠ") is false 157s ok 60 - is_type("null", "ಠ_ಠ") is false 157s ok 61 - is_type("number", "ಠ_ಠ") is false 157s ok 62 - is_type("object", "ಠ_ಠ") is false 157s ok 63 - data is not tampered with while it is tested (not dualvar) 157s 1..63 157s ok 14 - JSON-encoded data, type: string 157s # Subtest: type: integers and numbers 157s ok 1 - is_type('integer', 1) is true 157s ok 2 - is_type('integer', -2.0) is true 157s ok 3 - is_type('integer', 9.22337203685478e+24) is true 157s ok 4 - is_type('integer', 1) is true 157s ok 5 - is_type('integer', -2) is true 157s ok 6 - is_type('integer', Math::BigFloat->new('9223372036854780000000000')) is true 157s ok 7 - get_type(1) is integer 157s ok 8 - get_type(-2.0) is integer 157s ok 9 - get_type(9.22337203685478e+24) is integer 157s ok 10 - get_type(1) is integer 157s ok 11 - get_type(-2) is integer 157s ok 12 - get_type(Math::BigFloat->new('9223372036854780000000000')) is integer 157s ok 13 - is_type('number', 1) is true 157s ok 14 - is_type('number', -2.0) is true 157s ok 15 - is_type('number', 9.22337203685478e+24) is true 157s ok 16 - is_type('number', -2.1) is true 157s ok 17 - is_type('number', 1) is true 157s ok 18 - is_type('number', -2) is true 157s ok 19 - is_type('number', Math::BigFloat->new('9223372036854780000000000')) is true 157s ok 20 - is_type('number', Math::BigFloat->new('-2.1')) is true 157s ok 21 - get_type(-2.1) is number 157s ok 22 - get_type(Math::BigFloat->new('-2.1')) is number 157s ok 23 - is_type('integer', "1") is false 157s ok 24 - is_type('integer', "2.0") is false 157s ok 25 - is_type('integer', 3.1) is false 157s ok 26 - is_type('integer', "4.2") is false 157s ok 27 - is_type('integer', "1") is false 157s ok 28 - is_type('integer', "2.0") is false 157s ok 29 - is_type('integer', Math::BigFloat->new('3.1')) is false 157s ok 30 - is_type('integer', "4.2") is false 157s ok 31 - get_type("1") is not integer 157s ok 32 - get_type("2.0") is not integer 157s ok 33 - get_type(3.1) is not integer 157s ok 34 - get_type("4.2") is not integer 157s ok 35 - get_type("1") is not integer 157s ok 36 - get_type("2.0") is not integer 157s ok 37 - get_type(Math::BigFloat->new('3.1')) is not integer 157s ok 38 - get_type("4.2") is not integer 157s 1..38 157s ok 15 - type: integers and numbers 157s # Subtest: type: integers and numbers in draft4 157s ok 1 - is_type('integer', 1, { legacy_ints => 1 }) is true 157s ok 2 - is_type('integer', 1, { legacy_ints => 1 }) is true 157s ok 3 - get_type(1, { legacy_ints => 1 }) is integer 157s ok 4 - get_type(1, { legacy_ints => 1 }) is integer 157s ok 5 - is_type('number', 1, { legacy_ints => 1 }) is true 157s ok 6 - is_type('number', 2.0, { legacy_ints => 1 }) is true 157s ok 7 - is_type('number', -2.1, { legacy_ints => 1 }) is true 157s ok 8 - is_type('number', 1, { legacy_ints => 1 }) is true 157s ok 9 - is_type('number', Math::BigFloat->new('2'), { legacy_ints => 1 }) is true 157s ok 10 - is_type('number', Math::BigFloat->new('-2.1'), { legacy_ints => 1 }) is true 157s ok 11 - is_type('number', Math::BigInt->new('9223372036854775800000008'), { legacy_ints => 1 }) is true 157s ok 12 - get_type(2.0, { legacy_ints => 1 }) is number 157s ok 13 - get_type(-2.1, { legacy_ints => 1 }) is number 157s ok 14 - get_type(Math::BigFloat->new('2'), { legacy_ints => 1 }) is number 157s ok 15 - get_type(Math::BigFloat->new('-2.1'), { legacy_ints => 1 }) is number 157s ok 16 - get_type(Math::BigInt->new('9223372036854775800000008'), { legacy_ints => 1 }) is number 157s ok 17 - is_type('integer', "1", { legacy_ints => 1 }) is false 157s ok 18 - is_type('integer', "2.0", { legacy_ints => 1 }) is false 157s ok 19 - is_type('integer', 3.1, { legacy_ints => 1 }) is false 157s ok 20 - is_type('integer', "4.2", { legacy_ints => 1 }) is false 157s ok 21 - is_type('integer', "1", { legacy_ints => 1 }) is false 157s ok 22 - is_type('integer', "2.0", { legacy_ints => 1 }) is false 157s ok 23 - is_type('integer', Math::BigFloat->new('3.1'), { legacy_ints => 1 }) is false 157s ok 24 - is_type('integer', "4.2", { legacy_ints => 1 }) is false 157s ok 25 - get_type("1", { legacy_ints => 1 }) is not integer 157s ok 26 - get_type("2.0", { legacy_ints => 1 }) is not integer 157s ok 27 - get_type(3.1, { legacy_ints => 1 }) is not integer 157s ok 28 - get_type("4.2", { legacy_ints => 1 }) is not integer 157s ok 29 - get_type("1", { legacy_ints => 1 }) is not integer 157s ok 30 - get_type("2.0", { legacy_ints => 1 }) is not integer 157s ok 31 - get_type(Math::BigFloat->new('3.1'), { legacy_ints => 1 }) is not integer 157s ok 32 - get_type("4.2", { legacy_ints => 1 }) is not integer 157s 1..32 157s ok 16 - type: integers and numbers in draft4 157s ok 17 - non-existent type does not result in exception 157s # Subtest: ambiguous types 157s ok 1 - dualvars are ambiguous 157s ok 2 # skip on perls >= 5.35.9, reading the string form of an integer value no longer sets the flag SVf_POK 157s 1..2 157s ok 18 - ambiguous types 157s # Subtest: is_type and get_type for references 157s ok 1 - reference to SCALAR type is reported without exception 157s ok 2 - value is a reference to SCALAR 157s ok 3 - value is not a null 157s ok 4 - value is not a object 157s ok 5 - value is not a array 157s ok 6 - value is not a boolean 157s ok 7 - value is not a string 157s ok 8 - value is not a number 157s ok 9 - value is not a integer 157s ok 10 - reference to REF type is reported without exception 157s ok 11 - value is a reference to REF 157s ok 12 - value is not a null 157s ok 13 - value is not a object 157s ok 14 - value is not a array 157s ok 15 - value is not a boolean 157s ok 16 - value is not a string 157s ok 17 - value is not a number 157s ok 18 - value is not a integer 157s ok 19 - reference to CODE type is reported without exception 157s ok 20 - value is a reference to CODE 157s ok 21 - value is not a null 157s ok 22 - value is not a object 157s ok 23 - value is not a array 157s ok 24 - value is not a boolean 157s ok 25 - value is not a string 157s ok 26 - value is not a number 157s ok 27 - value is not a integer 157s ok 28 - reference to GLOB type is reported without exception 157s ok 29 - value is a reference to GLOB 157s ok 30 - value is not a null 157s ok 31 - value is not a object 157s ok 32 - value is not a array 157s ok 33 - value is not a boolean 157s ok 34 - value is not a string 157s ok 35 - value is not a number 157s ok 36 - value is not a integer 157s ok 37 - reference to LVALUE type is reported without exception 157s ok 38 - value is a reference to LVALUE 157s ok 39 - value is not a null 157s ok 40 - value is not a object 157s ok 41 - value is not a array 157s ok 42 - value is not a boolean 157s ok 43 - value is not a string 157s ok 44 - value is not a number 157s ok 45 - value is not a integer 157s ok 46 - reference to VSTRING type is reported without exception 157s ok 47 - value is a reference to VSTRING 157s ok 48 - value is not a null 157s ok 49 - value is not a object 157s ok 50 - value is not a array 157s ok 51 - value is not a boolean 157s ok 52 - value is not a string 157s ok 53 - value is not a number 157s ok 54 - value is not a integer 157s ok 55 - Regexp type is reported without exception 157s ok 56 - value is a Regexp 157s ok 57 - value is not a null 157s ok 58 - value is not a object 157s ok 59 - value is not a array 157s ok 60 - value is not a boolean 157s ok 61 - value is not a string 157s ok 62 - value is not a number 157s ok 63 - value is not a integer 157s ok 64 - IO::File type is reported without exception 157s ok 65 - value is a IO::File 157s ok 66 - value is not a null 157s ok 67 - value is not a object 157s ok 68 - value is not a array 157s ok 69 - value is not a boolean 157s ok 70 - value is not a string 157s ok 71 - value is not a number 157s ok 72 - value is not a integer 157s ok 73 - Foo type is reported without exception 157s ok 74 - value is a Foo 157s ok 75 - value is not a null 157s ok 76 - value is not a object 157s ok 77 - value is not a array 157s ok 78 - value is not a boolean 157s ok 79 - value is not a string 157s ok 80 - value is not a number 157s ok 81 - value is not a integer 157s 1..81 157s ok 19 - is_type and get_type for references 157s 1..19 157s ok 157s t/unsupported-keywords.t ................ 157s # 157s # draft7 157s ok 1 - schema with "id" still validates in draft7 157s ok 2 - warned for "id" in draft7 157s ok 3 - schema with "definitions" validates in draft7 157s ok 4 - did not warn for "definitions" in draft7 157s ok 5 - schema with "dependencies" validates in draft7 157s ok 6 - did not warn for "dependencies" in draft7 157s # 157s # draft2019-09 157s ok 7 - schema with "id" still validates in draft2019-09 157s ok 8 - warned for "id" in draft2019-09 157s ok 9 - schema with "definitions" still validates in draft2019-09 157s ok 10 - warned for "definitions" in draft2019-09 157s ok 11 - schema with "dependencies" still validates in draft2019-09 157s ok 12 - warned for "dependencies" in draft2019-09 157s 1..12 157s ok 157s t/validate-schema.t ..................... 157s ok 1 - validate_schema on simple schema with no $schema keyword 157s ok 2 - validate_schema on schema with metaschema $schema keyword 157s ok 3 - validate_schema with custom metaschema 157s 1..3 157s ok 158s t/vocabularies.t ........................ 158s # Subtest: valid keywords 158s ok 1 - draft4, Applicator: calculated keyword list matches hardcoded table 158s ok 2 - draft4, Core: calculated keyword list matches hardcoded table 158s ok 3 - draft4, FormatAnnotation: calculated keyword list matches hardcoded table 158s ok 4 - draft4, MetaData: calculated keyword list matches hardcoded table 158s ok 5 - draft4, Validation: calculated keyword list matches hardcoded table 158s ok 6 - draft6, Applicator: calculated keyword list matches hardcoded table 158s ok 7 - draft6, Core: calculated keyword list matches hardcoded table 158s ok 8 - draft6, FormatAnnotation: calculated keyword list matches hardcoded table 158s ok 9 - draft6, MetaData: calculated keyword list matches hardcoded table 158s ok 10 - draft6, Validation: calculated keyword list matches hardcoded table 158s ok 11 - draft7, Applicator: calculated keyword list matches hardcoded table 158s ok 12 - draft7, Content: calculated keyword list matches hardcoded table 158s ok 13 - draft7, Core: calculated keyword list matches hardcoded table 158s ok 14 - draft7, FormatAnnotation: calculated keyword list matches hardcoded table 158s ok 15 - draft7, MetaData: calculated keyword list matches hardcoded table 158s ok 16 - draft7, Validation: calculated keyword list matches hardcoded table 158s ok 17 - draft2019-09, Applicator: calculated keyword list matches hardcoded table 158s ok 18 - draft2019-09, Content: calculated keyword list matches hardcoded table 158s ok 19 - draft2019-09, Core: calculated keyword list matches hardcoded table 158s ok 20 - draft2019-09, FormatAnnotation: calculated keyword list matches hardcoded table 158s ok 21 - draft2019-09, MetaData: calculated keyword list matches hardcoded table 158s ok 22 - draft2019-09, Validation: calculated keyword list matches hardcoded table 158s ok 23 - draft2020-12, Applicator: calculated keyword list matches hardcoded table 158s ok 24 - draft2020-12, Content: calculated keyword list matches hardcoded table 158s ok 25 - draft2020-12, Core: calculated keyword list matches hardcoded table 158s ok 26 - draft2020-12, FormatAnnotation: calculated keyword list matches hardcoded table 158s ok 27 - draft2020-12, MetaData: calculated keyword list matches hardcoded table 158s ok 28 - draft2020-12, Unevaluated: calculated keyword list matches hardcoded table 158s ok 29 - draft2020-12, Validation: calculated keyword list matches hardcoded table 158s 1..29 158s ok 1 - valid keywords 158s 1..1 158s ok 159s t/zzz-acceptance-draft2019-09-format.t .. 159s # AUTHOR_TESTING: 159s # AUTOMATED_TESTING: 1 159s # EXTENDED_TESTING: 159s # NO_TODO: 159s # TEST_DIR: 159s # NO_SHORT_CIRCUIT: 159s # 159s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft2019-09/optional/format against draft2019-09... 159s # 159s ok 1 - date-time.json: "validation of date-time strings" - "all string formats ignore integers" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 2 - date-time.json: "validation of date-time strings" - "all string formats ignore floats" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 3 - date-time.json: "validation of date-time strings" - "all string formats ignore objects" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 4 - date-time.json: "validation of date-time strings" - "all string formats ignore arrays" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 5 - date-time.json: "validation of date-time strings" - "all string formats ignore booleans" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 6 - date-time.json: "validation of date-time strings" - "all string formats ignore nulls" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 7 - date-time.json: "validation of date-time strings" - "a valid date-time string" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 8 - date-time.json: "validation of date-time strings" - "a valid date-time string without second fraction" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 9 - date-time.json: "validation of date-time strings" - "a valid date-time string with plus offset" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 10 - date-time.json: "validation of date-time strings" - "a valid date-time string with minus offset" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 11 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, UTC" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 12 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, with minus offset" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 13 - date-time.json: "validation of date-time strings" - "an invalid date-time past leap second, UTC" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 14 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong minute, UTC" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 15 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong hour, UTC" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 16 - date-time.json: "validation of date-time strings" - "an invalid day in date-time string" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 17 - date-time.json: "validation of date-time strings" - "an invalid offset in date-time string" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 18 - date-time.json: "validation of date-time strings" - "an invalid closing Z after time-zone offset" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 19 - date-time.json: "validation of date-time strings" - "an invalid date-time string" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 20 - date-time.json: "validation of date-time strings" - "case-insensitive T and Z" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 21 - date-time.json: "validation of date-time strings" - "only RFC3339 not all of ISO 8601 are valid" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 22 - date-time.json: "validation of date-time strings" - "invalid non-padded month dates" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 23 - date-time.json: "validation of date-time strings" - "invalid non-padded day dates" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 24 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in date portion" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 25 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in time portion" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date-time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s # 159s ok 26 - date.json: "validation of date strings" - "all string formats ignore integers" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 27 - date.json: "validation of date strings" - "all string formats ignore floats" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 28 - date.json: "validation of date strings" - "all string formats ignore objects" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 29 - date.json: "validation of date strings" - "all string formats ignore arrays" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 30 - date.json: "validation of date strings" - "all string formats ignore booleans" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 31 - date.json: "validation of date strings" - "all string formats ignore nulls" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 32 - date.json: "validation of date strings" - "a valid date string" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 33 - date.json: "validation of date strings" - "a valid date string with 31 days in January" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 34 - date.json: "validation of date strings" - "a invalid date string with 32 days in January" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 35 - date.json: "validation of date strings" - "a valid date string with 28 days in February (normal)" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 36 - date.json: "validation of date strings" - "a invalid date string with 29 days in February (normal)" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 37 - date.json: "validation of date strings" - "a valid date string with 29 days in February (leap)" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 38 - date.json: "validation of date strings" - "a invalid date string with 30 days in February (leap)" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 39 - date.json: "validation of date strings" - "a valid date string with 31 days in March" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 40 - date.json: "validation of date strings" - "a invalid date string with 32 days in March" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 41 - date.json: "validation of date strings" - "a valid date string with 30 days in April" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 42 - date.json: "validation of date strings" - "a invalid date string with 31 days in April" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 43 - date.json: "validation of date strings" - "a valid date string with 31 days in May" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 44 - date.json: "validation of date strings" - "a invalid date string with 32 days in May" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 45 - date.json: "validation of date strings" - "a valid date string with 30 days in June" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 46 - date.json: "validation of date strings" - "a invalid date string with 31 days in June" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 47 - date.json: "validation of date strings" - "a valid date string with 31 days in July" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 48 - date.json: "validation of date strings" - "a invalid date string with 32 days in July" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 49 - date.json: "validation of date strings" - "a valid date string with 31 days in August" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 50 - date.json: "validation of date strings" - "a invalid date string with 32 days in August" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 51 - date.json: "validation of date strings" - "a valid date string with 30 days in September" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 52 - date.json: "validation of date strings" - "a invalid date string with 31 days in September" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 53 - date.json: "validation of date strings" - "a valid date string with 31 days in October" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 54 - date.json: "validation of date strings" - "a invalid date string with 32 days in October" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 55 - date.json: "validation of date strings" - "a valid date string with 30 days in November" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 56 - date.json: "validation of date strings" - "a invalid date string with 31 days in November" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 57 - date.json: "validation of date strings" - "a valid date string with 31 days in December" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 58 - date.json: "validation of date strings" - "a invalid date string with 32 days in December" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 59 - date.json: "validation of date strings" - "a invalid date string with invalid month" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 60 - date.json: "validation of date strings" - "an invalid date string" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 61 - date.json: "validation of date strings" - "only RFC3339 not all of ISO 8601 are valid" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 62 - date.json: "validation of date strings" - "non-padded month dates are not valid" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 63 - date.json: "validation of date strings" - "non-padded day dates are not valid" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 64 - date.json: "validation of date strings" - "invalid month" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 65 - date.json: "validation of date strings" - "invalid month-day combination" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 66 - date.json: "validation of date strings" - "2021 is not a leap year" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 67 - date.json: "validation of date strings" - "2020 is a leap year" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 68 - date.json: "validation of date strings" - "invalid non-ASCII '৪' (a Bengali 4)" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 69 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: YYYYMMDD without dashes (2023-03-28)" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 70 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number implicit day of week (2023-01-02)" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 71 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number with day of week (2023-03-28)" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 72 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number rollover to next year (2023-01-01)" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid date", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s # 159s ok 73 - duration.json: "validation of duration strings" - "all string formats ignore integers" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 74 - duration.json: "validation of duration strings" - "all string formats ignore floats" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 75 - duration.json: "validation of duration strings" - "all string formats ignore objects" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 76 - duration.json: "validation of duration strings" - "all string formats ignore arrays" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 77 - duration.json: "validation of duration strings" - "all string formats ignore booleans" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 78 - duration.json: "validation of duration strings" - "all string formats ignore nulls" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 79 - duration.json: "validation of duration strings" - "a valid duration string" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 80 - duration.json: "validation of duration strings" - "an invalid duration string" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid duration", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid duration", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 81 - duration.json: "validation of duration strings" - "no elements present" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid duration", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid duration", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 82 - duration.json: "validation of duration strings" - "no time elements present" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid duration", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid duration", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 83 - duration.json: "validation of duration strings" - "no date or time elements present" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid duration", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid duration", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 84 - duration.json: "validation of duration strings" - "elements out of order" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid duration", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid duration", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 85 - duration.json: "validation of duration strings" - "missing time separator" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid duration", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid duration", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 86 - duration.json: "validation of duration strings" - "time element in the date position" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid duration", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid duration", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 87 - duration.json: "validation of duration strings" - "four years duration" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 88 - duration.json: "validation of duration strings" - "zero time, in seconds" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 89 - duration.json: "validation of duration strings" - "zero time, in days" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 90 - duration.json: "validation of duration strings" - "one month duration" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 91 - duration.json: "validation of duration strings" - "one minute duration" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 92 - duration.json: "validation of duration strings" - "one and a half days, in hours" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 93 - duration.json: "validation of duration strings" - "one and a half days, in days and hours" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 94 - duration.json: "validation of duration strings" - "two weeks" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 95 - duration.json: "validation of duration strings" - "weeks cannot be combined with other units" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid duration", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid duration", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 96 - duration.json: "validation of duration strings" - "invalid non-ASCII '২' (a Bengali 2)" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid duration", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid duration", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 97 - duration.json: "validation of duration strings" - "element without unit" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid duration", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid duration", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s # 159s ok 98 - email.json: "validation of e-mail addresses" - "all string formats ignore integers" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 99 - email.json: "validation of e-mail addresses" - "all string formats ignore floats" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 100 - email.json: "validation of e-mail addresses" - "all string formats ignore objects" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 101 - email.json: "validation of e-mail addresses" - "all string formats ignore arrays" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 102 - email.json: "validation of e-mail addresses" - "all string formats ignore booleans" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 103 - email.json: "validation of e-mail addresses" - "all string formats ignore nulls" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 104 - email.json: "validation of e-mail addresses" - "a valid e-mail address" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 105 - email.json: "validation of e-mail addresses" - "an invalid e-mail address" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid email", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid email", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 106 - email.json: "validation of e-mail addresses" - "tilde in local part is valid" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 107 - email.json: "validation of e-mail addresses" - "tilde before local part is valid" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 108 - email.json: "validation of e-mail addresses" - "tilde after local part is valid" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 109 - email.json: "validation of e-mail addresses" - "dot before local part is not valid" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid email", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid email", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 110 - email.json: "validation of e-mail addresses" - "dot after local part is not valid" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid email", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid email", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 111 - email.json: "validation of e-mail addresses" - "two separated dots inside local part are valid" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 112 - email.json: "validation of e-mail addresses" - "two subsequent dots inside local part are not valid" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid email", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid email", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s # 159s ok 113 - hostname.json: "validation of host names" - "all string formats ignore integers" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 114 - hostname.json: "validation of host names" - "all string formats ignore floats" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 115 - hostname.json: "validation of host names" - "all string formats ignore objects" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 116 - hostname.json: "validation of host names" - "all string formats ignore arrays" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 117 - hostname.json: "validation of host names" - "all string formats ignore booleans" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 118 - hostname.json: "validation of host names" - "all string formats ignore nulls" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 119 - hostname.json: "validation of host names" - "a valid host name" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 120 - hostname.json: "validation of host names" - "a valid punycoded IDN hostname" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 121 - hostname.json: "validation of host names" - "a host name starting with an illegal character" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 122 - hostname.json: "validation of host names" - "a host name containing illegal characters" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 123 - hostname.json: "validation of host names" - "a host name with a component too long" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 124 - hostname.json: "validation of host names" - "starts with hyphen" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 125 - hostname.json: "validation of host names" - "ends with hyphen" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 126 - hostname.json: "validation of host names" - "starts with underscore" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 127 - hostname.json: "validation of host names" - "ends with underscore" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 128 - hostname.json: "validation of host names" - "contains underscore" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 129 - hostname.json: "validation of host names" - "maximum label length" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 130 - hostname.json: "validation of host names" - "exceeds maximum label length" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 131 - hostname.json: "validation of host names" - "single label" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"hostname\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 132 - hostname.json: "validation of host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"host-name\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 133 - hostname.json: "validation of host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"h0stn4me\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 134 - hostname.json: "validation of host names" - "single label starting with digit" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"1host\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 135 - hostname.json: "validation of host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"hostnam3\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s # 159s ok 136 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore integers" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 137 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore floats" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 138 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore objects" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 139 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore arrays" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 140 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore booleans" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 141 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore nulls" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 142 - idn-email.json: "validation of an internationalized e-mail addresses" - "a valid idn e-mail (example@example.test in Hangul)" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 143 - idn-email.json: "validation of an internationalized e-mail addresses" - "an invalid idn e-mail address" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-email", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-email", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 144 - idn-email.json: "validation of an internationalized e-mail addresses" - "a valid e-mail address" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 145 - idn-email.json: "validation of an internationalized e-mail addresses" - "an invalid e-mail address" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-email", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-email", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s # 159s ok 146 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true # 159s 1..1 159s } 159s ok 147 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true # 159s 1..1 159s } 159s ok 148 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true # 159s 1..1 159s } 159s ok 149 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true # 159s 1..1 159s } 159s ok 150 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true # 159s 1..1 159s } 159s ok 151 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true # 159s 1..1 159s } 159s ok 152 - idn-hostname.json: "validation of internationalized host names" - "a valid host name (example.test in Hangul)" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true # 159s 1..1 159s } 159s ok 153 - idn-hostname.json: "validation of internationalized host names" - "illegal first char U+302E Hangul single dot tone mark" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 154 - idn-hostname.json: "validation of internationalized host names" - "contains illegal char U+302E Hangul single dot tone mark" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected false; got true 159s # data: "\"실〮례.테스트\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 159s # result: { 159s # "valid": true 159s # } 159s 1..1 159s } 159s ok 155 - idn-hostname.json: "validation of internationalized host names" - "a host name with a component too long" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 156 - idn-hostname.json: "validation of internationalized host names" - "invalid label, correct Punycode" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 157 - idn-hostname.json: "validation of internationalized host names" - "valid Chinese Punycode" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"xn--ihqwcrb4cv8a8dqg056pqjye\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 158 - idn-hostname.json: "validation of internationalized host names" - "invalid Punycode" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 159 - idn-hostname.json: "validation of internationalized host names" - "U-label contains "--" in the 3rd and 4th position" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 160 - idn-hostname.json: "validation of internationalized host names" - "U-label starts with a dash" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 161 - idn-hostname.json: "validation of internationalized host names" - "U-label ends with a dash" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 162 - idn-hostname.json: "validation of internationalized host names" - "U-label starts and ends with a dash" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 163 - idn-hostname.json: "validation of internationalized host names" - "Begins with a Spacing Combining Mark" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 164 - idn-hostname.json: "validation of internationalized host names" - "Begins with a Nonspacing Mark" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 165 - idn-hostname.json: "validation of internationalized host names" - "Begins with an Enclosing Mark" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 166 - idn-hostname.json: "validation of internationalized host names" - "Exceptions that are PVALID, left-to-right chars" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"ßς་〇\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 167 - idn-hostname.json: "validation of internationalized host names" - "Exceptions that are PVALID, right-to-left chars" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"Û½Û¾\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 168 - idn-hostname.json: "validation of internationalized host names" - "Exceptions that are DISALLOWED, right-to-left chars" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 169 - idn-hostname.json: "validation of internationalized host names" - "Exceptions that are DISALLOWED, left-to-right chars" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 170 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with no preceding 'l'" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 171 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with nothing preceding" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 172 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with no following 'l'" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 173 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with nothing following" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 174 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with surrounding 'l's" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"l·l\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 175 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA not followed by Greek" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 176 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA not followed by anything" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 177 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA followed by Greek" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"α͵β\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 178 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH not preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 179 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH not preceded by anything" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 180 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"א׳ב\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 181 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM not preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 182 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM not preceded by anything" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 183 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"א״ב\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 184 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with no Hiragana, Katakana, or Han" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 185 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with no other characters" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 186 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Hiragana" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"・ぁ\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 187 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Katakana" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"・ァ\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 188 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Han" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"・丈\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 189 - idn-hostname.json: "validation of internationalized host names" - "Arabic-Indic digits mixed with Extended Arabic-Indic digits" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 190 - idn-hostname.json: "validation of internationalized host names" - "Arabic-Indic digits not mixed with Extended Arabic-Indic digits" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"ب٠ب\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 191 - idn-hostname.json: "validation of internationalized host names" - "Extended Arabic-Indic digits not mixed with Arabic-Indic digits" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"Û°0\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 192 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER not preceded by Virama" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 193 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER not preceded by anything" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false # 159s 1..1 159s } 159s ok 194 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER preceded by Virama" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"क्‍ष\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 195 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH NON-JOINER preceded by Virama" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"क्‌ष\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 196 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH NON-JOINER not preceded by Virama but matches regexp" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"بي‌بي\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 197 - idn-hostname.json: "validation of internationalized host names" - "single label" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"hostname\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 198 - idn-hostname.json: "validation of internationalized host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"host-name\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 199 - idn-hostname.json: "validation of internationalized host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"h0stn4me\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 200 - idn-hostname.json: "validation of internationalized host names" - "single label starting with digit" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"1host\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s ok 201 - idn-hostname.json: "validation of internationalized host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected true; got false 159s # data: "\"hostnam3\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"idn-hostname\"}" 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid idn-hostname", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s 1..1 159s } 159s # 159s ok 202 - ipv4.json: "validation of IP addresses" - "all string formats ignore integers" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 203 - ipv4.json: "validation of IP addresses" - "all string formats ignore floats" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 204 - ipv4.json: "validation of IP addresses" - "all string formats ignore objects" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 205 - ipv4.json: "validation of IP addresses" - "all string formats ignore arrays" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 206 - ipv4.json: "validation of IP addresses" - "all string formats ignore booleans" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 207 - ipv4.json: "validation of IP addresses" - "all string formats ignore nulls" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 208 - ipv4.json: "validation of IP addresses" - "a valid IP address" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 209 - ipv4.json: "validation of IP addresses" - "an IP address with too many components" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv4", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv4", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 210 - ipv4.json: "validation of IP addresses" - "an IP address with out-of-range values" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv4", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv4", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 211 - ipv4.json: "validation of IP addresses" - "an IP address without 4 components" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv4", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv4", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 212 - ipv4.json: "validation of IP addresses" - "an IP address as an integer" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv4", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv4", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 213 - ipv4.json: "validation of IP addresses" - "an IP address as an integer (decimal)" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv4", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv4", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 214 - ipv4.json: "validation of IP addresses" - "invalid leading zeroes, as they are treated as octals" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv4", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv4", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 215 - ipv4.json: "validation of IP addresses" - "value without leading zero is valid" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 216 - ipv4.json: "validation of IP addresses" - "invalid non-ASCII '২' (a Bengali 2)" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv4", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv4", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 217 - ipv4.json: "validation of IP addresses" - "netmask is not a part of ipv4 address" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv4", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv4", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s # 159s ok 218 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore integers" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 219 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore floats" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 220 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore objects" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 221 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore arrays" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 222 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore booleans" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 223 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore nulls" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 224 - ipv6.json: "validation of IPv6 addresses" - "a valid IPv6 address" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 225 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with out-of-range values" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 226 - ipv6.json: "validation of IPv6 addresses" - "trailing 4 hex symbols is valid" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 227 - ipv6.json: "validation of IPv6 addresses" - "trailing 5 hex symbols is invalid" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 228 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with too many components" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 229 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address containing illegal characters" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 230 - ipv6.json: "validation of IPv6 addresses" - "no digits is valid" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 231 - ipv6.json: "validation of IPv6 addresses" - "leading colons is valid" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 232 - ipv6.json: "validation of IPv6 addresses" - "trailing colons is valid" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 233 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet is invalid" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 234 - ipv6.json: "validation of IPv6 addresses" - "missing trailing octet is invalid" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 235 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet with omitted octets later" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 236 - ipv6.json: "validation of IPv6 addresses" - "single set of double colons in the middle is valid" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 237 - ipv6.json: "validation of IPv6 addresses" - "two sets of double colons is invalid" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 238 - ipv6.json: "validation of IPv6 addresses" - "mixed format with the ipv4 section as decimal octets" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 239 - ipv6.json: "validation of IPv6 addresses" - "mixed format with double colons between the sections" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 240 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with octet out of range" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 241 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with a hex octet" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 242 - ipv6.json: "validation of IPv6 addresses" - "mixed format with leading double colons (ipv4-mapped ipv6 address)" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 243 - ipv6.json: "validation of IPv6 addresses" - "triple colons is invalid" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 244 - ipv6.json: "validation of IPv6 addresses" - "8 octets" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 245 - ipv6.json: "validation of IPv6 addresses" - "insufficient octets without double colons" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 246 - ipv6.json: "validation of IPv6 addresses" - "no colons is invalid" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 247 - ipv6.json: "validation of IPv6 addresses" - "ipv4 is not ipv6" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 248 - ipv6.json: "validation of IPv6 addresses" - "ipv4 segment must have 4 octets" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 249 - ipv6.json: "validation of IPv6 addresses" - "leading whitespace is invalid" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 250 - ipv6.json: "validation of IPv6 addresses" - "trailing whitespace is invalid" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 251 - ipv6.json: "validation of IPv6 addresses" - "netmask is not a part of ipv6 address" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 252 - ipv6.json: "validation of IPv6 addresses" - "zone id is not a part of ipv6 address" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 253 - ipv6.json: "validation of IPv6 addresses" - "a long valid ipv6" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 254 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, first" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 255 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, second" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 256 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4)" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 257 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4) in the IPv4 portion" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid ipv6", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s # 159s ok 258 - iri-reference.json: "validation of IRI References" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true # 159s 1..1 159s } 159s ok 259 - iri-reference.json: "validation of IRI References" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true # 159s 1..1 159s } 159s ok 260 - iri-reference.json: "validation of IRI References" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true # 159s 1..1 159s } 159s ok 261 - iri-reference.json: "validation of IRI References" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true # 159s 1..1 159s } 159s ok 262 - iri-reference.json: "validation of IRI References" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true # 159s 1..1 159s } 159s ok 263 - iri-reference.json: "validation of IRI References" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true # 159s 1..1 159s } 159s ok 264 - iri-reference.json: "validation of IRI References" - "a valid IRI" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true # 159s 1..1 159s } 159s ok 265 - iri-reference.json: "validation of IRI References" - "a valid protocol-relative IRI Reference" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true # 159s 1..1 159s } 159s ok 266 - iri-reference.json: "validation of IRI References" - "a valid relative IRI Reference" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true # 159s 1..1 159s } 159s ok 267 - iri-reference.json: "validation of IRI References" - "an invalid IRI Reference" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected false; got true 159s # data: "\"\\\\\\\\WINDOWS\\\\filëßåré\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"iri-reference\"}" 159s # result: { 159s # "valid": true 159s # } 159s 1..1 159s } 159s ok 268 - iri-reference.json: "validation of IRI References" - "a valid IRI Reference" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true # 159s 1..1 159s } 159s ok 269 - iri-reference.json: "validation of IRI References" - "a valid IRI fragment" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true # 159s 1..1 159s } 159s ok 270 - iri-reference.json: "validation of IRI References" - "an invalid IRI fragment" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected false; got true 159s # data: "\"#ƒräg\\\\mênt\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"iri-reference\"}" 159s # result: { 159s # "valid": true 159s # } 159s 1..1 159s } 159s # 159s ok 271 - iri.json: "validation of IRIs" - "all string formats ignore integers" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 272 - iri.json: "validation of IRIs" - "all string formats ignore floats" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 273 - iri.json: "validation of IRIs" - "all string formats ignore objects" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 274 - iri.json: "validation of IRIs" - "all string formats ignore arrays" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 275 - iri.json: "validation of IRIs" - "all string formats ignore booleans" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 276 - iri.json: "validation of IRIs" - "all string formats ignore nulls" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 277 - iri.json: "validation of IRIs" - "a valid IRI with anchor tag" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 278 - iri.json: "validation of IRIs" - "a valid IRI with anchor tag and parentheses" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 279 - iri.json: "validation of IRIs" - "a valid IRI with URL-encoded stuff" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 280 - iri.json: "validation of IRIs" - "a valid IRI with many special characters" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 281 - iri.json: "validation of IRIs" - "a valid IRI based on IPv6" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 282 - iri.json: "validation of IRIs" - "an invalid IRI based on IPv6" { # TODO Test marked TODO via "todo_tests" 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s not ok 1 - evaluation result is incorrect # 159s # Failed test (with amnesty) 'evaluation result is incorrect' 159s # at t/zzz-acceptance-draft2019-09-format.t line 68. 159s # expected false; got true 159s # data: "\"http://2001:0db8:85a3:0000:0000:8a2e:0370:7334\"" 159s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"iri\"}" 159s # result: { 159s # "valid": true 159s # } 159s 1..1 159s } 159s ok 283 - iri.json: "validation of IRIs" - "an invalid relative IRI Reference" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid iri", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid iri", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 284 - iri.json: "validation of IRIs" - "an invalid IRI" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid iri", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid iri", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 285 - iri.json: "validation of IRIs" - "an invalid IRI though valid IRI reference" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid iri", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid iri", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s # 159s ok 286 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore integers" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 287 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore floats" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 288 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore objects" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 289 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore arrays" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 290 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore booleans" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 291 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore nulls" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 292 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "a valid JSON-pointer" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 293 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (~ not escaped)" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 294 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with empty segment" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 295 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with the last empty segment" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 296 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#1" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 297 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#2" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 298 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#3" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 299 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#4" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 300 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#5" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 301 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#6" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 302 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#7" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 303 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#8" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 304 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#9" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 305 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#10" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 306 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#11" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 307 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#12" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 308 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer used adding to the last array position" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 309 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (- used as object member name)" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 310 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (multiple escaped characters)" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 311 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#1" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 312 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#2" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 313 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#1" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 314 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#2" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 315 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#3" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 316 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#1" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 317 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#2" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 318 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#1" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 319 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#2" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 320 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (multiple characters not escaped)" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 321 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#1" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 322 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#2" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 323 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#3" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s # 159s ok 324 - regex.json: "validation of regular expressions" - "all string formats ignore integers" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 325 - regex.json: "validation of regular expressions" - "all string formats ignore floats" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 326 - regex.json: "validation of regular expressions" - "all string formats ignore objects" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 327 - regex.json: "validation of regular expressions" - "all string formats ignore arrays" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 328 - regex.json: "validation of regular expressions" - "all string formats ignore booleans" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 329 - regex.json: "validation of regular expressions" - "all string formats ignore nulls" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 330 - regex.json: "validation of regular expressions" - "a valid regular expression" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 331 - regex.json: "validation of regular expressions" - "a regular expression with unclosed parens is invalid" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid regex", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid regex", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s # 159s ok 332 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore integers" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 333 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore floats" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 334 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore objects" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 335 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore arrays" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 336 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore booleans" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 337 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore nulls" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 338 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid upwards RJP" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 339 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid downwards RJP" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 340 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid up and then down RJP, with array index" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 341 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid RJP taking the member or index name" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 342 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "an invalid RJP that is a valid JSON Pointer" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid relative-json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid relative-json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 343 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "negative prefix" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid relative-json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid relative-json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 344 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "explicit positive prefix" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid relative-json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid relative-json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 345 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "\#\# is not a valid json-pointer" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid relative-json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid relative-json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 346 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "zero cannot be followed by other digits, plus json-pointer" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid relative-json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid relative-json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 347 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "zero cannot be followed by other digits, plus octothorpe" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid relative-json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid relative-json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 348 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "empty string" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid relative-json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid relative-json-pointer", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 349 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "multi-digit integer prefix" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s # 159s ok 350 - time.json: "validation of time strings" - "all string formats ignore integers" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 351 - time.json: "validation of time strings" - "all string formats ignore floats" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 352 - time.json: "validation of time strings" - "all string formats ignore objects" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 353 - time.json: "validation of time strings" - "all string formats ignore arrays" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 354 - time.json: "validation of time strings" - "all string formats ignore booleans" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 355 - time.json: "validation of time strings" - "all string formats ignore nulls" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 356 - time.json: "validation of time strings" - "a valid time string" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 357 - time.json: "validation of time strings" - "invalid time string with extra leading zeros" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 358 - time.json: "validation of time strings" - "invalid time string with no leading zero for single digit" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 359 - time.json: "validation of time strings" - "hour, minute, second must be two digits" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 360 - time.json: "validation of time strings" - "a valid time string with leap second, Zulu" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 361 - time.json: "validation of time strings" - "invalid leap second, Zulu (wrong hour)" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 362 - time.json: "validation of time strings" - "invalid leap second, Zulu (wrong minute)" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 363 - time.json: "validation of time strings" - "valid leap second, zero time-offset" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 364 - time.json: "validation of time strings" - "invalid leap second, zero time-offset (wrong hour)" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 365 - time.json: "validation of time strings" - "invalid leap second, zero time-offset (wrong minute)" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 366 - time.json: "validation of time strings" - "valid leap second, positive time-offset" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 367 - time.json: "validation of time strings" - "valid leap second, large positive time-offset" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 368 - time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong hour)" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 369 - time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong minute)" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 370 - time.json: "validation of time strings" - "valid leap second, negative time-offset" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 371 - time.json: "validation of time strings" - "valid leap second, large negative time-offset" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 372 - time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong hour)" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 373 - time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong minute)" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 374 - time.json: "validation of time strings" - "a valid time string with second fraction" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 375 - time.json: "validation of time strings" - "a valid time string with precise second fraction" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 376 - time.json: "validation of time strings" - "a valid time string with plus offset" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 377 - time.json: "validation of time strings" - "a valid time string with minus offset" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 159s } 159s ok 378 - time.json: "validation of time strings" - "hour, minute in time-offset must be two digits" { 159s # result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s # short-circuited result: { 159s # "errors": [ 159s # { 159s # "error": "not a valid time", 159s # "instanceLocation": "", 159s # "keywordLocation": "/format" 159s # } 159s # ], 159s # "valid": false 159s # } 159s ok 1 - test passes: data is valid: false 159s 1..1 159s } 159s ok 379 - time.json: "validation of time strings" - "a valid time string with case-insensitive Z" { 159s # result: { 159s # "valid": true 159s # } 159s # short-circuited result: { 159s # "valid": true 159s # } 159s ok 1 - test passes: data is valid: true 159s 1..1 160s } 160s ok 380 - time.json: "validation of time strings" - "an invalid time string with invalid hour" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 381 - time.json: "validation of time strings" - "an invalid time string with invalid minute" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 382 - time.json: "validation of time strings" - "an invalid time string with invalid second" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 383 - time.json: "validation of time strings" - "an invalid time string with invalid leap second (wrong hour)" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 384 - time.json: "validation of time strings" - "an invalid time string with invalid leap second (wrong minute)" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 385 - time.json: "validation of time strings" - "an invalid time string with invalid time numoffset hour" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 386 - time.json: "validation of time strings" - "an invalid time string with invalid time numoffset minute" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 387 - time.json: "validation of time strings" - "an invalid time string with invalid time with both Z and numoffset" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 388 - time.json: "validation of time strings" - "an invalid offset indicator" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 389 - time.json: "validation of time strings" - "only RFC3339 not all of ISO 8601 are valid" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 390 - time.json: "validation of time strings" - "no time offset" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 391 - time.json: "validation of time strings" - "no time offset with second fraction" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 392 - time.json: "validation of time strings" - "invalid non-ASCII '২' (a Bengali 2)" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 393 - time.json: "validation of time strings" - "offset not starting with plus or minus" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 394 - time.json: "validation of time strings" - "contains letters" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid time", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s # 160s ok 395 - unknown.json: "unknown format" - "unknown formats ignore integers" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 396 - unknown.json: "unknown format" - "unknown formats ignore floats" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 397 - unknown.json: "unknown format" - "unknown formats ignore objects" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 398 - unknown.json: "unknown format" - "unknown formats ignore arrays" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 399 - unknown.json: "unknown format" - "unknown formats ignore booleans" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 400 - unknown.json: "unknown format" - "unknown formats ignore nulls" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 401 - unknown.json: "unknown format" - "unknown formats ignore strings" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s # 160s ok 402 - uri-reference.json: "validation of URI References" - "all string formats ignore integers" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 403 - uri-reference.json: "validation of URI References" - "all string formats ignore floats" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 404 - uri-reference.json: "validation of URI References" - "all string formats ignore objects" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 405 - uri-reference.json: "validation of URI References" - "all string formats ignore arrays" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 406 - uri-reference.json: "validation of URI References" - "all string formats ignore booleans" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 407 - uri-reference.json: "validation of URI References" - "all string formats ignore nulls" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 408 - uri-reference.json: "validation of URI References" - "a valid URI" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 409 - uri-reference.json: "validation of URI References" - "a valid protocol-relative URI Reference" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 410 - uri-reference.json: "validation of URI References" - "a valid relative URI Reference" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 411 - uri-reference.json: "validation of URI References" - "an invalid URI Reference" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uri-reference", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uri-reference", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 412 - uri-reference.json: "validation of URI References" - "a valid URI Reference" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 413 - uri-reference.json: "validation of URI References" - "a valid URI fragment" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 414 - uri-reference.json: "validation of URI References" - "an invalid URI fragment" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uri-reference", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uri-reference", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s # 160s ok 415 - uri-template.json: "format: uri-template" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true # 160s 1..1 160s } 160s ok 416 - uri-template.json: "format: uri-template" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true # 160s 1..1 160s } 160s ok 417 - uri-template.json: "format: uri-template" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true # 160s 1..1 160s } 160s ok 418 - uri-template.json: "format: uri-template" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true # 160s 1..1 160s } 160s ok 419 - uri-template.json: "format: uri-template" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true # 160s 1..1 160s } 160s ok 420 - uri-template.json: "format: uri-template" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true # 160s 1..1 160s } 160s ok 421 - uri-template.json: "format: uri-template" - "a valid uri-template" { # TODO Test marked TODO via "todo_tests" 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true # 160s 1..1 160s } 160s ok 422 - uri-template.json: "format: uri-template" - "an invalid uri-template" { # TODO Test marked TODO via "todo_tests" 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s not ok 1 - evaluation result is incorrect # 160s # Failed test (with amnesty) 'evaluation result is incorrect' 160s # at t/zzz-acceptance-draft2019-09-format.t line 68. 160s # expected false; got true 160s # data: "\"http://example.com/dictionary/{term:1}/{term\"" 160s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"uri-template\"}" 160s # result: { 160s # "valid": true 160s # } 160s 1..1 160s } 160s ok 423 - uri-template.json: "format: uri-template" - "a valid uri-template without variables" { # TODO Test marked TODO via "todo_tests" 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true # 160s 1..1 160s } 160s ok 424 - uri-template.json: "format: uri-template" - "a valid relative uri-template" { # TODO Test marked TODO via "todo_tests" 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true # 160s 1..1 160s } 160s # 160s ok 425 - uri.json: "validation of URIs" - "all string formats ignore integers" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 426 - uri.json: "validation of URIs" - "all string formats ignore floats" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 427 - uri.json: "validation of URIs" - "all string formats ignore objects" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 428 - uri.json: "validation of URIs" - "all string formats ignore arrays" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 429 - uri.json: "validation of URIs" - "all string formats ignore booleans" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 430 - uri.json: "validation of URIs" - "all string formats ignore nulls" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 431 - uri.json: "validation of URIs" - "a valid URL with anchor tag" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 432 - uri.json: "validation of URIs" - "a valid URL with anchor tag and parentheses" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 433 - uri.json: "validation of URIs" - "a valid URL with URL-encoded stuff" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 434 - uri.json: "validation of URIs" - "a valid puny-coded URL " { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 435 - uri.json: "validation of URIs" - "a valid URL with many special characters" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 436 - uri.json: "validation of URIs" - "a valid URL based on IPv4" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 437 - uri.json: "validation of URIs" - "a valid URL with ftp scheme" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 438 - uri.json: "validation of URIs" - "a valid URL for a simple text file" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 439 - uri.json: "validation of URIs" - "a valid URL " { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 440 - uri.json: "validation of URIs" - "a valid mailto URI" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 441 - uri.json: "validation of URIs" - "a valid newsgroup URI" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 442 - uri.json: "validation of URIs" - "a valid tel URI" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 443 - uri.json: "validation of URIs" - "a valid URN" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 444 - uri.json: "validation of URIs" - "an invalid protocol-relative URI Reference" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uri", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uri", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 445 - uri.json: "validation of URIs" - "an invalid relative URI Reference" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uri", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uri", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 446 - uri.json: "validation of URIs" - "an invalid URI" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uri", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uri", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 447 - uri.json: "validation of URIs" - "an invalid URI though valid URI reference" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uri", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uri", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 448 - uri.json: "validation of URIs" - "an invalid URI with spaces" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uri", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uri", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 449 - uri.json: "validation of URIs" - "an invalid URI with spaces and missing scheme" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uri", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uri", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 450 - uri.json: "validation of URIs" - "an invalid URI with comma in scheme" { # TODO Test marked TODO via "todo_tests" 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s not ok 1 - evaluation result is incorrect # 160s # Failed test (with amnesty) 'evaluation result is incorrect' 160s # at t/zzz-acceptance-draft2019-09-format.t line 68. 160s # expected false; got true 160s # data: "\"bar,baz:foo\"" 160s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"format\":\"uri\"}" 160s # result: { 160s # "valid": true 160s # } 160s 1..1 160s } 160s # 160s ok 451 - uuid.json: "uuid format" - "all string formats ignore integers" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 452 - uuid.json: "uuid format" - "all string formats ignore floats" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 453 - uuid.json: "uuid format" - "all string formats ignore objects" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 454 - uuid.json: "uuid format" - "all string formats ignore arrays" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 455 - uuid.json: "uuid format" - "all string formats ignore booleans" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 456 - uuid.json: "uuid format" - "all string formats ignore nulls" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 457 - uuid.json: "uuid format" - "all upper-case" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 458 - uuid.json: "uuid format" - "all lower-case" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 459 - uuid.json: "uuid format" - "mixed case" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 460 - uuid.json: "uuid format" - "all zeroes is valid" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 461 - uuid.json: "uuid format" - "wrong length" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uuid", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uuid", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 462 - uuid.json: "uuid format" - "missing section" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uuid", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uuid", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 463 - uuid.json: "uuid format" - "bad characters (not hex)" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uuid", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uuid", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 464 - uuid.json: "uuid format" - "no dashes" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uuid", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uuid", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 465 - uuid.json: "uuid format" - "too few dashes" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uuid", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uuid", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 466 - uuid.json: "uuid format" - "too many dashes" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uuid", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uuid", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 467 - uuid.json: "uuid format" - "dashes in the wrong spot" { 160s # result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uuid", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s # short-circuited result: { 160s # "errors": [ 160s # { 160s # "error": "not a valid uuid", 160s # "instanceLocation": "", 160s # "keywordLocation": "/format" 160s # } 160s # ], 160s # "valid": false 160s # } 160s ok 1 - test passes: data is valid: false 160s 1..1 160s } 160s ok 468 - uuid.json: "uuid format" - "valid version 4" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 469 - uuid.json: "uuid format" - "valid version 5" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 470 - uuid.json: "uuid format" - "hypothetical version 6" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s ok 471 - uuid.json: "uuid format" - "hypothetical version 15" { 160s # result: { 160s # "valid": true 160s # } 160s # short-circuited result: { 160s # "valid": true 160s # } 160s ok 1 - test passes: data is valid: true 160s 1..1 160s } 160s # 160s # 160s # generated with: Test::JSON::Schema::Acceptance 1.026 160s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 160s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 160s # specification version: draft2019-09 160s # using custom test directory: /optional/format 160s # optional tests included: yes 160s # 160s # filename pass todo-fail fail 160s # --------------------------------------------------------------- 160s # date-time.json 25 0 0 160s # date.json 47 0 0 160s # duration.json 25 0 0 160s # email.json 15 0 0 160s # hostname.json 18 5 0 160s # idn-email.json 10 0 0 160s # idn-hostname.json 35 21 0 160s # ipv4.json 16 0 0 160s # ipv6.json 40 0 0 160s # iri-reference.json 11 2 0 160s # iri.json 14 1 0 160s # json-pointer.json 38 0 0 160s # regex.json 8 0 0 160s # relative-json-pointer.json 18 0 0 160s # time.json 45 0 0 160s # unknown.json 7 0 0 160s # uri-reference.json 13 0 0 160s # uri-template.json 9 1 0 160s # uri.json 25 1 0 160s # uuid.json 21 0 0 160s # --------------------------------------------------------------- 160s # TOTAL 440 31 0 160s # 160s # Congratulations, all non-optional tests are passing! 160s # 160s ok 472 - no leaks in the main evaluator object 160s ok 473 - no leaks in the short-circuiting evaluator object 160s 1..473 160s ok 165s t/zzz-acceptance-draft2019-09.t ......... 165s # AUTHOR_TESTING: 165s # AUTOMATED_TESTING: 1 165s # EXTENDED_TESTING: 165s # NO_TODO: 165s # TEST_DIR: 165s # NO_SHORT_CIRCUIT: 165s # 165s # adding resources from /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/remotes with the base URI "http://localhost:1234"... 165s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft2019-09 against draft2019-09... 165s # 165s ok 1 - additionalItems.json: "additionalItems as schema" - "additional items match schema" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 2 - additionalItems.json: "additionalItems as schema" - "additional items do not match schema" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not integer", 165s # "instanceLocation": "/3", 165s # "keywordLocation": "/additionalItems/type" 165s # }, 165s # { 165s # "error": "subschema is not valid against all additional items", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalItems" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not integer", 165s # "instanceLocation": "/3", 165s # "keywordLocation": "/additionalItems/type" 165s # }, 165s # { 165s # "error": "subschema is not valid against all additional items", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalItems" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 3 - additionalItems.json: "when items is schema, additionalItems does nothing" - "valid with a array of type integers" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 4 - additionalItems.json: "when items is schema, additionalItems does nothing" - "invalid with a array of mixed types" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not integer", 165s # "instanceLocation": "/1", 165s # "keywordLocation": "/items/type" 165s # }, 165s # { 165s # "error": "got string, not integer", 165s # "instanceLocation": "/2", 165s # "keywordLocation": "/items/type" 165s # }, 165s # { 165s # "error": "subschema is not valid against all items", 165s # "instanceLocation": "", 165s # "keywordLocation": "/items" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not integer", 165s # "instanceLocation": "/1", 165s # "keywordLocation": "/items/type" 165s # }, 165s # { 165s # "error": "subschema is not valid against all items", 165s # "instanceLocation": "", 165s # "keywordLocation": "/items" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 5 - additionalItems.json: "when items is schema, boolean additionalItems does nothing" - "all items match schema" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 6 - additionalItems.json: "array of items with no additionalItems permitted" - "empty array" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 7 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (1)" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 8 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (2)" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 9 - additionalItems.json: "array of items with no additionalItems permitted" - "equal number of items present" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 10 - additionalItems.json: "array of items with no additionalItems permitted" - "additional items are not permitted" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "additional item not permitted", 165s # "instanceLocation": "/3", 165s # "keywordLocation": "/additionalItems" 165s # }, 165s # { 165s # "error": "subschema is not valid against all additional items", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalItems" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "additional item not permitted", 165s # "instanceLocation": "/3", 165s # "keywordLocation": "/additionalItems" 165s # }, 165s # { 165s # "error": "subschema is not valid against all additional items", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalItems" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 11 - additionalItems.json: "additionalItems as false without items" - "items defaults to empty schema so everything is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 12 - additionalItems.json: "additionalItems as false without items" - "ignores non-arrays" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 13 - additionalItems.json: "additionalItems are allowed by default" - "only the first item is validated" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 14 - additionalItems.json: "additionalItems does not look in applicators, valid case" - "items defined in allOf are not examined" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 15 - additionalItems.json: "additionalItems does not look in applicators, invalid case" - "items defined in allOf are not examined" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not boolean", 165s # "instanceLocation": "/1", 165s # "keywordLocation": "/additionalItems/type" 165s # }, 165s # { 165s # "error": "subschema is not valid against all additional items", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalItems" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not boolean", 165s # "instanceLocation": "/1", 165s # "keywordLocation": "/additionalItems/type" 165s # }, 165s # { 165s # "error": "subschema is not valid against all additional items", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalItems" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 16 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "valid items" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 17 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "wrong type of second item" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not integer", 165s # "instanceLocation": "/1", 165s # "keywordLocation": "/additionalItems/type" 165s # }, 165s # { 165s # "error": "subschema is not valid against all additional items", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalItems" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not integer", 165s # "instanceLocation": "/1", 165s # "keywordLocation": "/additionalItems/type" 165s # }, 165s # { 165s # "error": "subschema is not valid against all additional items", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalItems" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 18 - additionalItems.json: "additionalItems with heterogeneous array" - "heterogeneous invalid instance" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "additional item not permitted", 165s # "instanceLocation": "/1", 165s # "keywordLocation": "/additionalItems" 165s # }, 165s # { 165s # "error": "additional item not permitted", 165s # "instanceLocation": "/2", 165s # "keywordLocation": "/additionalItems" 165s # }, 165s # { 165s # "error": "subschema is not valid against all additional items", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalItems" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "additional item not permitted", 165s # "instanceLocation": "/1", 165s # "keywordLocation": "/additionalItems" 165s # }, 165s # { 165s # "error": "subschema is not valid against all additional items", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalItems" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 19 - additionalItems.json: "additionalItems with heterogeneous array" - "valid instance" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 20 - additionalItems.json: "additionalItems with null instance elements" - "allows null elements" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s # 165s ok 21 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "no additional properties is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 22 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "an additional property is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "additional property not permitted", 165s # "instanceLocation": "/quux", 165s # "keywordLocation": "/additionalProperties" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalProperties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "additional property not permitted", 165s # "instanceLocation": "/quux", 165s # "keywordLocation": "/additionalProperties" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalProperties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 23 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores arrays" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 24 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores strings" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 25 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores other non-objects" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 26 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "patternProperties are not additional properties" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 27 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "matching the pattern is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 28 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "not matching the pattern is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "additional property not permitted", 165s # "instanceLocation": "/élmény", 165s # "keywordLocation": "/additionalProperties" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalProperties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "additional property not permitted", 165s # "instanceLocation": "/élmény", 165s # "keywordLocation": "/additionalProperties" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalProperties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 29 - additionalProperties.json: "additionalProperties with schema" - "no additional properties is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 30 - additionalProperties.json: "additionalProperties with schema" - "an additional valid property is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 31 - additionalProperties.json: "additionalProperties with schema" - "an additional invalid property is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "got integer, not boolean", 165s # "instanceLocation": "/quux", 165s # "keywordLocation": "/additionalProperties/type" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalProperties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "got integer, not boolean", 165s # "instanceLocation": "/quux", 165s # "keywordLocation": "/additionalProperties/type" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalProperties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 32 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional valid property is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 33 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional invalid property is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "got integer, not boolean", 165s # "instanceLocation": "/foo", 165s # "keywordLocation": "/additionalProperties/type" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalProperties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "got integer, not boolean", 165s # "instanceLocation": "/foo", 165s # "keywordLocation": "/additionalProperties/type" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalProperties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 34 - additionalProperties.json: "additionalProperties are allowed by default" - "additional properties are allowed" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 35 - additionalProperties.json: "additionalProperties does not look in applicators" - "properties defined in allOf are not examined" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "got integer, not boolean", 165s # "instanceLocation": "/foo", 165s # "keywordLocation": "/additionalProperties/type" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalProperties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "got integer, not boolean", 165s # "instanceLocation": "/foo", 165s # "keywordLocation": "/additionalProperties/type" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalProperties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 36 - additionalProperties.json: "additionalProperties with null valued instance properties" - "allows null values" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 37 - additionalProperties.json: "additionalProperties with propertyNames" - "Valid against both keywords" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 38 - additionalProperties.json: "additionalProperties with propertyNames" - "Valid against propertyNames, but not additionalProperties" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not number", 165s # "instanceLocation": "/pear", 165s # "keywordLocation": "/additionalProperties/type" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalProperties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not number", 165s # "instanceLocation": "/pear", 165s # "keywordLocation": "/additionalProperties/type" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalProperties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 39 - additionalProperties.json: "dependentSchemas with additionalProperties" - "additionalProperties doesn't consider dependentSchemas" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "additional property not permitted", 165s # "instanceLocation": "/foo", 165s # "keywordLocation": "/additionalProperties" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalProperties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "additional property not permitted", 165s # "instanceLocation": "/foo", 165s # "keywordLocation": "/additionalProperties" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalProperties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 40 - additionalProperties.json: "dependentSchemas with additionalProperties" - "additionalProperties can't see bar" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "additional property not permitted", 165s # "instanceLocation": "/bar", 165s # "keywordLocation": "/additionalProperties" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalProperties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "additional property not permitted", 165s # "instanceLocation": "/bar", 165s # "keywordLocation": "/additionalProperties" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalProperties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 41 - additionalProperties.json: "dependentSchemas with additionalProperties" - "additionalProperties can't see bar even when foo2 is present" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "additional property not permitted", 165s # "instanceLocation": "/bar", 165s # "keywordLocation": "/additionalProperties" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalProperties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "additional property not permitted", 165s # "instanceLocation": "/bar", 165s # "keywordLocation": "/additionalProperties" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/additionalProperties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s # 165s ok 42 - allOf.json: "allOf" - "allOf" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 43 - allOf.json: "allOf" - "mismatch second" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: bar", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/required" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: bar", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/required" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 44 - allOf.json: "allOf" - "mismatch first" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: foo", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/1/required" 165s # }, 165s # { 165s # "error": "subschema 1 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: foo", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/1/required" 165s # }, 165s # { 165s # "error": "subschema 1 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 45 - allOf.json: "allOf" - "wrong type" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not integer", 165s # "instanceLocation": "/bar", 165s # "keywordLocation": "/allOf/0/properties/bar/type" 165s # }, 165s # { 165s # "error": "not all properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/properties" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not integer", 165s # "instanceLocation": "/bar", 165s # "keywordLocation": "/allOf/0/properties/bar/type" 165s # }, 165s # { 165s # "error": "not all properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/properties" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 46 - allOf.json: "allOf with base schema" - "valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 47 - allOf.json: "allOf with base schema" - "mismatch base schema" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: bar", 165s # "instanceLocation": "", 165s # "keywordLocation": "/required" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: bar", 165s # "instanceLocation": "", 165s # "keywordLocation": "/required" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 48 - allOf.json: "allOf with base schema" - "mismatch first allOf" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: foo", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/required" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: foo", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/required" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 49 - allOf.json: "allOf with base schema" - "mismatch second allOf" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: baz", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/1/required" 165s # }, 165s # { 165s # "error": "subschema 1 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: baz", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/1/required" 165s # }, 165s # { 165s # "error": "subschema 1 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 50 - allOf.json: "allOf with base schema" - "mismatch both" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: foo", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/required" 165s # }, 165s # { 165s # "error": "object is missing property: baz", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/1/required" 165s # }, 165s # { 165s # "error": "subschemas 0, 1 are not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: foo", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/required" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 51 - allOf.json: "allOf simple types" - "valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 52 - allOf.json: "allOf simple types" - "mismatch one" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value is greater than 30", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/maximum" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value is greater than 30", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/maximum" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 53 - allOf.json: "allOf with boolean schemas, all true" - "any value is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 54 - allOf.json: "allOf with boolean schemas, some false" - "any value is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/1" 165s # }, 165s # { 165s # "error": "subschema 1 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/1" 165s # }, 165s # { 165s # "error": "subschema 1 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 55 - allOf.json: "allOf with boolean schemas, all false" - "any value is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0" 165s # }, 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/1" 165s # }, 165s # { 165s # "error": "subschemas 0, 1 are not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 56 - allOf.json: "allOf with one empty schema" - "any data is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 57 - allOf.json: "allOf with two empty schemas" - "any data is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 58 - allOf.json: "allOf with the first empty schema" - "number is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 59 - allOf.json: "allOf with the first empty schema" - "string is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not number", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/1/type" 165s # }, 165s # { 165s # "error": "subschema 1 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not number", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/1/type" 165s # }, 165s # { 165s # "error": "subschema 1 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 60 - allOf.json: "allOf with the last empty schema" - "number is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 61 - allOf.json: "allOf with the last empty schema" - "string is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not number", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/type" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not number", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/type" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 62 - allOf.json: "nested allOf, to check validation semantics" - "null is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 63 - allOf.json: "nested allOf, to check validation semantics" - "anything non-null is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "got integer, not null", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/allOf/0/type" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/allOf" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "got integer, not null", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/allOf/0/type" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/allOf" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 64 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: false" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value is not a multiple of 2", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/multipleOf" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # }, 165s # { 165s # "error": "value is not a multiple of 3", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/0/multipleOf" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf" 165s # }, 165s # { 165s # "error": "value is not a multiple of 5", 165s # "instanceLocation": "", 165s # "keywordLocation": "/oneOf/0/multipleOf" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/oneOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value is not a multiple of 2", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/multipleOf" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 65 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: true" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value is not a multiple of 2", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/multipleOf" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # }, 165s # { 165s # "error": "value is not a multiple of 3", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/0/multipleOf" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value is not a multiple of 2", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/multipleOf" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 66 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: false" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value is not a multiple of 2", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/multipleOf" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # }, 165s # { 165s # "error": "value is not a multiple of 5", 165s # "instanceLocation": "", 165s # "keywordLocation": "/oneOf/0/multipleOf" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/oneOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value is not a multiple of 2", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/multipleOf" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 67 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: true" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value is not a multiple of 2", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/multipleOf" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value is not a multiple of 2", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf/0/multipleOf" 165s # }, 165s # { 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 68 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: false" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value is not a multiple of 3", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/0/multipleOf" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf" 165s # }, 165s # { 165s # "error": "value is not a multiple of 5", 165s # "instanceLocation": "", 165s # "keywordLocation": "/oneOf/0/multipleOf" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/oneOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value is not a multiple of 3", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/0/multipleOf" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 69 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: true" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value is not a multiple of 3", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/0/multipleOf" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value is not a multiple of 3", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/0/multipleOf" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 70 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: false" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value is not a multiple of 5", 165s # "instanceLocation": "", 165s # "keywordLocation": "/oneOf/0/multipleOf" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/oneOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value is not a multiple of 5", 165s # "instanceLocation": "", 165s # "keywordLocation": "/oneOf/0/multipleOf" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/oneOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 71 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: true" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s # 165s ok 72 - anchor.json: "Location-independent identifier" - "match" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 73 - anchor.json: "Location-independent identifier" - "mismatch" { 165s # result: { 165s # "errors": [ 165s # { 165s # "absoluteKeywordLocation": "#/$defs/A/type", 165s # "error": "got string, not integer", 165s # "instanceLocation": "", 165s # "keywordLocation": "/$ref/type" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "absoluteKeywordLocation": "#/$defs/A/type", 165s # "error": "got string, not integer", 165s # "instanceLocation": "", 165s # "keywordLocation": "/$ref/type" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 74 - anchor.json: "Location-independent identifier with absolute URI" - "match" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 75 - anchor.json: "Location-independent identifier with absolute URI" - "mismatch" { 165s # result: { 165s # "errors": [ 165s # { 165s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/bar#/type", 165s # "error": "got string, not integer", 165s # "instanceLocation": "", 165s # "keywordLocation": "/$ref/type" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/bar#/type", 165s # "error": "got string, not integer", 165s # "instanceLocation": "", 165s # "keywordLocation": "/$ref/type" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 76 - anchor.json: "Location-independent identifier with base URI change in subschema" - "match" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 77 - anchor.json: "Location-independent identifier with base URI change in subschema" - "mismatch" { 165s # result: { 165s # "errors": [ 165s # { 165s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested.json#/$defs/B/type", 165s # "error": "got string, not integer", 165s # "instanceLocation": "", 165s # "keywordLocation": "/$ref/type" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested.json#/$defs/B/type", 165s # "error": "got string, not integer", 165s # "instanceLocation": "", 165s # "keywordLocation": "/$ref/type" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 78 - anchor.json: "same $anchor with different base uri" - "$ref resolves to /$defs/A/allOf/1" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 79 - anchor.json: "same $anchor with different base uri" - "$ref does not resolve to /$defs/A/allOf/0" { 165s # result: { 165s # "errors": [ 165s # { 165s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/child1#/allOf/1/type", 165s # "error": "got integer, not string", 165s # "instanceLocation": "", 165s # "keywordLocation": "/$ref/type" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/child1#/allOf/1/type", 165s # "error": "got integer, not string", 165s # "instanceLocation": "", 165s # "keywordLocation": "/$ref/type" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s # 165s ok 80 - anyOf.json: "anyOf" - "first anyOf valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 81 - anyOf.json: "anyOf" - "second anyOf valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 82 - anyOf.json: "anyOf" - "both anyOf valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 83 - anyOf.json: "anyOf" - "neither anyOf valid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "got number, not integer", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/0/type" 165s # }, 165s # { 165s # "error": "value is less than 2", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/1/minimum" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "got number, not integer", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/0/type" 165s # }, 165s # { 165s # "error": "value is less than 2", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/1/minimum" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 84 - anyOf.json: "anyOf with base schema" - "mismatch base schema" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "got integer, not string", 165s # "instanceLocation": "", 165s # "keywordLocation": "/type" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "got integer, not string", 165s # "instanceLocation": "", 165s # "keywordLocation": "/type" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 85 - anyOf.json: "anyOf with base schema" - "one anyOf valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 86 - anyOf.json: "anyOf with base schema" - "both anyOf invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "length is greater than 2", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/0/maxLength" 165s # }, 165s # { 165s # "error": "length is less than 4", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/1/minLength" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "length is greater than 2", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/0/maxLength" 165s # }, 165s # { 165s # "error": "length is less than 4", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/1/minLength" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 87 - anyOf.json: "anyOf with boolean schemas, all true" - "any value is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 88 - anyOf.json: "anyOf with boolean schemas, some true" - "any value is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 89 - anyOf.json: "anyOf with boolean schemas, all false" - "any value is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/0" 165s # }, 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/1" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/0" 165s # }, 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/1" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 90 - anyOf.json: "anyOf complex types" - "first anyOf valid (complex)" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 91 - anyOf.json: "anyOf complex types" - "second anyOf valid (complex)" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 92 - anyOf.json: "anyOf complex types" - "both anyOf valid (complex)" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 93 - anyOf.json: "anyOf complex types" - "neither anyOf valid (complex)" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not integer", 165s # "instanceLocation": "/bar", 165s # "keywordLocation": "/anyOf/0/properties/bar/type" 165s # }, 165s # { 165s # "error": "not all properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/0/properties" 165s # }, 165s # { 165s # "error": "got integer, not string", 165s # "instanceLocation": "/foo", 165s # "keywordLocation": "/anyOf/1/properties/foo/type" 165s # }, 165s # { 165s # "error": "not all properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/1/properties" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not integer", 165s # "instanceLocation": "/bar", 165s # "keywordLocation": "/anyOf/0/properties/bar/type" 165s # }, 165s # { 165s # "error": "not all properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/0/properties" 165s # }, 165s # { 165s # "error": "got integer, not string", 165s # "instanceLocation": "/foo", 165s # "keywordLocation": "/anyOf/1/properties/foo/type" 165s # }, 165s # { 165s # "error": "not all properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/1/properties" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 94 - anyOf.json: "anyOf with one empty schema" - "string is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 95 - anyOf.json: "anyOf with one empty schema" - "number is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 96 - anyOf.json: "nested anyOf, to check validation semantics" - "null is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 97 - anyOf.json: "nested anyOf, to check validation semantics" - "anything non-null is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "got integer, not null", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/0/anyOf/0/type" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/0/anyOf" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "got integer, not null", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/0/anyOf/0/type" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf/0/anyOf" 165s # }, 165s # { 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/anyOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s # 165s ok 98 - boolean_schema.json: "boolean schema 'true'" - "number is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 99 - boolean_schema.json: "boolean schema 'true'" - "string is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 100 - boolean_schema.json: "boolean schema 'true'" - "boolean true is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 101 - boolean_schema.json: "boolean schema 'true'" - "boolean false is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 102 - boolean_schema.json: "boolean schema 'true'" - "null is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 103 - boolean_schema.json: "boolean schema 'true'" - "object is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 104 - boolean_schema.json: "boolean schema 'true'" - "empty object is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 105 - boolean_schema.json: "boolean schema 'true'" - "array is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 106 - boolean_schema.json: "boolean schema 'true'" - "empty array is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 107 - boolean_schema.json: "boolean schema 'false'" - "number is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 108 - boolean_schema.json: "boolean schema 'false'" - "string is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 109 - boolean_schema.json: "boolean schema 'false'" - "boolean true is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 110 - boolean_schema.json: "boolean schema 'false'" - "boolean false is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 111 - boolean_schema.json: "boolean schema 'false'" - "null is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 112 - boolean_schema.json: "boolean schema 'false'" - "object is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 113 - boolean_schema.json: "boolean schema 'false'" - "empty object is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 114 - boolean_schema.json: "boolean schema 'false'" - "array is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 115 - boolean_schema.json: "boolean schema 'false'" - "empty array is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s # 165s ok 116 - const.json: "const validation" - "same value is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 117 - const.json: "const validation" - "another value is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 118 - const.json: "const validation" - "another type is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 119 - const.json: "const with object" - "same object is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 120 - const.json: "const with object" - "same object with different property order is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 121 - const.json: "const with object" - "another object is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 122 - const.json: "const with object" - "another type is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 123 - const.json: "const with array" - "same array is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 124 - const.json: "const with array" - "another array item is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (at '/0': wrong type: integer vs object)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (at '/0': wrong type: integer vs object)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 125 - const.json: "const with array" - "array with additional items is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 126 - const.json: "const with null" - "null is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 127 - const.json: "const with null" - "not null is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 128 - const.json: "const with false does not match 0" - "false is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 129 - const.json: "const with false does not match 0" - "integer zero is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 130 - const.json: "const with false does not match 0" - "float zero is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 131 - const.json: "const with true does not match 1" - "true is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 132 - const.json: "const with true does not match 1" - "integer one is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 133 - const.json: "const with true does not match 1" - "float one is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 134 - const.json: "const with [false] does not match [0]" - "[false] is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 135 - const.json: "const with [false] does not match [0]" - "[0] is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 136 - const.json: "const with [false] does not match [0]" - "[0.0] is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 137 - const.json: "const with [true] does not match [1]" - "[true] is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 138 - const.json: "const with [true] does not match [1]" - "[1] is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 139 - const.json: "const with [true] does not match [1]" - "[1.0] is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 140 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": false} is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 141 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0} is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 142 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0.0} is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 143 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": true} is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 144 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1} is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 145 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1.0} is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 146 - const.json: "const with 0 does not match other zero-like types" - "false is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 147 - const.json: "const with 0 does not match other zero-like types" - "integer zero is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 148 - const.json: "const with 0 does not match other zero-like types" - "float zero is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 149 - const.json: "const with 0 does not match other zero-like types" - "empty object is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 150 - const.json: "const with 0 does not match other zero-like types" - "empty array is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 151 - const.json: "const with 0 does not match other zero-like types" - "empty string is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 152 - const.json: "const with 1 does not match true" - "true is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 153 - const.json: "const with 1 does not match true" - "integer one is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 154 - const.json: "const with 1 does not match true" - "float one is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 155 - const.json: "const with -2.0 matches integer and float types" - "integer -2 is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 156 - const.json: "const with -2.0 matches integer and float types" - "integer 2 is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 157 - const.json: "const with -2.0 matches integer and float types" - "float -2.0 is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 158 - const.json: "const with -2.0 matches integer and float types" - "float 2.0 is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 159 - const.json: "const with -2.0 matches integer and float types" - "float -2.00001 is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 160 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 161 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer minus one is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 162 - const.json: "float and integers are equal up to 64-bit representation limits" - "float is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 163 - const.json: "float and integers are equal up to 64-bit representation limits" - "float minus one is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 164 - const.json: "nul characters in strings" - "match string with nul" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 165 - const.json: "nul characters in strings" - "do not match string lacking nul" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/const" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s # 165s ok 166 - contains.json: "contains keyword validation" - "array with item matching schema (5) is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 167 - contains.json: "contains keyword validation" - "array with item matching schema (6) is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 168 - contains.json: "contains keyword validation" - "array with two items matching schema (5, 6) is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 169 - contains.json: "contains keyword validation" - "array without items matching schema is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value is less than 5", 165s # "instanceLocation": "/0", 165s # "keywordLocation": "/contains/minimum" 165s # }, 165s # { 165s # "error": "value is less than 5", 165s # "instanceLocation": "/1", 165s # "keywordLocation": "/contains/minimum" 165s # }, 165s # { 165s # "error": "value is less than 5", 165s # "instanceLocation": "/2", 165s # "keywordLocation": "/contains/minimum" 165s # }, 165s # { 165s # "error": "subschema is not valid against any item", 165s # "instanceLocation": "", 165s # "keywordLocation": "/contains" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value is less than 5", 165s # "instanceLocation": "/0", 165s # "keywordLocation": "/contains/minimum" 165s # }, 165s # { 165s # "error": "value is less than 5", 165s # "instanceLocation": "/1", 165s # "keywordLocation": "/contains/minimum" 165s # }, 165s # { 165s # "error": "value is less than 5", 165s # "instanceLocation": "/2", 165s # "keywordLocation": "/contains/minimum" 165s # }, 165s # { 165s # "error": "subschema is not valid against any item", 165s # "instanceLocation": "", 165s # "keywordLocation": "/contains" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 170 - contains.json: "contains keyword validation" - "empty array is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is not valid against any item", 165s # "instanceLocation": "", 165s # "keywordLocation": "/contains" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is not valid against any item", 165s # "instanceLocation": "", 165s # "keywordLocation": "/contains" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 171 - contains.json: "contains keyword validation" - "not array is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 172 - contains.json: "contains keyword with const keyword" - "array with item 5 is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 173 - contains.json: "contains keyword with const keyword" - "array with two items 5 is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 174 - contains.json: "contains keyword with const keyword" - "array without item 5 is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "/0", 165s # "keywordLocation": "/contains/const" 165s # }, 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "/1", 165s # "keywordLocation": "/contains/const" 165s # }, 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "/2", 165s # "keywordLocation": "/contains/const" 165s # }, 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "/3", 165s # "keywordLocation": "/contains/const" 165s # }, 165s # { 165s # "error": "subschema is not valid against any item", 165s # "instanceLocation": "", 165s # "keywordLocation": "/contains" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "/0", 165s # "keywordLocation": "/contains/const" 165s # }, 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "/1", 165s # "keywordLocation": "/contains/const" 165s # }, 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "/2", 165s # "keywordLocation": "/contains/const" 165s # }, 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "/3", 165s # "keywordLocation": "/contains/const" 165s # }, 165s # { 165s # "error": "subschema is not valid against any item", 165s # "instanceLocation": "", 165s # "keywordLocation": "/contains" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 175 - contains.json: "contains keyword with boolean schema true" - "any non-empty array is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 176 - contains.json: "contains keyword with boolean schema true" - "empty array is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is not valid against any item", 165s # "instanceLocation": "", 165s # "keywordLocation": "/contains" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is not valid against any item", 165s # "instanceLocation": "", 165s # "keywordLocation": "/contains" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 177 - contains.json: "contains keyword with boolean schema false" - "any non-empty array is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "/0", 165s # "keywordLocation": "/contains" 165s # }, 165s # { 165s # "error": "subschema is not valid against any item", 165s # "instanceLocation": "", 165s # "keywordLocation": "/contains" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "/0", 165s # "keywordLocation": "/contains" 165s # }, 165s # { 165s # "error": "subschema is not valid against any item", 165s # "instanceLocation": "", 165s # "keywordLocation": "/contains" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 178 - contains.json: "contains keyword with boolean schema false" - "empty array is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is not valid against any item", 165s # "instanceLocation": "", 165s # "keywordLocation": "/contains" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is not valid against any item", 165s # "instanceLocation": "", 165s # "keywordLocation": "/contains" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 179 - contains.json: "contains keyword with boolean schema false" - "non-arrays are valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 180 - contains.json: "items + contains" - "matches items, does not match contains" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value is not a multiple of 3", 165s # "instanceLocation": "/0", 165s # "keywordLocation": "/contains/multipleOf" 165s # }, 165s # { 165s # "error": "value is not a multiple of 3", 165s # "instanceLocation": "/1", 165s # "keywordLocation": "/contains/multipleOf" 165s # }, 165s # { 165s # "error": "value is not a multiple of 3", 165s # "instanceLocation": "/2", 165s # "keywordLocation": "/contains/multipleOf" 165s # }, 165s # { 165s # "error": "subschema is not valid against any item", 165s # "instanceLocation": "", 165s # "keywordLocation": "/contains" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value is not a multiple of 3", 165s # "instanceLocation": "/0", 165s # "keywordLocation": "/contains/multipleOf" 165s # }, 165s # { 165s # "error": "value is not a multiple of 3", 165s # "instanceLocation": "/1", 165s # "keywordLocation": "/contains/multipleOf" 165s # }, 165s # { 165s # "error": "value is not a multiple of 3", 165s # "instanceLocation": "/2", 165s # "keywordLocation": "/contains/multipleOf" 165s # }, 165s # { 165s # "error": "subschema is not valid against any item", 165s # "instanceLocation": "", 165s # "keywordLocation": "/contains" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 181 - contains.json: "items + contains" - "does not match items, matches contains" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value is not a multiple of 2", 165s # "instanceLocation": "/0", 165s # "keywordLocation": "/items/multipleOf" 165s # }, 165s # { 165s # "error": "value is not a multiple of 2", 165s # "instanceLocation": "/2", 165s # "keywordLocation": "/items/multipleOf" 165s # }, 165s # { 165s # "error": "subschema is not valid against all items", 165s # "instanceLocation": "", 165s # "keywordLocation": "/items" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value is not a multiple of 2", 165s # "instanceLocation": "/0", 165s # "keywordLocation": "/items/multipleOf" 165s # }, 165s # { 165s # "error": "subschema is not valid against all items", 165s # "instanceLocation": "", 165s # "keywordLocation": "/items" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 182 - contains.json: "items + contains" - "matches both items and contains" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 183 - contains.json: "items + contains" - "matches neither items nor contains" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value is not a multiple of 2", 165s # "instanceLocation": "/0", 165s # "keywordLocation": "/items/multipleOf" 165s # }, 165s # { 165s # "error": "value is not a multiple of 2", 165s # "instanceLocation": "/1", 165s # "keywordLocation": "/items/multipleOf" 165s # }, 165s # { 165s # "error": "subschema is not valid against all items", 165s # "instanceLocation": "", 165s # "keywordLocation": "/items" 165s # }, 165s # { 165s # "error": "value is not a multiple of 3", 165s # "instanceLocation": "/0", 165s # "keywordLocation": "/contains/multipleOf" 165s # }, 165s # { 165s # "error": "value is not a multiple of 3", 165s # "instanceLocation": "/1", 165s # "keywordLocation": "/contains/multipleOf" 165s # }, 165s # { 165s # "error": "subschema is not valid against any item", 165s # "instanceLocation": "", 165s # "keywordLocation": "/contains" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value is not a multiple of 2", 165s # "instanceLocation": "/0", 165s # "keywordLocation": "/items/multipleOf" 165s # }, 165s # { 165s # "error": "subschema is not valid against all items", 165s # "instanceLocation": "", 165s # "keywordLocation": "/items" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 184 - contains.json: "contains with false if subschema" - "any non-empty array is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 185 - contains.json: "contains with false if subschema" - "empty array is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is not valid against any item", 165s # "instanceLocation": "", 165s # "keywordLocation": "/contains" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is not valid against any item", 165s # "instanceLocation": "", 165s # "keywordLocation": "/contains" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 186 - contains.json: "contains with null instance elements" - "allows null items" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s # 165s ok 187 - content.json: "validation of string-encoded content based on media type" - "a valid JSON document" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 188 - content.json: "validation of string-encoded content based on media type" - "an invalid JSON document; validates true" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 189 - content.json: "validation of string-encoded content based on media type" - "ignores non-strings" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 190 - content.json: "validation of binary string-encoding" - "a valid base64 string" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 191 - content.json: "validation of binary string-encoding" - "an invalid base64 string (% is not a valid character); validates true" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 192 - content.json: "validation of binary string-encoding" - "ignores non-strings" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 193 - content.json: "validation of binary-encoded media type documents" - "a valid base64-encoded JSON document" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 194 - content.json: "validation of binary-encoded media type documents" - "a validly-encoded invalid JSON document; validates true" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 195 - content.json: "validation of binary-encoded media type documents" - "an invalid base64 string that is valid JSON; validates true" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 196 - content.json: "validation of binary-encoded media type documents" - "ignores non-strings" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 197 - content.json: "validation of binary-encoded media type documents with schema" - "a valid base64-encoded JSON document" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 198 - content.json: "validation of binary-encoded media type documents with schema" - "another valid base64-encoded JSON document" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 199 - content.json: "validation of binary-encoded media type documents with schema" - "an invalid base64-encoded JSON document; validates true" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 200 - content.json: "validation of binary-encoded media type documents with schema" - "an empty object as a base64-encoded JSON document; validates true" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 201 - content.json: "validation of binary-encoded media type documents with schema" - "an empty array as a base64-encoded JSON document" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 202 - content.json: "validation of binary-encoded media type documents with schema" - "a validly-encoded invalid JSON document; validates true" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 203 - content.json: "validation of binary-encoded media type documents with schema" - "an invalid base64 string that is valid JSON; validates true" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 204 - content.json: "validation of binary-encoded media type documents with schema" - "ignores non-strings" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s # 165s ok 205 - default.json: "invalid type for default" - "valid when property is specified" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 206 - default.json: "invalid type for default" - "still valid when the invalid default is used" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 207 - default.json: "invalid string value for default" - "valid when property is specified" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 208 - default.json: "invalid string value for default" - "still valid when the invalid default is used" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 209 - default.json: "the default keyword does not do anything if the property is missing" - "an explicit property value is checked against maximum (passing)" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 210 - default.json: "the default keyword does not do anything if the property is missing" - "an explicit property value is checked against maximum (failing)" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value is greater than 3", 165s # "instanceLocation": "/alpha", 165s # "keywordLocation": "/properties/alpha/maximum" 165s # }, 165s # { 165s # "error": "not all properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/properties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value is greater than 3", 165s # "instanceLocation": "/alpha", 165s # "keywordLocation": "/properties/alpha/maximum" 165s # }, 165s # { 165s # "error": "not all properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/properties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 211 - default.json: "the default keyword does not do anything if the property is missing" - "missing properties are not filled in with the default" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s # 165s ok 212 - defs.json: "validate definition against metaschema" - "valid definition schema" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 213 - defs.json: "validate definition against metaschema" - "invalid definition schema" { 165s # result: { 165s # "errors": [ 165s # { 165s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/$defs/simpleTypes/enum", 165s # "error": "value does not match", 165s # "instanceLocation": "/$defs/foo/type", 165s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties/type/anyOf/0/$ref/enum" 165s # }, 165s # { 165s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties/type/anyOf/1/type", 165s # "error": "got integer, not array", 165s # "instanceLocation": "/$defs/foo/type", 165s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties/type/anyOf/1/type" 165s # }, 165s # { 165s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties/type/anyOf", 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "/$defs/foo/type", 165s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties/type/anyOf" 165s # }, 165s # { 165s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties", 165s # "error": "not all properties are valid", 165s # "instanceLocation": "/$defs/foo", 165s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties" 165s # }, 165s # { 165s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/schema#/allOf", 165s # "error": "subschema 2 is not valid", 165s # "instanceLocation": "/$defs/foo", 165s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf" 165s # }, 165s # { 165s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/core#/properties/$defs/additionalProperties", 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "/$defs", 165s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties" 165s # }, 165s # { 165s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/core#/properties", 165s # "error": "not all properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/$ref/allOf/0/$ref/properties" 165s # }, 165s # { 165s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/schema#/allOf", 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/$ref/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/$defs/simpleTypes/enum", 165s # "error": "value does not match", 165s # "instanceLocation": "/$defs/foo/type", 165s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties/type/anyOf/0/$ref/enum" 165s # }, 165s # { 165s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties/type/anyOf/1/type", 165s # "error": "got integer, not array", 165s # "instanceLocation": "/$defs/foo/type", 165s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties/type/anyOf/1/type" 165s # }, 165s # { 165s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties/type/anyOf", 165s # "error": "no subschemas are valid", 165s # "instanceLocation": "/$defs/foo/type", 165s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties/type/anyOf" 165s # }, 165s # { 165s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties", 165s # "error": "not all properties are valid", 165s # "instanceLocation": "/$defs/foo", 165s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf/2/$ref/properties" 165s # }, 165s # { 165s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/schema#/allOf", 165s # "error": "subschema 2 is not valid", 165s # "instanceLocation": "/$defs/foo", 165s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$recursiveRef/allOf" 165s # }, 165s # { 165s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/core#/properties/$defs/additionalProperties", 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "/$defs", 165s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties" 165s # }, 165s # { 165s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/core#/properties", 165s # "error": "not all properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/$ref/allOf/0/$ref/properties" 165s # }, 165s # { 165s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/schema#/allOf", 165s # "error": "subschema 0 is not valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/$ref/allOf" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s # 165s ok 214 - dependentRequired.json: "single dependency" - "neither" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 215 - dependentRequired.json: "single dependency" - "nondependant" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 216 - dependentRequired.json: "single dependency" - "with dependency" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 217 - dependentRequired.json: "single dependency" - "missing dependency" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: foo", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired/bar" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: foo", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired/bar" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 218 - dependentRequired.json: "single dependency" - "ignores arrays" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 219 - dependentRequired.json: "single dependency" - "ignores strings" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 220 - dependentRequired.json: "single dependency" - "ignores other non-objects" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 221 - dependentRequired.json: "empty dependents" - "empty object" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 222 - dependentRequired.json: "empty dependents" - "object with one property" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 223 - dependentRequired.json: "empty dependents" - "non-object is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 224 - dependentRequired.json: "multiple dependents required" - "neither" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 225 - dependentRequired.json: "multiple dependents required" - "nondependants" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 226 - dependentRequired.json: "multiple dependents required" - "with dependencies" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 227 - dependentRequired.json: "multiple dependents required" - "missing dependency" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: bar", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired/quux" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: bar", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired/quux" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 228 - dependentRequired.json: "multiple dependents required" - "missing other dependency" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: foo", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired/quux" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: foo", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired/quux" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 229 - dependentRequired.json: "multiple dependents required" - "missing both dependencies" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing properties: foo, bar", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired/quux" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing properties: foo, bar", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired/quux" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 230 - dependentRequired.json: "dependencies with escaped characters" - "CRLF" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 231 - dependentRequired.json: "dependencies with escaped characters" - "quoted quotes" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 232 - dependentRequired.json: "dependencies with escaped characters" - "CRLF missing dependent" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: foo\rbar", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired/foo\nbar" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: foo\rbar", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired/foo\nbar" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 233 - dependentRequired.json: "dependencies with escaped characters" - "quoted quotes missing dependent" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: foo'bar", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired/foo\"bar" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: foo'bar", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired/foo\"bar" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentRequired" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s # 165s ok 234 - dependentSchemas.json: "single dependency" - "valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 235 - dependentSchemas.json: "single dependency" - "no dependency" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 236 - dependentSchemas.json: "single dependency" - "wrong type" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not integer", 165s # "instanceLocation": "/foo", 165s # "keywordLocation": "/dependentSchemas/bar/properties/foo/type" 165s # }, 165s # { 165s # "error": "not all properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas/bar/properties" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not integer", 165s # "instanceLocation": "/foo", 165s # "keywordLocation": "/dependentSchemas/bar/properties/foo/type" 165s # }, 165s # { 165s # "error": "not all properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas/bar/properties" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 237 - dependentSchemas.json: "single dependency" - "wrong type other" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not integer", 165s # "instanceLocation": "/bar", 165s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 165s # }, 165s # { 165s # "error": "not all properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas/bar/properties" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not integer", 165s # "instanceLocation": "/bar", 165s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 165s # }, 165s # { 165s # "error": "not all properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas/bar/properties" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 238 - dependentSchemas.json: "single dependency" - "wrong type both" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not integer", 165s # "instanceLocation": "/bar", 165s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 165s # }, 165s # { 165s # "error": "got string, not integer", 165s # "instanceLocation": "/foo", 165s # "keywordLocation": "/dependentSchemas/bar/properties/foo/type" 165s # }, 165s # { 165s # "error": "not all properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas/bar/properties" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "got string, not integer", 165s # "instanceLocation": "/bar", 165s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 165s # }, 165s # { 165s # "error": "not all properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas/bar/properties" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 239 - dependentSchemas.json: "single dependency" - "ignores arrays" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 240 - dependentSchemas.json: "single dependency" - "ignores strings" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 241 - dependentSchemas.json: "single dependency" - "ignores other non-objects" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 242 - dependentSchemas.json: "boolean subschemas" - "object with property having schema true is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 243 - dependentSchemas.json: "boolean subschemas" - "object with property having schema false is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas/bar" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas/bar" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 244 - dependentSchemas.json: "boolean subschemas" - "object with both properties is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas/bar" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "subschema is false", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas/bar" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 245 - dependentSchemas.json: "boolean subschemas" - "empty object is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 246 - dependentSchemas.json: "dependencies with escaped characters" - "quoted tab" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 247 - dependentSchemas.json: "dependencies with escaped characters" - "quoted quote" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: foo\"bar", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas/foo'bar/required" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: foo\"bar", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas/foo'bar/required" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 248 - dependentSchemas.json: "dependencies with escaped characters" - "quoted tab invalid under dependent schema" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "object has fewer than 4 properties", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas/foo\tbar/minProperties" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "object has fewer than 4 properties", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas/foo\tbar/minProperties" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 249 - dependentSchemas.json: "dependencies with escaped characters" - "quoted quote invalid under dependent schema" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: foo\"bar", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas/foo'bar/required" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: foo\"bar", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas/foo'bar/required" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 250 - dependentSchemas.json: "dependent subschema incompatible with root" - "matches root" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "additional property not permitted", 165s # "instanceLocation": "/foo", 165s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "additional property not permitted", 165s # "instanceLocation": "/foo", 165s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 251 - dependentSchemas.json: "dependent subschema incompatible with root" - "matches dependency" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 252 - dependentSchemas.json: "dependent subschema incompatible with root" - "matches both" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "additional property not permitted", 165s # "instanceLocation": "/foo", 165s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "additional property not permitted", 165s # "instanceLocation": "/foo", 165s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 165s # }, 165s # { 165s # "error": "not all additional properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 165s # }, 165s # { 165s # "error": "not all dependencies are satisfied", 165s # "instanceLocation": "", 165s # "keywordLocation": "/dependentSchemas" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 253 - dependentSchemas.json: "dependent subschema incompatible with root" - "no dependency" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s # 165s ok 254 - enum.json: "simple enum validation" - "one of the enum is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 255 - enum.json: "simple enum validation" - "something else is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 256 - enum.json: "heterogeneous enum validation" - "one of the enum is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 257 - enum.json: "heterogeneous enum validation" - "something else is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 258 - enum.json: "heterogeneous enum validation" - "objects are deep compared" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (from enum 0 at '': wrong type: object vs integer; from enum 1 at '': wrong type: object vs string; from enum 2 at '': wrong type: object vs array; from enum 3 at '': wrong type: object vs boolean; from enum 4 at '/foo': wrong type: boolean vs integer)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (from enum 0 at '': wrong type: object vs integer; from enum 1 at '': wrong type: object vs string; from enum 2 at '': wrong type: object vs array; from enum 3 at '': wrong type: object vs boolean; from enum 4 at '/foo': wrong type: boolean vs integer)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 259 - enum.json: "heterogeneous enum validation" - "valid object matches" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 260 - enum.json: "heterogeneous enum validation" - "extra properties in object is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 261 - enum.json: "heterogeneous enum-with-null validation" - "null is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 262 - enum.json: "heterogeneous enum-with-null validation" - "number is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 263 - enum.json: "heterogeneous enum-with-null validation" - "something else is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 264 - enum.json: "enums in properties" - "both properties are valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 265 - enum.json: "enums in properties" - "wrong foo value" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "/foo", 165s # "keywordLocation": "/properties/foo/enum" 165s # }, 165s # { 165s # "error": "not all properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/properties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "/foo", 165s # "keywordLocation": "/properties/foo/enum" 165s # }, 165s # { 165s # "error": "not all properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/properties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 266 - enum.json: "enums in properties" - "wrong bar value" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "/bar", 165s # "keywordLocation": "/properties/bar/enum" 165s # }, 165s # { 165s # "error": "not all properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/properties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "/bar", 165s # "keywordLocation": "/properties/bar/enum" 165s # }, 165s # { 165s # "error": "not all properties are valid", 165s # "instanceLocation": "", 165s # "keywordLocation": "/properties" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 267 - enum.json: "enums in properties" - "missing optional property is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 268 - enum.json: "enums in properties" - "missing required property is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: bar", 165s # "instanceLocation": "", 165s # "keywordLocation": "/required" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: bar", 165s # "instanceLocation": "", 165s # "keywordLocation": "/required" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 269 - enum.json: "enums in properties" - "missing all properties is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: bar", 165s # "instanceLocation": "", 165s # "keywordLocation": "/required" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "object is missing property: bar", 165s # "instanceLocation": "", 165s # "keywordLocation": "/required" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 270 - enum.json: "enum with escaped characters" - "member 1 is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 271 - enum.json: "enum with escaped characters" - "member 2 is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 272 - enum.json: "enum with escaped characters" - "another string is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 273 - enum.json: "enum with false does not match 0" - "false is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 274 - enum.json: "enum with false does not match 0" - "integer zero is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 275 - enum.json: "enum with false does not match 0" - "float zero is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 276 - enum.json: "enum with [false] does not match [0]" - "[false] is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 277 - enum.json: "enum with [false] does not match [0]" - "[0] is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 278 - enum.json: "enum with [false] does not match [0]" - "[0.0] is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 279 - enum.json: "enum with true does not match 1" - "true is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 280 - enum.json: "enum with true does not match 1" - "integer one is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 281 - enum.json: "enum with true does not match 1" - "float one is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 282 - enum.json: "enum with [true] does not match [1]" - "[true] is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 283 - enum.json: "enum with [true] does not match [1]" - "[1] is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 284 - enum.json: "enum with [true] does not match [1]" - "[1.0] is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 285 - enum.json: "enum with 0 does not match false" - "false is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 286 - enum.json: "enum with 0 does not match false" - "integer zero is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 287 - enum.json: "enum with 0 does not match false" - "float zero is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 288 - enum.json: "enum with [0] does not match [false]" - "[false] is invalid" { 165s # result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s # short-circuited result: { 165s # "errors": [ 165s # { 165s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 165s # "instanceLocation": "", 165s # "keywordLocation": "/enum" 165s # } 165s # ], 165s # "valid": false 165s # } 165s ok 1 - test passes: data is valid: false 165s 1..1 165s } 165s ok 289 - enum.json: "enum with [0] does not match [false]" - "[0] is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 165s ok 1 - test passes: data is valid: true 165s 1..1 165s } 165s ok 290 - enum.json: "enum with [0] does not match [false]" - "[0.0] is valid" { 165s # result: { 165s # "valid": true 165s # } 165s # short-circuited result: { 165s # "valid": true 165s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 291 - enum.json: "enum with 1 does not match true" - "true is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/enum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/enum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 292 - enum.json: "enum with 1 does not match true" - "integer one is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 293 - enum.json: "enum with 1 does not match true" - "float one is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 294 - enum.json: "enum with [1] does not match [true]" - "[true] is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 166s # "instanceLocation": "", 166s # "keywordLocation": "/enum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 166s # "instanceLocation": "", 166s # "keywordLocation": "/enum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 295 - enum.json: "enum with [1] does not match [true]" - "[1] is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 296 - enum.json: "enum with [1] does not match [true]" - "[1.0] is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 297 - enum.json: "nul characters in strings" - "match string with nul" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 298 - enum.json: "nul characters in strings" - "do not match string lacking nul" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/enum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/enum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 299 - exclusiveMaximum.json: "exclusiveMaximum validation" - "below the exclusiveMaximum is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 300 - exclusiveMaximum.json: "exclusiveMaximum validation" - "boundary point is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value is greater than or equal to 3", 166s # "instanceLocation": "", 166s # "keywordLocation": "/exclusiveMaximum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value is greater than or equal to 3", 166s # "instanceLocation": "", 166s # "keywordLocation": "/exclusiveMaximum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 301 - exclusiveMaximum.json: "exclusiveMaximum validation" - "above the exclusiveMaximum is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value is greater than or equal to 3", 166s # "instanceLocation": "", 166s # "keywordLocation": "/exclusiveMaximum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value is greater than or equal to 3", 166s # "instanceLocation": "", 166s # "keywordLocation": "/exclusiveMaximum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 302 - exclusiveMaximum.json: "exclusiveMaximum validation" - "ignores non-numbers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s # 166s ok 303 - exclusiveMinimum.json: "exclusiveMinimum validation" - "above the exclusiveMinimum is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 304 - exclusiveMinimum.json: "exclusiveMinimum validation" - "boundary point is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value is less than or equal to 1.1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/exclusiveMinimum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value is less than or equal to 1.1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/exclusiveMinimum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 305 - exclusiveMinimum.json: "exclusiveMinimum validation" - "below the exclusiveMinimum is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value is less than or equal to 1.1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/exclusiveMinimum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value is less than or equal to 1.1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/exclusiveMinimum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 306 - exclusiveMinimum.json: "exclusiveMinimum validation" - "ignores non-numbers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s # 166s ok 307 - format.json: "email format" - "all string formats ignore integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 308 - format.json: "email format" - "all string formats ignore floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 309 - format.json: "email format" - "all string formats ignore objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 310 - format.json: "email format" - "all string formats ignore arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 311 - format.json: "email format" - "all string formats ignore booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 312 - format.json: "email format" - "all string formats ignore nulls" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 313 - format.json: "idn-email format" - "all string formats ignore integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 314 - format.json: "idn-email format" - "all string formats ignore floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 315 - format.json: "idn-email format" - "all string formats ignore objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 316 - format.json: "idn-email format" - "all string formats ignore arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 317 - format.json: "idn-email format" - "all string formats ignore booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 318 - format.json: "idn-email format" - "all string formats ignore nulls" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 319 - format.json: "regex format" - "all string formats ignore integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 320 - format.json: "regex format" - "all string formats ignore floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 321 - format.json: "regex format" - "all string formats ignore objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 322 - format.json: "regex format" - "all string formats ignore arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 323 - format.json: "regex format" - "all string formats ignore booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 324 - format.json: "regex format" - "all string formats ignore nulls" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 325 - format.json: "ipv4 format" - "all string formats ignore integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 326 - format.json: "ipv4 format" - "all string formats ignore floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 327 - format.json: "ipv4 format" - "all string formats ignore objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 328 - format.json: "ipv4 format" - "all string formats ignore arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 329 - format.json: "ipv4 format" - "all string formats ignore booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 330 - format.json: "ipv4 format" - "all string formats ignore nulls" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 331 - format.json: "ipv6 format" - "all string formats ignore integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 332 - format.json: "ipv6 format" - "all string formats ignore floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 333 - format.json: "ipv6 format" - "all string formats ignore objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 334 - format.json: "ipv6 format" - "all string formats ignore arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 335 - format.json: "ipv6 format" - "all string formats ignore booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 336 - format.json: "ipv6 format" - "all string formats ignore nulls" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 337 - format.json: "idn-hostname format" - "all string formats ignore integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 338 - format.json: "idn-hostname format" - "all string formats ignore floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 339 - format.json: "idn-hostname format" - "all string formats ignore objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 340 - format.json: "idn-hostname format" - "all string formats ignore arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 341 - format.json: "idn-hostname format" - "all string formats ignore booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 342 - format.json: "idn-hostname format" - "all string formats ignore nulls" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 343 - format.json: "hostname format" - "all string formats ignore integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 344 - format.json: "hostname format" - "all string formats ignore floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 345 - format.json: "hostname format" - "all string formats ignore objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 346 - format.json: "hostname format" - "all string formats ignore arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 347 - format.json: "hostname format" - "all string formats ignore booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 348 - format.json: "hostname format" - "all string formats ignore nulls" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 349 - format.json: "date format" - "all string formats ignore integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 350 - format.json: "date format" - "all string formats ignore floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 351 - format.json: "date format" - "all string formats ignore objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 352 - format.json: "date format" - "all string formats ignore arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 353 - format.json: "date format" - "all string formats ignore booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 354 - format.json: "date format" - "all string formats ignore nulls" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 355 - format.json: "date-time format" - "all string formats ignore integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 356 - format.json: "date-time format" - "all string formats ignore floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 357 - format.json: "date-time format" - "all string formats ignore objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 358 - format.json: "date-time format" - "all string formats ignore arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 359 - format.json: "date-time format" - "all string formats ignore booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 360 - format.json: "date-time format" - "all string formats ignore nulls" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 361 - format.json: "time format" - "all string formats ignore integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 362 - format.json: "time format" - "all string formats ignore floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 363 - format.json: "time format" - "all string formats ignore objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 364 - format.json: "time format" - "all string formats ignore arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 365 - format.json: "time format" - "all string formats ignore booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 366 - format.json: "time format" - "all string formats ignore nulls" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 367 - format.json: "json-pointer format" - "all string formats ignore integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 368 - format.json: "json-pointer format" - "all string formats ignore floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 369 - format.json: "json-pointer format" - "all string formats ignore objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 370 - format.json: "json-pointer format" - "all string formats ignore arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 371 - format.json: "json-pointer format" - "all string formats ignore booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 372 - format.json: "json-pointer format" - "all string formats ignore nulls" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 373 - format.json: "relative-json-pointer format" - "all string formats ignore integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 374 - format.json: "relative-json-pointer format" - "all string formats ignore floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 375 - format.json: "relative-json-pointer format" - "all string formats ignore objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 376 - format.json: "relative-json-pointer format" - "all string formats ignore arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 377 - format.json: "relative-json-pointer format" - "all string formats ignore booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 378 - format.json: "relative-json-pointer format" - "all string formats ignore nulls" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 379 - format.json: "iri format" - "all string formats ignore integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 380 - format.json: "iri format" - "all string formats ignore floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 381 - format.json: "iri format" - "all string formats ignore objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 382 - format.json: "iri format" - "all string formats ignore arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 383 - format.json: "iri format" - "all string formats ignore booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 384 - format.json: "iri format" - "all string formats ignore nulls" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 385 - format.json: "iri-reference format" - "all string formats ignore integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 386 - format.json: "iri-reference format" - "all string formats ignore floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 387 - format.json: "iri-reference format" - "all string formats ignore objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 388 - format.json: "iri-reference format" - "all string formats ignore arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 389 - format.json: "iri-reference format" - "all string formats ignore booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 390 - format.json: "iri-reference format" - "all string formats ignore nulls" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 391 - format.json: "uri format" - "all string formats ignore integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 392 - format.json: "uri format" - "all string formats ignore floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 393 - format.json: "uri format" - "all string formats ignore objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 394 - format.json: "uri format" - "all string formats ignore arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 395 - format.json: "uri format" - "all string formats ignore booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 396 - format.json: "uri format" - "all string formats ignore nulls" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 397 - format.json: "uri-reference format" - "all string formats ignore integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 398 - format.json: "uri-reference format" - "all string formats ignore floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 399 - format.json: "uri-reference format" - "all string formats ignore objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 400 - format.json: "uri-reference format" - "all string formats ignore arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 401 - format.json: "uri-reference format" - "all string formats ignore booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 402 - format.json: "uri-reference format" - "all string formats ignore nulls" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 403 - format.json: "uri-template format" - "all string formats ignore integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 404 - format.json: "uri-template format" - "all string formats ignore floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 405 - format.json: "uri-template format" - "all string formats ignore objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 406 - format.json: "uri-template format" - "all string formats ignore arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 407 - format.json: "uri-template format" - "all string formats ignore booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 408 - format.json: "uri-template format" - "all string formats ignore nulls" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 409 - format.json: "uuid format" - "all string formats ignore integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 410 - format.json: "uuid format" - "all string formats ignore floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 411 - format.json: "uuid format" - "all string formats ignore objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 412 - format.json: "uuid format" - "all string formats ignore arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 413 - format.json: "uuid format" - "all string formats ignore booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 414 - format.json: "uuid format" - "all string formats ignore nulls" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 415 - format.json: "duration format" - "all string formats ignore integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 416 - format.json: "duration format" - "all string formats ignore floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 417 - format.json: "duration format" - "all string formats ignore objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 418 - format.json: "duration format" - "all string formats ignore arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 419 - format.json: "duration format" - "all string formats ignore booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 420 - format.json: "duration format" - "all string formats ignore nulls" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s # 166s ok 421 - if-then-else.json: "ignore if without then or else" - "valid when valid against lone if" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 422 - if-then-else.json: "ignore if without then or else" - "valid when invalid against lone if" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 423 - if-then-else.json: "ignore then without if" - "valid when valid against lone then" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 424 - if-then-else.json: "ignore then without if" - "valid when invalid against lone then" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 425 - if-then-else.json: "ignore else without if" - "valid when valid against lone else" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 426 - if-then-else.json: "ignore else without if" - "valid when invalid against lone else" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 427 - if-then-else.json: "if and then without else" - "valid through then" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 428 - if-then-else.json: "if and then without else" - "invalid through then" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value is less than -10", 166s # "instanceLocation": "", 166s # "keywordLocation": "/then/minimum" 166s # }, 166s # { 166s # "error": "subschema is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/then" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value is less than -10", 166s # "instanceLocation": "", 166s # "keywordLocation": "/then/minimum" 166s # }, 166s # { 166s # "error": "subschema is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/then" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 429 - if-then-else.json: "if and then without else" - "valid when if test fails" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 430 - if-then-else.json: "if and else without then" - "valid when if test passes" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 431 - if-then-else.json: "if and else without then" - "valid through else" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 432 - if-then-else.json: "if and else without then" - "invalid through else" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value is not a multiple of 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else/multipleOf" 166s # }, 166s # { 166s # "error": "subschema is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value is not a multiple of 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else/multipleOf" 166s # }, 166s # { 166s # "error": "subschema is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 433 - if-then-else.json: "validate against correct branch, then vs else" - "valid through then" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 434 - if-then-else.json: "validate against correct branch, then vs else" - "invalid through then" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value is less than -10", 166s # "instanceLocation": "", 166s # "keywordLocation": "/then/minimum" 166s # }, 166s # { 166s # "error": "subschema is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/then" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value is less than -10", 166s # "instanceLocation": "", 166s # "keywordLocation": "/then/minimum" 166s # }, 166s # { 166s # "error": "subschema is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/then" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 435 - if-then-else.json: "validate against correct branch, then vs else" - "valid through else" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 436 - if-then-else.json: "validate against correct branch, then vs else" - "invalid through else" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value is not a multiple of 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else/multipleOf" 166s # }, 166s # { 166s # "error": "subschema is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value is not a multiple of 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else/multipleOf" 166s # }, 166s # { 166s # "error": "subschema is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 437 - if-then-else.json: "non-interference across combined schemas" - "valid, but would have been invalid through then" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 438 - if-then-else.json: "non-interference across combined schemas" - "valid, but would have been invalid through else" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 439 - if-then-else.json: "if with boolean schema true" - "boolean schema true in if always chooses the then path (valid)" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 440 - if-then-else.json: "if with boolean schema true" - "boolean schema true in if always chooses the then path (invalid)" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/then/const" 166s # }, 166s # { 166s # "error": "subschema is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/then" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/then/const" 166s # }, 166s # { 166s # "error": "subschema is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/then" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 441 - if-then-else.json: "if with boolean schema false" - "boolean schema false in if always chooses the else path (invalid)" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else/const" 166s # }, 166s # { 166s # "error": "subschema is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else/const" 166s # }, 166s # { 166s # "error": "subschema is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 442 - if-then-else.json: "if with boolean schema false" - "boolean schema false in if always chooses the else path (valid)" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 443 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "yes redirects to then and passes" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 444 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "other redirects to else and passes" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 445 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "no redirects to then and fails" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/then/const" 166s # }, 166s # { 166s # "error": "subschema is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/then" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/then/const" 166s # }, 166s # { 166s # "error": "subschema is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/then" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 446 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "invalid redirects to else and fails" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else/const" 166s # }, 166s # { 166s # "error": "subschema is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else/const" 166s # }, 166s # { 166s # "error": "subschema is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 447 - infinite-loop-detection.json: "evaluating the same schema location against the same data location twice is not a sign of an infinite loop" - "passing case" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 448 - infinite-loop-detection.json: "evaluating the same schema location against the same data location twice is not a sign of an infinite loop" - "failing case" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/int/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/0/properties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/int/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/allOf/1/additionalProperties/$ref/type" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/1/additionalProperties" 166s # }, 166s # { 166s # "error": "subschemas 0, 1 are not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/int/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/0/properties" 166s # }, 166s # { 166s # "error": "subschema 0 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 449 - items.json: "a schema given for items" - "valid items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 450 - items.json: "a schema given for items" - "wrong type of items" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not integer", 166s # "instanceLocation": "/1", 166s # "keywordLocation": "/items/type" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not integer", 166s # "instanceLocation": "/1", 166s # "keywordLocation": "/items/type" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 451 - items.json: "a schema given for items" - "ignores non-arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 452 - items.json: "a schema given for items" - "JavaScript pseudo-array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 453 - items.json: "an array of schemas for items" - "correct types" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 454 - items.json: "an array of schemas for items" - "wrong types" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not integer", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/items/0/type" 166s # }, 166s # { 166s # "error": "got integer, not string", 166s # "instanceLocation": "/1", 166s # "keywordLocation": "/items/1/type" 166s # }, 166s # { 166s # "error": "not all items are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not integer", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/items/0/type" 166s # }, 166s # { 166s # "error": "not all items are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 455 - items.json: "an array of schemas for items" - "incomplete array of items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 456 - items.json: "an array of schemas for items" - "array with additional items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 457 - items.json: "an array of schemas for items" - "empty array" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 458 - items.json: "an array of schemas for items" - "JavaScript pseudo-array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 459 - items.json: "items with boolean schema (true)" - "any array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 460 - items.json: "items with boolean schema (true)" - "empty array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 461 - items.json: "items with boolean schema (false)" - "any non-empty array is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "item not permitted", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/items" 166s # }, 166s # { 166s # "error": "item not permitted", 166s # "instanceLocation": "/1", 166s # "keywordLocation": "/items" 166s # }, 166s # { 166s # "error": "item not permitted", 166s # "instanceLocation": "/2", 166s # "keywordLocation": "/items" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "item not permitted", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/items" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 462 - items.json: "items with boolean schema (false)" - "empty array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 463 - items.json: "items with boolean schemas" - "array with one item is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 464 - items.json: "items with boolean schemas" - "array with two items is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "item not permitted", 166s # "instanceLocation": "/1", 166s # "keywordLocation": "/items/1" 166s # }, 166s # { 166s # "error": "not all items are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "item not permitted", 166s # "instanceLocation": "/1", 166s # "keywordLocation": "/items/1" 166s # }, 166s # { 166s # "error": "not all items are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 465 - items.json: "items with boolean schemas" - "empty array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 466 - items.json: "items and subitems" - "valid items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 467 - items.json: "items and subitems" - "too many items" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/3", 166s # "keywordLocation": "/additionalItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/3", 166s # "keywordLocation": "/additionalItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 468 - items.json: "items and subitems" - "too many sub-items" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/item/additionalItems", 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/0/2", 166s # "keywordLocation": "/items/0/$ref/additionalItems" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/item/additionalItems", 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/items/0/$ref/additionalItems" 166s # }, 166s # { 166s # "error": "not all items are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/item/additionalItems", 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/0/2", 166s # "keywordLocation": "/items/0/$ref/additionalItems" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/item/additionalItems", 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/items/0/$ref/additionalItems" 166s # }, 166s # { 166s # "error": "not all items are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 469 - items.json: "items and subitems" - "wrong item" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/item/type", 166s # "error": "got object, not array", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/items/0/$ref/type" 166s # }, 166s # { 166s # "error": "not all items are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/item/type", 166s # "error": "got object, not array", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/items/0/$ref/type" 166s # }, 166s # { 166s # "error": "not all items are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 470 - items.json: "items and subitems" - "wrong sub-item" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/sub-item/required", 166s # "error": "object is missing property: foo", 166s # "instanceLocation": "/0/0", 166s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/item/items", 166s # "error": "not all items are valid", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/items/0/$ref/items" 166s # }, 166s # { 166s # "error": "not all items are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/sub-item/required", 166s # "error": "object is missing property: foo", 166s # "instanceLocation": "/0/0", 166s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/item/items", 166s # "error": "not all items are valid", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/items/0/$ref/items" 166s # }, 166s # { 166s # "error": "not all items are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 471 - items.json: "items and subitems" - "fewer items is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 472 - items.json: "nested items" - "valid nested array" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 473 - items.json: "nested items" - "nested array with invalid type" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not number", 166s # "instanceLocation": "/0/0/0/0", 166s # "keywordLocation": "/items/items/items/items/type" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/0/0/0", 166s # "keywordLocation": "/items/items/items/items" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/0/0", 166s # "keywordLocation": "/items/items/items" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/items/items" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not number", 166s # "instanceLocation": "/0/0/0/0", 166s # "keywordLocation": "/items/items/items/items/type" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/0/0/0", 166s # "keywordLocation": "/items/items/items/items" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/0/0", 166s # "keywordLocation": "/items/items/items" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/items/items" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 474 - items.json: "nested items" - "not deep enough" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not array", 166s # "instanceLocation": "/0/0/0", 166s # "keywordLocation": "/items/items/items/type" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/0/0", 166s # "keywordLocation": "/items/items/items" 166s # }, 166s # { 166s # "error": "got integer, not array", 166s # "instanceLocation": "/0/1/0", 166s # "keywordLocation": "/items/items/items/type" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/0/1", 166s # "keywordLocation": "/items/items/items" 166s # }, 166s # { 166s # "error": "got integer, not array", 166s # "instanceLocation": "/0/2/0", 166s # "keywordLocation": "/items/items/items/type" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/0/2", 166s # "keywordLocation": "/items/items/items" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/items/items" 166s # }, 166s # { 166s # "error": "got integer, not array", 166s # "instanceLocation": "/1/0/0", 166s # "keywordLocation": "/items/items/items/type" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/1/0", 166s # "keywordLocation": "/items/items/items" 166s # }, 166s # { 166s # "error": "got integer, not array", 166s # "instanceLocation": "/1/1/0", 166s # "keywordLocation": "/items/items/items/type" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/1/1", 166s # "keywordLocation": "/items/items/items" 166s # }, 166s # { 166s # "error": "got integer, not array", 166s # "instanceLocation": "/1/2/0", 166s # "keywordLocation": "/items/items/items/type" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/1/2", 166s # "keywordLocation": "/items/items/items" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/1", 166s # "keywordLocation": "/items/items" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not array", 166s # "instanceLocation": "/0/0/0", 166s # "keywordLocation": "/items/items/items/type" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/0/0", 166s # "keywordLocation": "/items/items/items" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/items/items" 166s # }, 166s # { 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 475 - items.json: "single-form items with null instance elements" - "allows null elements" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 476 - items.json: "array-form items with null instance elements" - "allows null elements" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s # 166s ok 477 - maxContains.json: "maxContains without contains is ignored" - "one item valid against lone maxContains" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 478 - maxContains.json: "maxContains without contains is ignored" - "two items still valid against lone maxContains" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 479 - maxContains.json: "maxContains with contains" - "empty data" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is not valid against any item", 166s # "instanceLocation": "", 166s # "keywordLocation": "/contains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is not valid against any item", 166s # "instanceLocation": "", 166s # "keywordLocation": "/contains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 480 - maxContains.json: "maxContains with contains" - "all elements match, valid maxContains" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 481 - maxContains.json: "maxContains with contains" - "all elements match, invalid maxContains" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "array contains more than 1 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "array contains more than 1 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 482 - maxContains.json: "maxContains with contains" - "some elements match, valid maxContains" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 483 - maxContains.json: "maxContains with contains" - "some elements match, invalid maxContains" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "array contains more than 1 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "array contains more than 1 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 484 - maxContains.json: "maxContains with contains, value with a decimal" - "one element matches, valid maxContains" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 485 - maxContains.json: "maxContains with contains, value with a decimal" - "too many elements match, invalid maxContains" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "array contains more than 1 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "array contains more than 1 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 486 - maxContains.json: "minContains < maxContains" - "actual < minContains < maxContains" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is not valid against any item", 166s # "instanceLocation": "", 166s # "keywordLocation": "/contains" 166s # }, 166s # { 166s # "error": "array contains fewer than 1 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is not valid against any item", 166s # "instanceLocation": "", 166s # "keywordLocation": "/contains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 487 - maxContains.json: "minContains < maxContains" - "minContains < actual < maxContains" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 488 - maxContains.json: "minContains < maxContains" - "minContains < maxContains < actual" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "array contains more than 3 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "array contains more than 3 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 489 - maxItems.json: "maxItems validation" - "shorter is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 490 - maxItems.json: "maxItems validation" - "exact length is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 491 - maxItems.json: "maxItems validation" - "too long is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "array has more than 2 items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "array has more than 2 items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 492 - maxItems.json: "maxItems validation" - "ignores non-arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 493 - maxItems.json: "maxItems validation with a decimal" - "shorter is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 494 - maxItems.json: "maxItems validation with a decimal" - "too long is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "array has more than 2 items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "array has more than 2 items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 495 - maxLength.json: "maxLength validation" - "shorter is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 496 - maxLength.json: "maxLength validation" - "exact length is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 497 - maxLength.json: "maxLength validation" - "too long is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "length is greater than 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxLength" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "length is greater than 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxLength" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 498 - maxLength.json: "maxLength validation" - "ignores non-strings" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 499 - maxLength.json: "maxLength validation" - "two graphemes is long enough" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 500 - maxLength.json: "maxLength validation with a decimal" - "shorter is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 501 - maxLength.json: "maxLength validation with a decimal" - "too long is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "length is greater than 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxLength" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "length is greater than 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxLength" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 502 - maxProperties.json: "maxProperties validation" - "shorter is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 503 - maxProperties.json: "maxProperties validation" - "exact length is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 504 - maxProperties.json: "maxProperties validation" - "too long is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "object has more than 2 properties", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "object has more than 2 properties", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 505 - maxProperties.json: "maxProperties validation" - "ignores arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 506 - maxProperties.json: "maxProperties validation" - "ignores strings" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 507 - maxProperties.json: "maxProperties validation" - "ignores other non-objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 508 - maxProperties.json: "maxProperties validation with a decimal" - "shorter is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 509 - maxProperties.json: "maxProperties validation with a decimal" - "too long is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "object has more than 2 properties", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "object has more than 2 properties", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 510 - maxProperties.json: "maxProperties = 0 means the object is empty" - "no properties is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 511 - maxProperties.json: "maxProperties = 0 means the object is empty" - "one property is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "object has more than 0 property", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "object has more than 0 property", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 512 - maximum.json: "maximum validation" - "below the maximum is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 513 - maximum.json: "maximum validation" - "boundary point is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 514 - maximum.json: "maximum validation" - "above the maximum is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value is greater than 3", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maximum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value is greater than 3", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maximum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 515 - maximum.json: "maximum validation" - "ignores non-numbers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 516 - maximum.json: "maximum validation with unsigned integer" - "below the maximum is invalid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 517 - maximum.json: "maximum validation with unsigned integer" - "boundary point integer is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 518 - maximum.json: "maximum validation with unsigned integer" - "boundary point float is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 519 - maximum.json: "maximum validation with unsigned integer" - "above the maximum is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value is greater than 300", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maximum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value is greater than 300", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maximum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 520 - minContains.json: "minContains without contains is ignored" - "one item valid against lone minContains" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 521 - minContains.json: "minContains without contains is ignored" - "zero items still valid against lone minContains" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 522 - minContains.json: "minContains=1 with contains" - "empty data" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is not valid against any item", 166s # "instanceLocation": "", 166s # "keywordLocation": "/contains" 166s # }, 166s # { 166s # "error": "array contains fewer than 1 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is not valid against any item", 166s # "instanceLocation": "", 166s # "keywordLocation": "/contains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 523 - minContains.json: "minContains=1 with contains" - "no elements match" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value does not match", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/contains/const" 166s # }, 166s # { 166s # "error": "subschema is not valid against any item", 166s # "instanceLocation": "", 166s # "keywordLocation": "/contains" 166s # }, 166s # { 166s # "error": "array contains fewer than 1 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value does not match", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/contains/const" 166s # }, 166s # { 166s # "error": "subschema is not valid against any item", 166s # "instanceLocation": "", 166s # "keywordLocation": "/contains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 524 - minContains.json: "minContains=1 with contains" - "single element matches, valid minContains" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 525 - minContains.json: "minContains=1 with contains" - "some elements match, valid minContains" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 526 - minContains.json: "minContains=1 with contains" - "all elements match, valid minContains" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 527 - minContains.json: "minContains=2 with contains" - "empty data" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is not valid against any item", 166s # "instanceLocation": "", 166s # "keywordLocation": "/contains" 166s # }, 166s # { 166s # "error": "array contains fewer than 2 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is not valid against any item", 166s # "instanceLocation": "", 166s # "keywordLocation": "/contains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 528 - minContains.json: "minContains=2 with contains" - "all elements match, invalid minContains" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "array contains fewer than 2 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "array contains fewer than 2 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 529 - minContains.json: "minContains=2 with contains" - "some elements match, invalid minContains" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "array contains fewer than 2 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "array contains fewer than 2 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 530 - minContains.json: "minContains=2 with contains" - "all elements match, valid minContains (exactly as needed)" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 531 - minContains.json: "minContains=2 with contains" - "all elements match, valid minContains (more than needed)" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 532 - minContains.json: "minContains=2 with contains" - "some elements match, valid minContains" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 533 - minContains.json: "minContains=2 with contains with a decimal value" - "one element matches, invalid minContains" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "array contains fewer than 2 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "array contains fewer than 2 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 534 - minContains.json: "minContains=2 with contains with a decimal value" - "both elements match, valid minContains" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 535 - minContains.json: "maxContains = minContains" - "empty data" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is not valid against any item", 166s # "instanceLocation": "", 166s # "keywordLocation": "/contains" 166s # }, 166s # { 166s # "error": "array contains fewer than 2 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is not valid against any item", 166s # "instanceLocation": "", 166s # "keywordLocation": "/contains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 536 - minContains.json: "maxContains = minContains" - "all elements match, invalid minContains" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "array contains fewer than 2 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "array contains fewer than 2 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 537 - minContains.json: "maxContains = minContains" - "all elements match, invalid maxContains" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "array contains more than 2 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "array contains more than 2 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 538 - minContains.json: "maxContains = minContains" - "all elements match, valid maxContains and minContains" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 539 - minContains.json: "maxContains < minContains" - "empty data" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is not valid against any item", 166s # "instanceLocation": "", 166s # "keywordLocation": "/contains" 166s # }, 166s # { 166s # "error": "array contains fewer than 3 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is not valid against any item", 166s # "instanceLocation": "", 166s # "keywordLocation": "/contains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 540 - minContains.json: "maxContains < minContains" - "invalid minContains" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "array contains fewer than 3 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "array contains fewer than 3 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 541 - minContains.json: "maxContains < minContains" - "invalid maxContains" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "array contains more than 1 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "array contains more than 1 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 542 - minContains.json: "maxContains < minContains" - "invalid maxContains and minContains" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "array contains more than 1 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxContains" 166s # }, 166s # { 166s # "error": "array contains fewer than 3 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "array contains more than 1 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 543 - minContains.json: "minContains = 0 with no maxContains" - "empty data" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 544 - minContains.json: "minContains = 0 with no maxContains" - "minContains = 0 makes contains always pass" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 545 - minContains.json: "minContains = 0 with maxContains" - "empty data" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 546 - minContains.json: "minContains = 0 with maxContains" - "not more than maxContains" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 547 - minContains.json: "minContains = 0 with maxContains" - "too many" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "array contains more than 1 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "array contains more than 1 matching items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/maxContains" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 548 - minItems.json: "minItems validation" - "longer is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 549 - minItems.json: "minItems validation" - "exact length is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 550 - minItems.json: "minItems validation" - "too short is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "array has fewer than 1 item", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "array has fewer than 1 item", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 551 - minItems.json: "minItems validation" - "ignores non-arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 552 - minItems.json: "minItems validation with a decimal" - "longer is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 553 - minItems.json: "minItems validation with a decimal" - "too short is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "array has fewer than 1 item", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "array has fewer than 1 item", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 554 - minLength.json: "minLength validation" - "longer is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 555 - minLength.json: "minLength validation" - "exact length is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 556 - minLength.json: "minLength validation" - "too short is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "length is less than 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minLength" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "length is less than 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minLength" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 557 - minLength.json: "minLength validation" - "ignores non-strings" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 558 - minLength.json: "minLength validation" - "one grapheme is not long enough" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "length is less than 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minLength" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "length is less than 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minLength" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 559 - minLength.json: "minLength validation with a decimal" - "longer is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 560 - minLength.json: "minLength validation with a decimal" - "too short is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "length is less than 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minLength" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "length is less than 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minLength" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 561 - minProperties.json: "minProperties validation" - "longer is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 562 - minProperties.json: "minProperties validation" - "exact length is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 563 - minProperties.json: "minProperties validation" - "too short is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "object has fewer than 1 property", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "object has fewer than 1 property", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 564 - minProperties.json: "minProperties validation" - "ignores arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 565 - minProperties.json: "minProperties validation" - "ignores strings" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 566 - minProperties.json: "minProperties validation" - "ignores other non-objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 567 - minProperties.json: "minProperties validation with a decimal" - "longer is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 568 - minProperties.json: "minProperties validation with a decimal" - "too short is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "object has fewer than 1 property", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "object has fewer than 1 property", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 569 - minimum.json: "minimum validation" - "above the minimum is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 570 - minimum.json: "minimum validation" - "boundary point is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 571 - minimum.json: "minimum validation" - "below the minimum is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value is less than 1.1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minimum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value is less than 1.1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minimum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 572 - minimum.json: "minimum validation" - "ignores non-numbers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 573 - minimum.json: "minimum validation with signed integer" - "negative above the minimum is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 574 - minimum.json: "minimum validation with signed integer" - "positive above the minimum is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 575 - minimum.json: "minimum validation with signed integer" - "boundary point is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 576 - minimum.json: "minimum validation with signed integer" - "boundary point with float is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 577 - minimum.json: "minimum validation with signed integer" - "float below the minimum is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value is less than -2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minimum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value is less than -2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minimum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 578 - minimum.json: "minimum validation with signed integer" - "int below the minimum is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value is less than -2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minimum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value is less than -2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minimum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 579 - minimum.json: "minimum validation with signed integer" - "ignores non-numbers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s # 166s ok 580 - multipleOf.json: "by int" - "int by int" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 581 - multipleOf.json: "by int" - "int by int fail" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value is not a multiple of 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/multipleOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value is not a multiple of 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/multipleOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 582 - multipleOf.json: "by int" - "ignores non-numbers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 583 - multipleOf.json: "by number" - "zero is multiple of anything" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 584 - multipleOf.json: "by number" - "4.5 is multiple of 1.5" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 585 - multipleOf.json: "by number" - "35 is not multiple of 1.5" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value is not a multiple of 1.5", 166s # "instanceLocation": "", 166s # "keywordLocation": "/multipleOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value is not a multiple of 1.5", 166s # "instanceLocation": "", 166s # "keywordLocation": "/multipleOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 586 - multipleOf.json: "by small number" - "0.0075 is multiple of 0.0001" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 587 - multipleOf.json: "by small number" - "0.00751 is not multiple of 0.0001" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value is not a multiple of 0.0001", 166s # "instanceLocation": "", 166s # "keywordLocation": "/multipleOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value is not a multiple of 0.0001", 166s # "instanceLocation": "", 166s # "keywordLocation": "/multipleOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 588 - multipleOf.json: "float division = inf" - "always invalid, but naive implementations may raise an overflow error" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value is not a multiple of 0.123456789", 166s # "instanceLocation": "", 166s # "keywordLocation": "/multipleOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value is not a multiple of 0.123456789", 166s # "instanceLocation": "", 166s # "keywordLocation": "/multipleOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 589 - multipleOf.json: "small multiple of large integer" - "any integer is a multiple of 1e-8" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s # 166s ok 590 - not.json: "not" - "allowed" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 591 - not.json: "not" - "disallowed" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 592 - not.json: "not multiple types" - "valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 593 - not.json: "not multiple types" - "mismatch" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 594 - not.json: "not multiple types" - "other mismatch" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 595 - not.json: "not more complex schema" - "match" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 596 - not.json: "not more complex schema" - "other match" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 597 - not.json: "not more complex schema" - "mismatch" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 598 - not.json: "forbidden property" - "property present" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/not" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/not" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 599 - not.json: "forbidden property" - "property absent" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 600 - not.json: "forbid everything with empty schema" - "number is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 601 - not.json: "forbid everything with empty schema" - "string is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 602 - not.json: "forbid everything with empty schema" - "boolean true is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 603 - not.json: "forbid everything with empty schema" - "boolean false is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 604 - not.json: "forbid everything with empty schema" - "null is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 605 - not.json: "forbid everything with empty schema" - "object is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 606 - not.json: "forbid everything with empty schema" - "empty object is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 607 - not.json: "forbid everything with empty schema" - "array is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 608 - not.json: "forbid everything with empty schema" - "empty array is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 609 - not.json: "forbid everything with boolean schema true" - "number is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 610 - not.json: "forbid everything with boolean schema true" - "string is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 611 - not.json: "forbid everything with boolean schema true" - "boolean true is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 612 - not.json: "forbid everything with boolean schema true" - "boolean false is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 613 - not.json: "forbid everything with boolean schema true" - "null is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 614 - not.json: "forbid everything with boolean schema true" - "object is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 615 - not.json: "forbid everything with boolean schema true" - "empty object is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 616 - not.json: "forbid everything with boolean schema true" - "array is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 617 - not.json: "forbid everything with boolean schema true" - "empty array is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 618 - not.json: "allow everything with boolean schema false" - "number is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 619 - not.json: "allow everything with boolean schema false" - "string is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 620 - not.json: "allow everything with boolean schema false" - "boolean true is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 621 - not.json: "allow everything with boolean schema false" - "boolean false is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 622 - not.json: "allow everything with boolean schema false" - "null is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 623 - not.json: "allow everything with boolean schema false" - "object is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 624 - not.json: "allow everything with boolean schema false" - "empty object is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 625 - not.json: "allow everything with boolean schema false" - "array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 626 - not.json: "allow everything with boolean schema false" - "empty array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 627 - not.json: "double negation" - "any value is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 628 - not.json: "collect annotations inside a 'not', even if collection is disabled" - "unevaluated property" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 629 - not.json: "collect annotations inside a 'not', even if collection is disabled" - "annotations are still collected inside a 'not'" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/not" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 630 - oneOf.json: "oneOf" - "first oneOf valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 631 - oneOf.json: "oneOf" - "second oneOf valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 632 - oneOf.json: "oneOf" - "both oneOf valid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 633 - oneOf.json: "oneOf" - "neither oneOf valid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got number, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/type" 166s # }, 166s # { 166s # "error": "value is less than 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/minimum" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got number, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/type" 166s # }, 166s # { 166s # "error": "value is less than 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/minimum" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 634 - oneOf.json: "oneOf with base schema" - "mismatch base schema" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # }, 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 635 - oneOf.json: "oneOf with base schema" - "one oneOf valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 636 - oneOf.json: "oneOf with base schema" - "both oneOf valid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 637 - oneOf.json: "oneOf with boolean schemas, all true" - "any value is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1, 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 638 - oneOf.json: "oneOf with boolean schemas, one true" - "any value is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 639 - oneOf.json: "oneOf with boolean schemas, more than one true" - "any value is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 640 - oneOf.json: "oneOf with boolean schemas, all false" - "any value is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is false", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0" 166s # }, 166s # { 166s # "error": "subschema is false", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1" 166s # }, 166s # { 166s # "error": "subschema is false", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/2" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is false", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0" 166s # }, 166s # { 166s # "error": "subschema is false", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1" 166s # }, 166s # { 166s # "error": "subschema is false", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/2" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 641 - oneOf.json: "oneOf complex types" - "first oneOf valid (complex)" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 642 - oneOf.json: "oneOf complex types" - "second oneOf valid (complex)" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 643 - oneOf.json: "oneOf complex types" - "both oneOf valid (complex)" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 644 - oneOf.json: "oneOf complex types" - "neither oneOf valid (complex)" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not integer", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/oneOf/0/properties/bar/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/properties" 166s # }, 166s # { 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/oneOf/1/properties/foo/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/properties" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not integer", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/oneOf/0/properties/bar/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/properties" 166s # }, 166s # { 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/oneOf/1/properties/foo/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/properties" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 645 - oneOf.json: "oneOf with empty schema" - "one valid - valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 646 - oneOf.json: "oneOf with empty schema" - "both valid - invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 647 - oneOf.json: "oneOf with required" - "both invalid - invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "object is missing property: foo", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/required" 166s # }, 166s # { 166s # "error": "object is missing properties: foo, baz", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "object is missing property: foo", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/required" 166s # }, 166s # { 166s # "error": "object is missing properties: foo, baz", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 648 - oneOf.json: "oneOf with required" - "first valid - valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 649 - oneOf.json: "oneOf with required" - "second valid - valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 650 - oneOf.json: "oneOf with required" - "both valid - invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 651 - oneOf.json: "oneOf with missing optional property" - "first oneOf valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 652 - oneOf.json: "oneOf with missing optional property" - "second oneOf valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 653 - oneOf.json: "oneOf with missing optional property" - "both oneOf valid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 654 - oneOf.json: "oneOf with missing optional property" - "neither oneOf valid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "object is missing property: bar", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/required" 166s # }, 166s # { 166s # "error": "object is missing property: foo", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "object is missing property: bar", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/required" 166s # }, 166s # { 166s # "error": "object is missing property: foo", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 655 - oneOf.json: "nested oneOf, to check validation semantics" - "null is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 656 - oneOf.json: "nested oneOf, to check validation semantics" - "anything non-null is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/oneOf/0/type" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/oneOf" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/oneOf/0/type" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/oneOf" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 657 - pattern.json: "pattern validation" - "a matching pattern is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 658 - pattern.json: "pattern validation" - "a non-matching pattern is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 659 - pattern.json: "pattern validation" - "ignores booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 660 - pattern.json: "pattern validation" - "ignores integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 661 - pattern.json: "pattern validation" - "ignores floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 662 - pattern.json: "pattern validation" - "ignores objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 663 - pattern.json: "pattern validation" - "ignores arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 664 - pattern.json: "pattern validation" - "ignores null" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 665 - pattern.json: "pattern is not anchored" - "matches a substring" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s # 166s ok 666 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single valid match is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 667 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple valid matches is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 668 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single invalid match is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not integer", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/patternProperties/f.*o/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not integer", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/patternProperties/f.*o/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 669 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple invalid matches is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not integer", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/patternProperties/f.*o/type" 166s # }, 166s # { 166s # "error": "got string, not integer", 166s # "instanceLocation": "/foooooo", 166s # "keywordLocation": "/patternProperties/f.*o/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not integer", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/patternProperties/f.*o/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 670 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 671 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores strings" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 672 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores other non-objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 673 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a single valid match is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 674 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a simultaneous match is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 675 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "multiple matches is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 676 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to one is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not integer", 166s # "instanceLocation": "/a", 166s # "keywordLocation": "/patternProperties/a*/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not integer", 166s # "instanceLocation": "/a", 166s # "keywordLocation": "/patternProperties/a*/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 677 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to the other is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value is greater than 20", 166s # "instanceLocation": "/aaaa", 166s # "keywordLocation": "/patternProperties/aaa*/maximum" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value is greater than 20", 166s # "instanceLocation": "/aaaa", 166s # "keywordLocation": "/patternProperties/aaa*/maximum" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 678 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to both is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not integer", 166s # "instanceLocation": "/aaa", 166s # "keywordLocation": "/patternProperties/a*/type" 166s # }, 166s # { 166s # "error": "value is greater than 20", 166s # "instanceLocation": "/aaaa", 166s # "keywordLocation": "/patternProperties/aaa*/maximum" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not integer", 166s # "instanceLocation": "/aaa", 166s # "keywordLocation": "/patternProperties/a*/type" 166s # }, 166s # { 166s # "error": "value is greater than 20", 166s # "instanceLocation": "/aaaa", 166s # "keywordLocation": "/patternProperties/aaa*/maximum" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 679 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "non recognized members are ignored" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 680 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "recognized members are accounted for" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got null, not boolean", 166s # "instanceLocation": "/a31b", 166s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got null, not boolean", 166s # "instanceLocation": "/a31b", 166s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 681 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 682 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive, 2" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not string", 166s # "instanceLocation": "/a_X_3", 166s # "keywordLocation": "/patternProperties/X_/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not string", 166s # "instanceLocation": "/a_X_3", 166s # "keywordLocation": "/patternProperties/X_/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 683 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema true is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 684 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema false is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/patternProperties/b.*" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/patternProperties/b.*" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 685 - patternProperties.json: "patternProperties with boolean schemas" - "object with both properties is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/patternProperties/b.*" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/patternProperties/b.*" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 686 - patternProperties.json: "patternProperties with boolean schemas" - "object with a property matching both true and false is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "property not permitted", 166s # "instanceLocation": "/foobar", 166s # "keywordLocation": "/patternProperties/b.*" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "property not permitted", 166s # "instanceLocation": "/foobar", 166s # "keywordLocation": "/patternProperties/b.*" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 687 - patternProperties.json: "patternProperties with boolean schemas" - "empty object is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 688 - patternProperties.json: "patternProperties with null valued instance properties" - "allows null values" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s # 166s ok 689 - properties.json: "object properties validation" - "both properties present and valid is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 690 - properties.json: "object properties validation" - "one property invalid is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got object, not string", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/properties/bar/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got object, not string", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/properties/bar/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 691 - properties.json: "object properties validation" - "both properties invalid is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got object, not string", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/properties/bar/type" 166s # }, 166s # { 166s # "error": "got array, not integer", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got object, not string", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/properties/bar/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 692 - properties.json: "object properties validation" - "doesn't invalidate other properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 693 - properties.json: "object properties validation" - "ignores arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 694 - properties.json: "object properties validation" - "ignores other non-objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 695 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property validates property" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 696 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property invalidates property" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "array has more than 3 items", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/maxItems" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "array has more than 3 items", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/maxItems" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 697 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates property" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "array has fewer than 2 items", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/patternProperties/f.o/minItems" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "array has fewer than 2 items", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/patternProperties/f.o/minItems" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 698 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty validates nonproperty" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 699 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates nonproperty" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "array has fewer than 2 items", 166s # "instanceLocation": "/fxo", 166s # "keywordLocation": "/patternProperties/f.o/minItems" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "array has fewer than 2 items", 166s # "instanceLocation": "/fxo", 166s # "keywordLocation": "/patternProperties/f.o/minItems" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 700 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty ignores property" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 701 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty validates others" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 702 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty invalidates others" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not integer", 166s # "instanceLocation": "/quux", 166s # "keywordLocation": "/additionalProperties/type" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not integer", 166s # "instanceLocation": "/quux", 166s # "keywordLocation": "/additionalProperties/type" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 703 - properties.json: "properties with boolean schema" - "no property present is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 704 - properties.json: "properties with boolean schema" - "only 'true' property present is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 705 - properties.json: "properties with boolean schema" - "only 'false' property present is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/properties/bar" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/properties/bar" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 706 - properties.json: "properties with boolean schema" - "both properties present is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/properties/bar" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/properties/bar" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 707 - properties.json: "properties with escaped characters" - "object with all numbers is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 708 - properties.json: "properties with escaped characters" - "object with strings is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not number", 166s # "instanceLocation": "/foo\tbar", 166s # "keywordLocation": "/properties/foo\tbar/type" 166s # }, 166s # { 166s # "error": "got string, not number", 166s # "instanceLocation": "/foo\nbar", 166s # "keywordLocation": "/properties/foo\nbar/type" 166s # }, 166s # { 166s # "error": "got string, not number", 166s # "instanceLocation": "/foo\fbar", 166s # "keywordLocation": "/properties/foo\fbar/type" 166s # }, 166s # { 166s # "error": "got string, not number", 166s # "instanceLocation": "/foo\rbar", 166s # "keywordLocation": "/properties/foo\rbar/type" 166s # }, 166s # { 166s # "error": "got string, not number", 166s # "instanceLocation": "/foo\"bar", 166s # "keywordLocation": "/properties/foo\"bar/type" 166s # }, 166s # { 166s # "error": "got string, not number", 166s # "instanceLocation": "/foo\\bar", 166s # "keywordLocation": "/properties/foo\\bar/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not number", 166s # "instanceLocation": "/foo\tbar", 166s # "keywordLocation": "/properties/foo\tbar/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 709 - properties.json: "properties with null valued instance properties" - "allows null values" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 710 - properties.json: "properties whose names are Javascript object property names" - "ignores arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 711 - properties.json: "properties whose names are Javascript object property names" - "ignores other non-objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 712 - properties.json: "properties whose names are Javascript object property names" - "none of the properties mentioned" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 713 - properties.json: "properties whose names are Javascript object property names" - "__proto__ not valid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not number", 166s # "instanceLocation": "/__proto__", 166s # "keywordLocation": "/properties/__proto__/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not number", 166s # "instanceLocation": "/__proto__", 166s # "keywordLocation": "/properties/__proto__/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 714 - properties.json: "properties whose names are Javascript object property names" - "toString not valid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not string", 166s # "instanceLocation": "/toString/length", 166s # "keywordLocation": "/properties/toString/properties/length/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "/toString", 166s # "keywordLocation": "/properties/toString/properties" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not string", 166s # "instanceLocation": "/toString/length", 166s # "keywordLocation": "/properties/toString/properties/length/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "/toString", 166s # "keywordLocation": "/properties/toString/properties" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 715 - properties.json: "properties whose names are Javascript object property names" - "constructor not valid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got object, not number", 166s # "instanceLocation": "/constructor", 166s # "keywordLocation": "/properties/constructor/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got object, not number", 166s # "instanceLocation": "/constructor", 166s # "keywordLocation": "/properties/constructor/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 716 - properties.json: "properties whose names are Javascript object property names" - "all present and valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s # 166s ok 717 - propertyNames.json: "propertyNames validation" - "all property names valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 718 - propertyNames.json: "propertyNames validation" - "some property names invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "length is greater than 3", 166s # "instanceLocation": "/foobar", 166s # "keywordLocation": "/propertyNames/maxLength" 166s # }, 166s # { 166s # "error": "not all property names are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/propertyNames" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "length is greater than 3", 166s # "instanceLocation": "/foobar", 166s # "keywordLocation": "/propertyNames/maxLength" 166s # }, 166s # { 166s # "error": "not all property names are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/propertyNames" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 719 - propertyNames.json: "propertyNames validation" - "object without properties is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 720 - propertyNames.json: "propertyNames validation" - "ignores arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 721 - propertyNames.json: "propertyNames validation" - "ignores strings" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 722 - propertyNames.json: "propertyNames validation" - "ignores other non-objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 723 - propertyNames.json: "propertyNames validation with pattern" - "matching property names valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 724 - propertyNames.json: "propertyNames validation with pattern" - "non-matching property name is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "/aaA", 166s # "keywordLocation": "/propertyNames/pattern" 166s # }, 166s # { 166s # "error": "not all property names are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/propertyNames" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "/aaA", 166s # "keywordLocation": "/propertyNames/pattern" 166s # }, 166s # { 166s # "error": "not all property names are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/propertyNames" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 725 - propertyNames.json: "propertyNames validation with pattern" - "object without properties is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 726 - propertyNames.json: "propertyNames with boolean schema true" - "object with any properties is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 727 - propertyNames.json: "propertyNames with boolean schema true" - "empty object is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 728 - propertyNames.json: "propertyNames with boolean schema false" - "object with any properties is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is false", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/propertyNames" 166s # }, 166s # { 166s # "error": "not all property names are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/propertyNames" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "subschema is false", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/propertyNames" 166s # }, 166s # { 166s # "error": "not all property names are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/propertyNames" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 729 - propertyNames.json: "propertyNames with boolean schema false" - "empty object is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s # 166s ok 730 - recursiveRef.json: "$recursiveRef without $recursiveAnchor works like $ref" - "match" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 731 - recursiveRef.json: "$recursiveRef without $recursiveAnchor works like $ref" - "recursive match" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 732 - recursiveRef.json: "$recursiveRef without $recursiveAnchor works like $ref" - "mismatch" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/additionalProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/additionalProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 733 - recursiveRef.json: "$recursiveRef without $recursiveAnchor works like $ref" - "recursive mismatch" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/additionalProperties", 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/properties/foo/$recursiveRef/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$recursiveRef/additionalProperties" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/additionalProperties", 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/properties/foo/$recursiveRef/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$recursiveRef/additionalProperties" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 734 - recursiveRef.json: "$recursiveRef without using nesting" - "integer matches at the outer level" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 735 - recursiveRef.json: "$recursiveRef without using nesting" - "single level match" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 736 - recursiveRef.json: "$recursiveRef without using nesting" - "integer does not match as a property value" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf/0/type", 166s # "error": "got object, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/type", 166s # "error": "got integer, not object", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf/0/type", 166s # "error": "got object, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/type", 166s # "error": "got integer, not object", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 737 - recursiveRef.json: "$recursiveRef without using nesting" - "two levels, properties match with inner definition" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 738 - recursiveRef.json: "$recursiveRef without using nesting" - "two levels, no match" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf/0/type", 166s # "error": "got object, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/type", 166s # "error": "got integer, not object", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf/0/type", 166s # "error": "got object, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/0/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/type", 166s # "error": "got integer, not object", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef2/schema.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 739 - recursiveRef.json: "$recursiveRef with nesting" - "integer matches at the outer level" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 740 - recursiveRef.json: "$recursiveRef with nesting" - "single level match" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 741 - recursiveRef.json: "$recursiveRef with nesting" - "integer now matches as a property value" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 742 - recursiveRef.json: "$recursiveRef with nesting" - "two levels, properties match with inner definition" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 743 - recursiveRef.json: "$recursiveRef with nesting" - "two levels, properties match with $recursiveRef" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 744 - recursiveRef.json: "$recursiveRef with $recursiveAnchor: false works like $ref" - "integer matches at the outer level" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 745 - recursiveRef.json: "$recursiveRef with $recursiveAnchor: false works like $ref" - "single level match" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 746 - recursiveRef.json: "$recursiveRef with $recursiveAnchor: false works like $ref" - "integer does not match as a property value" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf/0/type", 166s # "error": "got object, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/type", 166s # "error": "got integer, not object", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf/0/type", 166s # "error": "got object, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/type", 166s # "error": "got integer, not object", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 747 - recursiveRef.json: "$recursiveRef with $recursiveAnchor: false works like $ref" - "two levels, properties match with inner definition" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 748 - recursiveRef.json: "$recursiveRef with $recursiveAnchor: false works like $ref" - "two levels, integer does not match as a property value" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf/0/type", 166s # "error": "got object, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/type", 166s # "error": "got integer, not object", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf/0/type", 166s # "error": "got object, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/0/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/type", 166s # "error": "got integer, not object", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef4/schema.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 749 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor works like $ref" - "integer matches at the outer level" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 750 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor works like $ref" - "single level match" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 751 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor works like $ref" - "integer does not match as a property value" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf/0/type", 166s # "error": "got object, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/type", 166s # "error": "got integer, not object", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf/0/type", 166s # "error": "got object, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/type", 166s # "error": "got integer, not object", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 752 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor works like $ref" - "two levels, properties match with inner definition" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 753 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor works like $ref" - "two levels, integer does not match as a property value" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf/0/type", 166s # "error": "got object, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/type", 166s # "error": "got integer, not object", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf/0/type", 166s # "error": "got object, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/0/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/type", 166s # "error": "got integer, not object", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/myobject.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef5/schema.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 754 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor in the initial target schema resource" - "leaf node does not match; no recursion" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/0/type", 166s # "error": "got object, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/0/type", 166s # "error": "got boolean, not integer", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/1/type", 166s # "error": "got boolean, not object", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/0/type", 166s # "error": "got object, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/0/type", 166s # "error": "got boolean, not integer", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/1/type", 166s # "error": "got boolean, not object", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 755 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor in the initial target schema resource" - "leaf node matches: recursion uses the inner schema" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 756 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor in the initial target schema resource" - "leaf node does not match: recursion uses the inner schema" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/0/type", 166s # "error": "got object, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/0/type", 166s # "error": "got object, not integer", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/0/type", 166s # "error": "got boolean, not integer", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/1/type", 166s # "error": "got boolean, not object", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/0/type", 166s # "error": "got object, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/0/type", 166s # "error": "got object, not integer", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/0/type", 166s # "error": "got boolean, not integer", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/1/type", 166s # "error": "got boolean, not object", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/inner.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef6/base.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 757 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor in the outer schema resource" - "leaf node does not match; no recursion" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/0/type", 166s # "error": "got object, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/0/type", 166s # "error": "got boolean, not integer", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/1/type", 166s # "error": "got boolean, not object", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/0/type", 166s # "error": "got object, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/0/type", 166s # "error": "got boolean, not integer", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/1/type", 166s # "error": "got boolean, not object", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 758 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor in the outer schema resource" - "leaf node matches: recursion only uses inner schema" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 759 - recursiveRef.json: "$recursiveRef with no $recursiveAnchor in the outer schema resource" - "leaf node does not match: recursion only uses inner schema" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/0/type", 166s # "error": "got object, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/0/type", 166s # "error": "got object, not integer", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/0/type", 166s # "error": "got boolean, not integer", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/1/type", 166s # "error": "got boolean, not object", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/0/type", 166s # "error": "got object, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/0/type", 166s # "error": "got object, not integer", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/0/type", 166s # "error": "got boolean, not integer", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/1/type", 166s # "error": "got boolean, not object", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf/1/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties/$recursiveRef/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/inner.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/1/additionalProperties/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf/1/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:4242/draft2019-09/recursiveRef7/base.json#/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 760 - recursiveRef.json: "multiple dynamic paths to the $recursiveRef keyword" - "recurse to anyLeafNode - floats are allowed" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 761 - recursiveRef.json: "multiple dynamic paths to the $recursiveRef keyword" - "recurse to integerNode - floats are not allowed" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "https://example.com/recursiveRef8_integerNode.json#/type", 166s # "error": "got number, not one of object, integer", 166s # "instanceLocation": "/november", 166s # "keywordLocation": "/else/$ref/additionalProperties/$recursiveRef/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://example.com/recursiveRef8_inner.json#/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else/$ref/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://example.com/recursiveRef8_main.json#/else", 166s # "error": "subschema is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "https://example.com/recursiveRef8_integerNode.json#/type", 166s # "error": "got number, not one of object, integer", 166s # "instanceLocation": "/november", 166s # "keywordLocation": "/else/$ref/additionalProperties/$recursiveRef/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://example.com/recursiveRef8_inner.json#/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else/$ref/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://example.com/recursiveRef8_main.json#/else", 166s # "error": "subschema is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 762 - recursiveRef.json: "dynamic $recursiveRef destination (not predictable at schema compile time)" - "numeric node" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 763 - recursiveRef.json: "dynamic $recursiveRef destination (not predictable at schema compile time)" - "integer node" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "https://example.com/integerNode.json#/type", 166s # "error": "got number, not one of object, integer", 166s # "instanceLocation": "/november", 166s # "keywordLocation": "/else/$ref/additionalProperties/$recursiveRef/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://example.com/inner.json#/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else/$ref/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://example.com/main.json#/else", 166s # "error": "subschema is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "https://example.com/integerNode.json#/type", 166s # "error": "got number, not one of object, integer", 166s # "instanceLocation": "/november", 166s # "keywordLocation": "/else/$ref/additionalProperties/$recursiveRef/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://example.com/inner.json#/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else/$ref/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://example.com/main.json#/else", 166s # "error": "subschema is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/else" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 764 - ref.json: "root pointer ref" - "match" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 765 - ref.json: "root pointer ref" - "recursive match" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 766 - ref.json: "root pointer ref" - "mismatch" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/additionalProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/additionalProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 767 - ref.json: "root pointer ref" - "recursive mismatch" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/additionalProperties", 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/additionalProperties", 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/additionalProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 768 - ref.json: "relative pointer ref to object" - "match" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 769 - ref.json: "relative pointer ref to object" - "mismatch" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/properties/foo/type", 166s # "error": "got boolean, not integer", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/properties/bar/$ref/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/properties/foo/type", 166s # "error": "got boolean, not integer", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/properties/bar/$ref/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 770 - ref.json: "relative pointer ref to array" - "match array" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 771 - ref.json: "relative pointer ref to array" - "mismatch array" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/items/0/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "/1", 166s # "keywordLocation": "/items/1/$ref/type" 166s # }, 166s # { 166s # "error": "not all items are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/items/0/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "/1", 166s # "keywordLocation": "/items/1/$ref/type" 166s # }, 166s # { 166s # "error": "not all items are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 772 - ref.json: "escaped pointer ref" - "slash invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/slash~1field/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "/slash", 166s # "keywordLocation": "/properties/slash/$ref/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/slash~1field/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "/slash", 166s # "keywordLocation": "/properties/slash/$ref/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 773 - ref.json: "escaped pointer ref" - "tilde invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/tilde~0field/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "/tilde", 166s # "keywordLocation": "/properties/tilde/$ref/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/tilde~0field/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "/tilde", 166s # "keywordLocation": "/properties/tilde/$ref/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 774 - ref.json: "escaped pointer ref" - "percent invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/percent%25field/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "/percent", 166s # "keywordLocation": "/properties/percent/$ref/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/percent%25field/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "/percent", 166s # "keywordLocation": "/properties/percent/$ref/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 775 - ref.json: "escaped pointer ref" - "slash valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 776 - ref.json: "escaped pointer ref" - "tilde valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 777 - ref.json: "escaped pointer ref" - "percent valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 778 - ref.json: "nested refs" - "nested ref valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 779 - ref.json: "nested refs" - "nested ref invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/a/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/a/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 780 - ref.json: "ref applies alongside sibling keywords" - "ref valid, maxItems valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 781 - ref.json: "ref applies alongside sibling keywords" - "ref valid, maxItems invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "array has more than 2 items", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/maxItems" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "array has more than 2 items", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/maxItems" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 782 - ref.json: "ref applies alongside sibling keywords" - "ref invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/reffed/type", 166s # "error": "got string, not array", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/reffed/type", 166s # "error": "got string, not array", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 783 - ref.json: "remote ref, containing refs itself" - "remote ref valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 784 - ref.json: "remote ref, containing refs itself" - "remote ref invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/$defs/nonNegativeInteger/minimum", 166s # "error": "value is less than 0", 166s # "instanceLocation": "/minLength", 166s # "keywordLocation": "/$ref/allOf/2/$ref/properties/minLength/$ref/$ref/minimum" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/allOf/2/$ref/properties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/schema#/allOf", 166s # "error": "subschema 2 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/$defs/nonNegativeInteger/minimum", 166s # "error": "value is less than 0", 166s # "instanceLocation": "/minLength", 166s # "keywordLocation": "/$ref/allOf/2/$ref/properties/minLength/$ref/$ref/minimum" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/meta/validation#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/allOf/2/$ref/properties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://json-schema.org/draft/2019-09/schema#/allOf", 166s # "error": "subschema 2 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 785 - ref.json: "property named $ref that is not a reference" - "property named $ref valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 786 - ref.json: "property named $ref that is not a reference" - "property named $ref invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not string", 166s # "instanceLocation": "/$ref", 166s # "keywordLocation": "/properties/$ref/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not string", 166s # "instanceLocation": "/$ref", 166s # "keywordLocation": "/properties/$ref/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 787 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 788 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/is-string/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/$ref", 166s # "keywordLocation": "/properties/$ref/$ref/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/is-string/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/$ref", 166s # "keywordLocation": "/properties/$ref/$ref/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 789 - ref.json: "$ref to boolean schema true" - "any value is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 790 - ref.json: "$ref to boolean schema false" - "any value is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/bool", 166s # "error": "subschema is false", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/bool", 166s # "error": "subschema is false", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 791 - ref.json: "Recursive references between schemas" - "valid tree" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 792 - ref.json: "Recursive references between schemas" - "invalid tree" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/node#/properties/value/type", 166s # "error": "got string, not number", 166s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 166s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/node#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "/nodes/0/subtree/nodes/0", 166s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties/nodes/items", 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/nodes/0/subtree/nodes", 166s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "/nodes/0/subtree", 166s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/node#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "/nodes/0", 166s # "keywordLocation": "/properties/nodes/items/$ref/properties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties/nodes/items", 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/nodes", 166s # "keywordLocation": "/properties/nodes/items" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/node#/properties/value/type", 166s # "error": "got string, not number", 166s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 166s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/node#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "/nodes/0/subtree/nodes/0", 166s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties/nodes/items", 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/nodes/0/subtree/nodes", 166s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "/nodes/0/subtree", 166s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/node#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "/nodes/0", 166s # "keywordLocation": "/properties/nodes/items/$ref/properties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties/nodes/items", 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/nodes", 166s # "keywordLocation": "/properties/nodes/items" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/tree#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 793 - ref.json: "refs with quote" - "object with numbers is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 794 - ref.json: "refs with quote" - "object with strings is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/foo%22bar/type", 166s # "error": "got string, not number", 166s # "instanceLocation": "/foo\"bar", 166s # "keywordLocation": "/properties/foo\"bar/$ref/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/foo%22bar/type", 166s # "error": "got string, not number", 166s # "instanceLocation": "/foo\"bar", 166s # "keywordLocation": "/properties/foo\"bar/$ref/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 795 - ref.json: "ref creates new scope when adjacent to keywords" - "referenced subschema doesn't see annotations from properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/prop1", 166s # "keywordLocation": "/$ref/unevaluatedProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/prop1", 166s # "keywordLocation": "/$ref/unevaluatedProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 796 - ref.json: "naive replacement of $ref with its destination is not correct" - "do not evaluate the $ref inside the enum, matching any string" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/enum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/enum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 797 - ref.json: "naive replacement of $ref with its destination is not correct" - "do not evaluate the $ref inside the enum, definition exact match" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/enum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/enum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 798 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 799 - ref.json: "refs with relative uris and defs" - "invalid on inner field" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/properties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/properties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 800 - ref.json: "refs with relative uris and defs" - "invalid on outer field" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/$ref/$ref/properties/bar/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/$ref/$ref/properties/bar/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 801 - ref.json: "refs with relative uris and defs" - "valid on both fields" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 802 - ref.json: "relative refs with absolute uris and defs" - "invalid on inner field" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/properties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo/bar", 166s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/properties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 803 - ref.json: "relative refs with absolute uris and defs" - "invalid on outer field" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/$ref/$ref/properties/bar/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/$ref/$ref/properties/bar/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 804 - ref.json: "relative refs with absolute uris and defs" - "valid on both fields" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 805 - ref.json: "$id must be resolved against nearest parent, not just immediate parent" - "number is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 806 - ref.json: "$id must be resolved against nearest parent, not just immediate parent" - "non-number is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 166s # "error": "got string, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/0/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 166s # "error": "subschema 0 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 166s # "error": "got string, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/0/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 166s # "error": "subschema 0 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 807 - ref.json: "order of evaluation: $id and $ref" - "data is valid against first definition" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 808 - ref.json: "order of evaluation: $id and $ref" - "data is invalid against first definition" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "https://example.com/draft2019-09/ref-and-id1/int.json#/maximum", 166s # "error": "value is greater than 10", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/maximum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "https://example.com/draft2019-09/ref-and-id1/int.json#/maximum", 166s # "error": "value is greater than 10", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/maximum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 809 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is valid against first definition" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 810 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is invalid against first definition" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "https://example.com/draft2019-09/ref-and-id2/base.json#/$defs/bigint/maximum", 166s # "error": "value is greater than 10", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/maximum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "https://example.com/draft2019-09/ref-and-id2/base.json#/$defs/bigint/maximum", 166s # "error": "value is greater than 10", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/maximum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 811 - ref.json: "simple URN base URI with $ref via the URN" - "valid under the URN IDed schema" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 812 - ref.json: "simple URN base URI with $ref via the URN" - "invalid under the URN IDed schema" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 166s # "error": "value is less than 30", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/minimum" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 166s # "error": "value is less than 30", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/minimum" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 813 - ref.json: "simple URN base URI with JSON pointer" - "a string is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 814 - ref.json: "simple URN base URI with JSON pointer" - "a non-string is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/$defs/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/$defs/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 815 - ref.json: "URN base URI with NSS" - "a string is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 816 - ref.json: "URN base URI with NSS" - "a non-string is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/$defs/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/$defs/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 817 - ref.json: "URN base URI with r-component" - "a string is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 818 - ref.json: "URN base URI with r-component" - "a non-string is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/$defs/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/$defs/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 819 - ref.json: "URN base URI with q-component" - "a string is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 820 - ref.json: "URN base URI with q-component" - "a non-string is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/$defs/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/$defs/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 821 - ref.json: "URN base URI with URN and JSON pointer ref" - "a string is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 822 - ref.json: "URN base URI with URN and JSON pointer ref" - "a non-string is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/$defs/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/$defs/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 823 - ref.json: "URN base URI with URN and anchor ref" - "a string is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 824 - ref.json: "URN base URI with URN and anchor ref" - "a non-string is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/$defs/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/$defs/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 825 - ref.json: "URN ref with nested pointer ref" - "a string is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 826 - ref.json: "URN ref with nested pointer ref" - "a non-string is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "urn:uuid:deadbeef-4321-ffff-ffff-1234feebdaed#/$defs/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "urn:uuid:deadbeef-4321-ffff-ffff-1234feebdaed#/$defs/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 827 - ref.json: "ref to if" - "a non-integer is invalid due to the $ref" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://example.com/ref/if#/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://example.com/ref/if#/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 828 - ref.json: "ref to if" - "an integer is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 829 - ref.json: "ref to then" - "a non-integer is invalid due to the $ref" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://example.com/ref/then#/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://example.com/ref/then#/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 830 - ref.json: "ref to then" - "an integer is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 831 - ref.json: "ref to else" - "a non-integer is invalid due to the $ref" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://example.com/ref/else#/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://example.com/ref/else#/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 832 - ref.json: "ref to else" - "an integer is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 833 - ref.json: "ref with absolute-path-reference" - "a string is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 834 - ref.json: "ref with absolute-path-reference" - "an integer is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 835 - ref.json: "$id with file URI still resolves pointers - *nix" - "number is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 836 - ref.json: "$id with file URI still resolves pointers - *nix" - "non-number is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "file:///folder/file.json#/$defs/foo/type", 166s # "error": "got string, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "file:///folder/file.json#/$defs/foo/type", 166s # "error": "got string, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 837 - ref.json: "$id with file URI still resolves pointers - windows" - "number is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 838 - ref.json: "$id with file URI still resolves pointers - windows" - "non-number is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/$defs/foo/type", 166s # "error": "got string, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/$defs/foo/type", 166s # "error": "got string, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 839 - ref.json: "empty tokens in $ref json-pointer" - "number is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 840 - ref.json: "empty tokens in $ref json-pointer" - "non-number is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs//$defs//type", 166s # "error": "got string, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/0/$ref/type" 166s # }, 166s # { 166s # "error": "subschema 0 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs//$defs//type", 166s # "error": "got string, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/0/$ref/type" 166s # }, 166s # { 166s # "error": "subschema 0 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 841 - ref.json: "$ref with $recursiveAnchor" - "extra items allowed for inner arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 842 - ref.json: "$ref with $recursiveAnchor" - "extra items disallowed for root" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "https://example.com/schemas/unevaluated-items-are-disallowed#/unevaluatedItems", 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/2", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://example.com/schemas/unevaluated-items-are-disallowed#/unevaluatedItems", 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "https://example.com/schemas/unevaluated-items-are-disallowed#/unevaluatedItems", 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/2", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://example.com/schemas/unevaluated-items-are-disallowed#/unevaluatedItems", 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 843 - refRemote.json: "remote ref" - "remote ref valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 844 - refRemote.json: "remote ref" - "remote ref invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 845 - refRemote.json: "fragment within remote ref" - "remote fragment valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 846 - refRemote.json: "fragment within remote ref" - "remote fragment invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/subSchemas.json#/$defs/integer/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/subSchemas.json#/$defs/integer/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 847 - refRemote.json: "anchor within remote ref" - "remote anchor valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 848 - refRemote.json: "anchor within remote ref" - "remote anchor invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/locationIndependentIdentifier.json#/$defs/A/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/locationIndependentIdentifier.json#/$defs/A/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 849 - refRemote.json: "ref within remote ref" - "ref within ref valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 850 - refRemote.json: "ref within remote ref" - "ref within ref invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/subSchemas.json#/$defs/integer/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/subSchemas.json#/$defs/integer/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 851 - refRemote.json: "base URI change" - "base URI change ref valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 852 - refRemote.json: "base URI change" - "base URI change ref invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "/0/0", 166s # "keywordLocation": "/items/items/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/baseUriChange/#/items", 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/items/items" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/#/items", 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "/0/0", 166s # "keywordLocation": "/items/items/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/baseUriChange/#/items", 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/items/items" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/#/items", 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 853 - refRemote.json: "base URI change - change folder" - "number is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 854 - refRemote.json: "base URI change - change folder" - "string is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "/list/0", 166s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/baseUriChangeFolder/#/items", 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/list", 166s # "keywordLocation": "/properties/list/$ref/items" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/scope_change_defs1.json#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "/list/0", 166s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/baseUriChangeFolder/#/items", 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/list", 166s # "keywordLocation": "/properties/list/$ref/items" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/scope_change_defs1.json#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 855 - refRemote.json: "base URI change - change folder in subschema" - "number is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 856 - refRemote.json: "base URI change - change folder in subschema" - "string is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "/list/0", 166s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/baseUriChangeFolderInSubschema/#/$defs/bar/items", 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/list", 166s # "keywordLocation": "/properties/list/$ref/items" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/scope_change_defs2.json#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "/list/0", 166s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/baseUriChangeFolderInSubschema/#/$defs/bar/items", 166s # "error": "subschema is not valid against all items", 166s # "instanceLocation": "/list", 166s # "keywordLocation": "/properties/list/$ref/items" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/scope_change_defs2.json#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 857 - refRemote.json: "root ref in remote ref" - "string is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 858 - refRemote.json: "root ref in remote ref" - "null is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 859 - refRemote.json: "root ref in remote ref" - "object is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/name-defs.json#/$defs/orNull/anyOf/0/type", 166s # "error": "got object, not null", 166s # "instanceLocation": "/name", 166s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/name-defs.json#/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "/name", 166s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/name-defs.json#/$defs/orNull/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/name", 166s # "keywordLocation": "/properties/name/$ref/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/object#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/name-defs.json#/$defs/orNull/anyOf/0/type", 166s # "error": "got object, not null", 166s # "instanceLocation": "/name", 166s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/name-defs.json#/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "/name", 166s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/name-defs.json#/$defs/orNull/anyOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "/name", 166s # "keywordLocation": "/properties/name/$ref/anyOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/object#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 860 - refRemote.json: "remote ref with ref to defs" - "invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/ref-and-defs.json#/$defs/inner/properties/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/$ref/$ref/properties/bar/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/ref-and-defs.json#/$defs/inner/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/ref-and-defs.json#/$defs/inner/properties/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/$ref/$ref/properties/bar/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/ref-and-defs.json#/$defs/inner/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 861 - refRemote.json: "remote ref with ref to defs" - "valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 862 - refRemote.json: "Location-independent identifier in remote ref" - "integer is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 863 - refRemote.json: "Location-independent identifier in remote ref" - "string is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/locationIndependentIdentifier.json#/$defs/A/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/locationIndependentIdentifier.json#/$defs/A/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 864 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "number is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/name/foo", 166s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/foo-ref-string.json#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "/name", 166s # "keywordLocation": "/properties/name/$ref/properties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/some-id#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/name/foo", 166s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/foo-ref-string.json#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "/name", 166s # "keywordLocation": "/properties/name/$ref/properties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/some-id#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 865 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "string is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 866 - refRemote.json: "remote HTTP ref with different $id" - "number is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/real-id-ref-string.json#/$defs/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/real-id-ref-string.json#/$defs/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 867 - refRemote.json: "remote HTTP ref with different $id" - "string is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 868 - refRemote.json: "remote HTTP ref with different URN $id" - "number is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "urn:uuid:feebdaed-ffff-0000-ffff-0000deadbeef#/$defs/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "urn:uuid:feebdaed-ffff-0000-ffff-0000deadbeef#/$defs/bar/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 869 - refRemote.json: "remote HTTP ref with different URN $id" - "string is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 870 - refRemote.json: "remote HTTP ref with nested absolute ref" - "number is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/the-nested-id.json#/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/the-nested-id.json#/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 871 - refRemote.json: "remote HTTP ref with nested absolute ref" - "string is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 872 - refRemote.json: "$ref to $ref finds detached $anchor" - "number is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 873 - refRemote.json: "$ref to $ref finds detached $anchor" - "non-number is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/detached-ref.json#/$defs/detached/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/detached-ref.json#/$defs/detached/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/$ref/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 874 - required.json: "required validation" - "present required property is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 875 - required.json: "required validation" - "non-present required property is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "object is missing property: foo", 166s # "instanceLocation": "", 166s # "keywordLocation": "/required" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "object is missing property: foo", 166s # "instanceLocation": "", 166s # "keywordLocation": "/required" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 876 - required.json: "required validation" - "ignores arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 877 - required.json: "required validation" - "ignores strings" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 878 - required.json: "required validation" - "ignores other non-objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 879 - required.json: "required default validation" - "not required by default" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 880 - required.json: "required with empty array" - "property not required" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 881 - required.json: "required with escaped characters" - "object with all properties present is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 882 - required.json: "required with escaped characters" - "object with some properties missing is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 166s # "instanceLocation": "", 166s # "keywordLocation": "/required" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 166s # "instanceLocation": "", 166s # "keywordLocation": "/required" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 883 - required.json: "required properties whose names are Javascript object property names" - "ignores arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 884 - required.json: "required properties whose names are Javascript object property names" - "ignores other non-objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 885 - required.json: "required properties whose names are Javascript object property names" - "none of the properties mentioned" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "object is missing properties: __proto__, toString, constructor", 166s # "instanceLocation": "", 166s # "keywordLocation": "/required" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "object is missing properties: __proto__, toString, constructor", 166s # "instanceLocation": "", 166s # "keywordLocation": "/required" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 886 - required.json: "required properties whose names are Javascript object property names" - "__proto__ present" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "object is missing properties: toString, constructor", 166s # "instanceLocation": "", 166s # "keywordLocation": "/required" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "object is missing properties: toString, constructor", 166s # "instanceLocation": "", 166s # "keywordLocation": "/required" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 887 - required.json: "required properties whose names are Javascript object property names" - "toString present" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "object is missing properties: __proto__, constructor", 166s # "instanceLocation": "", 166s # "keywordLocation": "/required" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "object is missing properties: __proto__, constructor", 166s # "instanceLocation": "", 166s # "keywordLocation": "/required" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 888 - required.json: "required properties whose names are Javascript object property names" - "constructor present" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "object is missing properties: __proto__, toString", 166s # "instanceLocation": "", 166s # "keywordLocation": "/required" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "object is missing properties: __proto__, toString", 166s # "instanceLocation": "", 166s # "keywordLocation": "/required" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 889 - required.json: "required properties whose names are Javascript object property names" - "all present" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s # 166s ok 890 - type.json: "integer type matches integers" - "an integer is an integer" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 891 - type.json: "integer type matches integers" - "a float with zero fractional part is an integer" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 892 - type.json: "integer type matches integers" - "a float is not an integer" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got number, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got number, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 893 - type.json: "integer type matches integers" - "a string is not an integer" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 894 - type.json: "integer type matches integers" - "a string is still not an integer, even if it looks like one" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got string, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 895 - type.json: "integer type matches integers" - "an object is not an integer" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got object, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got object, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 896 - type.json: "integer type matches integers" - "an array is not an integer" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got array, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got array, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 897 - type.json: "integer type matches integers" - "a boolean is not an integer" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got boolean, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got boolean, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 898 - type.json: "integer type matches integers" - "null is not an integer" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got null, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/integer.json#/type", 166s # "error": "got null, not integer", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 899 - type.json: "number type matches numbers" - "an integer is a number" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 900 - type.json: "number type matches numbers" - "a float with zero fractional part is a number (and an integer)" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 901 - type.json: "number type matches numbers" - "a float is a number" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 902 - type.json: "number type matches numbers" - "a string is not a number" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 903 - type.json: "number type matches numbers" - "a string is still not a number, even if it looks like one" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 904 - type.json: "number type matches numbers" - "an object is not a number" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got object, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got object, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 905 - type.json: "number type matches numbers" - "an array is not a number" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got array, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got array, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 906 - type.json: "number type matches numbers" - "a boolean is not a number" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got boolean, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got boolean, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 907 - type.json: "number type matches numbers" - "null is not a number" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got null, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got null, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 908 - type.json: "string type matches strings" - "1 is not a string" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 909 - type.json: "string type matches strings" - "a float is not a string" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 166s # "error": "got number, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 166s # "error": "got number, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 910 - type.json: "string type matches strings" - "a string is a string" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 911 - type.json: "string type matches strings" - "a string is still a string, even if it looks like a number" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 912 - type.json: "string type matches strings" - "an empty string is still a string" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 913 - type.json: "string type matches strings" - "an object is not a string" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 914 - type.json: "string type matches strings" - "an array is not a string" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 166s # "error": "got array, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 166s # "error": "got array, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 915 - type.json: "string type matches strings" - "a boolean is not a string" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 166s # "error": "got boolean, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 166s # "error": "got boolean, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 916 - type.json: "string type matches strings" - "null is not a string" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 166s # "error": "got null, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 166s # "error": "got null, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 917 - type.json: "object type matches objects" - "an integer is not an object" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not object", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not object", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 918 - type.json: "object type matches objects" - "a float is not an object" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got number, not object", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got number, not object", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 919 - type.json: "object type matches objects" - "a string is not an object" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not object", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not object", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 920 - type.json: "object type matches objects" - "an object is an object" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 921 - type.json: "object type matches objects" - "an array is not an object" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got array, not object", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got array, not object", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 922 - type.json: "object type matches objects" - "a boolean is not an object" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got boolean, not object", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got boolean, not object", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 923 - type.json: "object type matches objects" - "null is not an object" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got null, not object", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got null, not object", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 924 - type.json: "array type matches arrays" - "an integer is not an array" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not array", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not array", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 925 - type.json: "array type matches arrays" - "a float is not an array" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got number, not array", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got number, not array", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 926 - type.json: "array type matches arrays" - "a string is not an array" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not array", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not array", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 927 - type.json: "array type matches arrays" - "an object is not an array" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got object, not array", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got object, not array", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 928 - type.json: "array type matches arrays" - "an array is an array" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 929 - type.json: "array type matches arrays" - "a boolean is not an array" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got boolean, not array", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got boolean, not array", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 930 - type.json: "array type matches arrays" - "null is not an array" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got null, not array", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got null, not array", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 931 - type.json: "boolean type matches booleans" - "an integer is not a boolean" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 932 - type.json: "boolean type matches booleans" - "zero is not a boolean" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 933 - type.json: "boolean type matches booleans" - "a float is not a boolean" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got number, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got number, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 934 - type.json: "boolean type matches booleans" - "a string is not a boolean" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 935 - type.json: "boolean type matches booleans" - "an empty string is not a boolean" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 936 - type.json: "boolean type matches booleans" - "an object is not a boolean" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got object, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got object, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 937 - type.json: "boolean type matches booleans" - "an array is not a boolean" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got array, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got array, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 938 - type.json: "boolean type matches booleans" - "true is a boolean" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 939 - type.json: "boolean type matches booleans" - "false is a boolean" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 940 - type.json: "boolean type matches booleans" - "null is not a boolean" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got null, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got null, not boolean", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 941 - type.json: "null type matches only the null object" - "an integer is not null" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 942 - type.json: "null type matches only the null object" - "a float is not null" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got number, not null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got number, not null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 943 - type.json: "null type matches only the null object" - "zero is not null" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 944 - type.json: "null type matches only the null object" - "a string is not null" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 945 - type.json: "null type matches only the null object" - "an empty string is not null" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 946 - type.json: "null type matches only the null object" - "an object is not null" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got object, not null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got object, not null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 947 - type.json: "null type matches only the null object" - "an array is not null" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got array, not null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got array, not null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 948 - type.json: "null type matches only the null object" - "true is not null" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got boolean, not null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got boolean, not null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 949 - type.json: "null type matches only the null object" - "false is not null" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got boolean, not null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got boolean, not null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 950 - type.json: "null type matches only the null object" - "null is null" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 951 - type.json: "multiple types can be specified in an array" - "an integer is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 952 - type.json: "multiple types can be specified in an array" - "a string is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 953 - type.json: "multiple types can be specified in an array" - "a float is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got number, not one of integer, string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got number, not one of integer, string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 954 - type.json: "multiple types can be specified in an array" - "an object is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got object, not one of integer, string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got object, not one of integer, string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 955 - type.json: "multiple types can be specified in an array" - "an array is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got array, not one of integer, string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got array, not one of integer, string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 956 - type.json: "multiple types can be specified in an array" - "a boolean is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got boolean, not one of integer, string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got boolean, not one of integer, string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 957 - type.json: "multiple types can be specified in an array" - "null is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got null, not one of integer, string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got null, not one of integer, string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 958 - type.json: "type as array with one item" - "string is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 959 - type.json: "type as array with one item" - "number is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not one of string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not one of string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 960 - type.json: "type: array or object" - "array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 961 - type.json: "type: array or object" - "object is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 962 - type.json: "type: array or object" - "number is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not one of array, object", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not one of array, object", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 963 - type.json: "type: array or object" - "string is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not one of array, object", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not one of array, object", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 964 - type.json: "type: array or object" - "null is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got null, not one of array, object", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got null, not one of array, object", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 965 - type.json: "type: array, object or null" - "array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 966 - type.json: "type: array, object or null" - "object is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 967 - type.json: "type: array, object or null" - "null is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 968 - type.json: "type: array, object or null" - "number is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not one of array, object, null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not one of array, object, null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 969 - type.json: "type: array, object or null" - "string is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not one of array, object, null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not one of array, object, null", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 970 - unevaluatedItems.json: "unevaluatedItems true" - "with no unevaluated items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 971 - unevaluatedItems.json: "unevaluatedItems true" - "with unevaluated items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 972 - unevaluatedItems.json: "unevaluatedItems false" - "with no unevaluated items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 973 - unevaluatedItems.json: "unevaluatedItems false" - "with unevaluated items" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 974 - unevaluatedItems.json: "unevaluatedItems as schema" - "with no unevaluated items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 975 - unevaluatedItems.json: "unevaluatedItems as schema" - "with valid unevaluated items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 976 - unevaluatedItems.json: "unevaluatedItems as schema" - "with invalid unevaluated items" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not string", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/unevaluatedItems/type" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not string", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/unevaluatedItems/type" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 977 - unevaluatedItems.json: "unevaluatedItems with uniform items" - "unevaluatedItems doesn't apply" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 978 - unevaluatedItems.json: "unevaluatedItems with tuple" - "with no unevaluated items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 979 - unevaluatedItems.json: "unevaluatedItems with tuple" - "with unevaluated items" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/1", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/1", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 980 - unevaluatedItems.json: "unevaluatedItems with items and additionalItems" - "unevaluatedItems doesn't apply" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 981 - unevaluatedItems.json: "unevaluatedItems with ignored additionalItems" - "invalid under unevaluatedItems" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not string", 166s # "instanceLocation": "/1", 166s # "keywordLocation": "/unevaluatedItems/type" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not string", 166s # "instanceLocation": "/1", 166s # "keywordLocation": "/unevaluatedItems/type" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 982 - unevaluatedItems.json: "unevaluatedItems with ignored additionalItems" - "all valid under unevaluatedItems" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 983 - unevaluatedItems.json: "unevaluatedItems with ignored applicator additionalItems" - "invalid under unevaluatedItems" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not string", 166s # "instanceLocation": "/1", 166s # "keywordLocation": "/unevaluatedItems/type" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got integer, not string", 166s # "instanceLocation": "/1", 166s # "keywordLocation": "/unevaluatedItems/type" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 984 - unevaluatedItems.json: "unevaluatedItems with ignored applicator additionalItems" - "all valid under unevaluatedItems" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 985 - unevaluatedItems.json: "unevaluatedItems with nested tuple" - "with no unevaluated items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 986 - unevaluatedItems.json: "unevaluatedItems with nested tuple" - "with unevaluated items" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/2", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/2", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 987 - unevaluatedItems.json: "unevaluatedItems with nested items" - "with only (valid) additional items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 988 - unevaluatedItems.json: "unevaluatedItems with nested items" - "with no additional items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 989 - unevaluatedItems.json: "unevaluatedItems with nested items" - "with invalid additional item" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not boolean", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/unevaluatedItems/type" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not boolean", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/unevaluatedItems/type" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 990 - unevaluatedItems.json: "unevaluatedItems with nested items and additionalItems" - "with no additional items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 991 - unevaluatedItems.json: "unevaluatedItems with nested items and additionalItems" - "with additional items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 992 - unevaluatedItems.json: "unevaluatedItems with nested unevaluatedItems" - "with no additional items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 993 - unevaluatedItems.json: "unevaluatedItems with nested unevaluatedItems" - "with additional items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 994 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when one schema matches and has no unevaluated items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 995 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when one schema matches and has unevaluated items" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/2", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/2", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 996 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when two schemas match and has no unevaluated items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 997 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when two schemas match and has unevaluated items" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/3", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/3", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 998 - unevaluatedItems.json: "unevaluatedItems with oneOf" - "with no unevaluated items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 999 - unevaluatedItems.json: "unevaluatedItems with oneOf" - "with unevaluated items" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/2", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/2", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1000 - unevaluatedItems.json: "unevaluatedItems with not" - "with unevaluated items" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/1", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/1", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1001 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if matches and it has no unevaluated items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1002 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if matches and it has unevaluated items" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/3", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/3", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1003 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if doesn't match and it has no unevaluated items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1004 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if doesn't match and it has unevaluated items" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/4", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/4", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1005 - unevaluatedItems.json: "unevaluatedItems with boolean schemas" - "with no unevaluated items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1006 - unevaluatedItems.json: "unevaluatedItems with boolean schemas" - "with unevaluated items" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1007 - unevaluatedItems.json: "unevaluatedItems with $ref" - "with no unevaluated items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1008 - unevaluatedItems.json: "unevaluatedItems with $ref" - "with unevaluated items" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/2", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/2", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1009 - unevaluatedItems.json: "unevaluatedItems before $ref" - "with no unevaluated items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1010 - unevaluatedItems.json: "unevaluatedItems before $ref" - "with unevaluated items" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/2", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/2", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1011 - unevaluatedItems.json: "unevaluatedItems with $recursiveRef" - "with no unevaluated items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1012 - unevaluatedItems.json: "unevaluatedItems with $recursiveRef" - "with unevaluated items" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-recursive-ref/tree#/items/1/unevaluatedItems", 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/1/3", 166s # "keywordLocation": "/$ref/items/1/unevaluatedItems" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-recursive-ref/tree#/items/1/unevaluatedItems", 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "/1", 166s # "keywordLocation": "/$ref/items/1/unevaluatedItems" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-recursive-ref/tree#/items", 166s # "error": "not all items are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-recursive-ref/tree#/items/1/unevaluatedItems", 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/1/3", 166s # "keywordLocation": "/$ref/items/1/unevaluatedItems" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-recursive-ref/tree#/items/1/unevaluatedItems", 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "/1", 166s # "keywordLocation": "/$ref/items/1/unevaluatedItems" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-recursive-ref/tree#/items", 166s # "error": "not all items are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/items" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1013 - unevaluatedItems.json: "unevaluatedItems can't see inside cousins" - "always fails" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/allOf/1/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/1/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema 1 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/allOf/1/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/1/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema 1 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1014 - unevaluatedItems.json: "item is evaluated in an uncle schema to unevaluatedItems" - "no extra items" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1015 - unevaluatedItems.json: "item is evaluated in an uncle schema to unevaluatedItems" - "uncle keyword evaluation is not significant" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/foo/1", 166s # "keywordLocation": "/properties/foo/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/unevaluatedItems" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/foo/1", 166s # "keywordLocation": "/properties/foo/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/unevaluatedItems" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1016 - unevaluatedItems.json: "non-array instances are valid" - "ignores booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1017 - unevaluatedItems.json: "non-array instances are valid" - "ignores integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1018 - unevaluatedItems.json: "non-array instances are valid" - "ignores floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1019 - unevaluatedItems.json: "non-array instances are valid" - "ignores objects" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1020 - unevaluatedItems.json: "non-array instances are valid" - "ignores strings" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1021 - unevaluatedItems.json: "non-array instances are valid" - "ignores null" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1022 - unevaluatedItems.json: "unevaluatedItems with null instance elements" - "allows null elements" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1023 - unevaluatedItems.json: "unevaluatedItems can see annotations from if without then and else" - "valid in case if is evaluated" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1024 - unevaluatedItems.json: "unevaluatedItems can see annotations from if without then and else" - "invalid in case if is evaluated" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/unevaluatedItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 1025 - unevaluatedProperties.json: "unevaluatedProperties true" - "with no unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1026 - unevaluatedProperties.json: "unevaluatedProperties true" - "with unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1027 - unevaluatedProperties.json: "unevaluatedProperties schema" - "with no unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1028 - unevaluatedProperties.json: "unevaluatedProperties schema" - "with valid unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1029 - unevaluatedProperties.json: "unevaluatedProperties schema" - "with invalid unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "length is less than 3", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/unevaluatedProperties/minLength" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "length is less than 3", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/unevaluatedProperties/minLength" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1030 - unevaluatedProperties.json: "unevaluatedProperties false" - "with no unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1031 - unevaluatedProperties.json: "unevaluatedProperties false" - "with unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1032 - unevaluatedProperties.json: "unevaluatedProperties with adjacent properties" - "with no unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1033 - unevaluatedProperties.json: "unevaluatedProperties with adjacent properties" - "with unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1034 - unevaluatedProperties.json: "unevaluatedProperties with adjacent patternProperties" - "with no unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1035 - unevaluatedProperties.json: "unevaluatedProperties with adjacent patternProperties" - "with unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1036 - unevaluatedProperties.json: "unevaluatedProperties with adjacent additionalProperties" - "with no additional properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1037 - unevaluatedProperties.json: "unevaluatedProperties with adjacent additionalProperties" - "with additional properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1038 - unevaluatedProperties.json: "unevaluatedProperties with nested properties" - "with no additional properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1039 - unevaluatedProperties.json: "unevaluatedProperties with nested properties" - "with additional properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/baz", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/baz", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1040 - unevaluatedProperties.json: "unevaluatedProperties with nested patternProperties" - "with no additional properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1041 - unevaluatedProperties.json: "unevaluatedProperties with nested patternProperties" - "with additional properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/baz", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/baz", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1042 - unevaluatedProperties.json: "unevaluatedProperties with nested additionalProperties" - "with no additional properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1043 - unevaluatedProperties.json: "unevaluatedProperties with nested additionalProperties" - "with additional properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1044 - unevaluatedProperties.json: "unevaluatedProperties with nested unevaluatedProperties" - "with no nested unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1045 - unevaluatedProperties.json: "unevaluatedProperties with nested unevaluatedProperties" - "with nested unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1046 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when one matches and has no unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1047 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when one matches and has unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/baz", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/baz", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1048 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when two match and has no unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1049 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when two match and has unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/quux", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/quux", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1050 - unevaluatedProperties.json: "unevaluatedProperties with oneOf" - "with no unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1051 - unevaluatedProperties.json: "unevaluatedProperties with oneOf" - "with unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/quux", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/quux", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1052 - unevaluatedProperties.json: "unevaluatedProperties with not" - "with unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1053 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is true and has no unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1054 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is true and has unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/baz", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/baz", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1055 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is false and has no unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1056 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is false and has unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1057 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is true and has no unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1058 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is true and has unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/baz", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/baz", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1059 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is false and has no unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1060 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is false and has unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1061 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is true and has no unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1062 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is true and has unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/baz", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/baz", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1063 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is false and has no unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/baz", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/baz", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1064 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is false and has unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/baz", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/baz", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1065 - unevaluatedProperties.json: "unevaluatedProperties with dependentSchemas" - "with no unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1066 - unevaluatedProperties.json: "unevaluatedProperties with dependentSchemas" - "with unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1067 - unevaluatedProperties.json: "unevaluatedProperties with boolean schemas" - "with no unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1068 - unevaluatedProperties.json: "unevaluatedProperties with boolean schemas" - "with unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1069 - unevaluatedProperties.json: "unevaluatedProperties with $ref" - "with no unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1070 - unevaluatedProperties.json: "unevaluatedProperties with $ref" - "with unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/baz", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/baz", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1071 - unevaluatedProperties.json: "unevaluatedProperties before $ref" - "with no unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1072 - unevaluatedProperties.json: "unevaluatedProperties before $ref" - "with unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/baz", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/baz", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1073 - unevaluatedProperties.json: "unevaluatedProperties with $recursiveRef" - "with no unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1074 - unevaluatedProperties.json: "unevaluatedProperties with $recursiveRef" - "with unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-recursive-ref/tree#/properties/branches/unevaluatedProperties", 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/branches/foo", 166s # "keywordLocation": "/$ref/properties/branches/unevaluatedProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-recursive-ref/tree#/properties/branches/unevaluatedProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/branches", 166s # "keywordLocation": "/$ref/properties/branches/unevaluatedProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-recursive-ref/tree#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-recursive-ref/tree#/properties/branches/unevaluatedProperties", 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/branches/foo", 166s # "keywordLocation": "/$ref/properties/branches/unevaluatedProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-recursive-ref/tree#/properties/branches/unevaluatedProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/branches", 166s # "keywordLocation": "/$ref/properties/branches/unevaluatedProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-recursive-ref/tree#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1075 - unevaluatedProperties.json: "unevaluatedProperties can't see inside cousins" - "always fails" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/allOf/1/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/1/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "subschema 1 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/allOf/1/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/1/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "subschema 1 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1076 - unevaluatedProperties.json: "unevaluatedProperties can't see inside cousins (reverse order)" - "always fails" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "subschema 0 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "subschema 0 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1077 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties outside" - "with no nested unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1078 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties outside" - "with nested unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1079 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties inside" - "with no nested unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1080 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties inside" - "with nested unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1081 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties outside" - "with no nested unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "subschema 0 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "subschema 0 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1082 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties outside" - "with nested unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "subschema 0 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "subschema 0 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1083 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties inside" - "with no nested unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1084 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties inside" - "with nested unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "subschema 0 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "subschema 0 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1085 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, true with properties" - "with no nested unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/allOf/1/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/1/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "subschema 1 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/allOf/1/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/1/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "subschema 1 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1086 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, true with properties" - "with nested unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/allOf/1/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/allOf/1/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/1/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "subschema 1 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/allOf/1/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/allOf/1/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/1/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "subschema 1 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1087 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, false with properties" - "with no nested unevaluated properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1088 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, false with properties" - "with nested unevaluated properties" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/allOf/1/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/1/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "subschema 1 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/allOf/1/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/1/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "subschema 1 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1089 - unevaluatedProperties.json: "property is evaluated in an uncle schema to unevaluatedProperties" - "no extra properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1090 - unevaluatedProperties.json: "property is evaluated in an uncle schema to unevaluatedProperties" - "uncle keyword evaluation is not significant" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo/faz", 166s # "keywordLocation": "/properties/foo/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo/faz", 166s # "keywordLocation": "/properties/foo/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/properties/foo/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1091 - unevaluatedProperties.json: "in-place applicator siblings, allOf has unevaluated" - "base case: both properties present" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "subschema 0 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "subschema 0 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1092 - unevaluatedProperties.json: "in-place applicator siblings, allOf has unevaluated" - "in place applicator siblings, bar is missing" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1093 - unevaluatedProperties.json: "in-place applicator siblings, allOf has unevaluated" - "in place applicator siblings, foo is missing" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "subschema 0 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "subschema 0 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1094 - unevaluatedProperties.json: "in-place applicator siblings, anyOf has unevaluated" - "base case: both properties present" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1095 - unevaluatedProperties.json: "in-place applicator siblings, anyOf has unevaluated" - "in place applicator siblings, bar is missing" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1096 - unevaluatedProperties.json: "in-place applicator siblings, anyOf has unevaluated" - "in place applicator siblings, foo is missing" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1097 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Empty is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1098 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Single is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1099 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Unevaluated on 1st level is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/y", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/y", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1100 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Nested is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1101 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Unevaluated on 2nd level is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/unevaluatedProperties", 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/x/y", 166s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/unevaluatedProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/x", 166s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/unevaluatedProperties", 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/x/y", 166s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/unevaluatedProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/x", 166s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1102 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Deep nested is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1103 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Unevaluated on 3rd level is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/unevaluatedProperties", 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/x/x/y", 166s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/unevaluatedProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/x/x", 166s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "/x", 166s # "keywordLocation": "/properties/x/$ref/properties" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/unevaluatedProperties", 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/x/x/y", 166s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/unevaluatedProperties", 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "/x/x", 166s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "/x", 166s # "keywordLocation": "/properties/x/$ref/properties" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1104 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "Empty is invalid (no x or y)" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/two/required", 166s # "error": "object is missing property: x", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 166s # }, 166s # { 166s # "error": "object is missing property: y", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/2/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/2/oneOf" 166s # }, 166s # { 166s # "error": "subschema 2 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/two/required", 166s # "error": "object is missing property: x", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 166s # }, 166s # { 166s # "error": "object is missing property: y", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/2/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/2/oneOf" 166s # }, 166s # { 166s # "error": "subschema 2 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1105 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b are invalid (no x or y)" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/two/required", 166s # "error": "object is missing property: x", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 166s # }, 166s # { 166s # "error": "object is missing property: y", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/2/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/2/oneOf" 166s # }, 166s # { 166s # "error": "subschema 2 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/two/required", 166s # "error": "object is missing property: x", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 166s # }, 166s # { 166s # "error": "object is missing property: y", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/2/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/2/oneOf" 166s # }, 166s # { 166s # "error": "subschema 2 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1106 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "x and y are invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/2/oneOf" 166s # }, 166s # { 166s # "error": "subschema 2 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/x", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/y", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/2/oneOf" 166s # }, 166s # { 166s # "error": "subschema 2 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/x", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/y", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1107 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and x are valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1108 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and y are valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1109 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b and x are valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1110 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b and y are valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1111 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b and x and y are invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/2/oneOf" 166s # }, 166s # { 166s # "error": "subschema 2 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/x", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/y", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf/2/oneOf" 166s # }, 166s # { 166s # "error": "subschema 2 is not valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/allOf" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/x", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/y", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1112 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "Empty is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/two/oneOf/0/required", 166s # "error": "object is missing property: c", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/0/required" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/two/oneOf/1/required", 166s # "error": "object is missing property: d", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/1/required" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 166s # "error": "object is missing property: b", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 166s # "error": "object is missing property: xx", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 166s # "error": "object is missing property: all", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf" 166s # }, 166s # { 166s # "error": "object is missing property: a", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/two/oneOf/0/required", 166s # "error": "object is missing property: c", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/0/required" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/two/oneOf/1/required", 166s # "error": "object is missing property: d", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/1/required" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 166s # "error": "object is missing property: b", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 166s # "error": "object is missing property: xx", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 166s # "error": "object is missing property: all", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf" 166s # }, 166s # { 166s # "error": "object is missing property: a", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1113 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1114 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "b is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1115 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "c is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1116 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "d is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1117 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a + b is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1118 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a + c is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1119 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a + d is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1120 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "b + c is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf" 166s # }, 166s # { 166s # "error": "object is missing property: a", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/b", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/c", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf" 166s # }, 166s # { 166s # "error": "object is missing property: a", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/b", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/c", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1121 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "b + d is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf" 166s # }, 166s # { 166s # "error": "object is missing property: a", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/b", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/d", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf" 166s # }, 166s # { 166s # "error": "object is missing property: a", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/b", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/d", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1122 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "c + d is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 166s # "error": "object is missing property: b", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 166s # "error": "object is missing property: xx", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 166s # "error": "object is missing property: all", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf" 166s # }, 166s # { 166s # "error": "object is missing property: a", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/c", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/d", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 166s # "error": "object is missing property: b", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 166s # "error": "object is missing property: xx", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 166s # "error": "object is missing property: all", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf" 166s # }, 166s # { 166s # "error": "object is missing property: a", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/c", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/d", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1123 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1124 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + foox is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1125 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + foo is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1126 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + a is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1127 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + b is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 166s # "error": "multiple subschemas are valid: 1, 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf" 166s # }, 166s # { 166s # "error": "object is missing property: a", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/b", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/xx", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 166s # "error": "multiple subschemas are valid: 1, 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf" 166s # }, 166s # { 166s # "error": "object is missing property: a", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/b", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/xx", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1128 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + c is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 166s # "error": "multiple subschemas are valid: 0, 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf" 166s # }, 166s # { 166s # "error": "object is missing property: a", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/c", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/xx", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 166s # "error": "multiple subschemas are valid: 0, 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf" 166s # }, 166s # { 166s # "error": "object is missing property: a", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/c", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/xx", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1129 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + d is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 166s # "error": "multiple subschemas are valid: 0, 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf" 166s # }, 166s # { 166s # "error": "object is missing property: a", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/d", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/xx", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 166s # "error": "multiple subschemas are valid: 0, 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/0/$ref/oneOf" 166s # }, 166s # { 166s # "error": "object is missing property: a", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf/1/required" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/d", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/xx", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1130 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "all is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1131 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "all + foo is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1132 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "all + a is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "multiple subschemas are valid: 0, 1", 166s # "instanceLocation": "", 166s # "keywordLocation": "/oneOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1133 - unevaluatedProperties.json: "non-object instances are valid" - "ignores booleans" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1134 - unevaluatedProperties.json: "non-object instances are valid" - "ignores integers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1135 - unevaluatedProperties.json: "non-object instances are valid" - "ignores floats" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1136 - unevaluatedProperties.json: "non-object instances are valid" - "ignores arrays" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1137 - unevaluatedProperties.json: "non-object instances are valid" - "ignores strings" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1138 - unevaluatedProperties.json: "non-object instances are valid" - "ignores null" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1139 - unevaluatedProperties.json: "unevaluatedProperties with null valued instance properties" - "allows null valued properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1140 - unevaluatedProperties.json: "unevaluatedProperties not affected by propertyNames" - "allows only number properties" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1141 - unevaluatedProperties.json: "unevaluatedProperties not affected by propertyNames" - "string property is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not number", 166s # "instanceLocation": "/a", 166s # "keywordLocation": "/unevaluatedProperties/type" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not number", 166s # "instanceLocation": "/a", 166s # "keywordLocation": "/unevaluatedProperties/type" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1142 - unevaluatedProperties.json: "unevaluatedProperties can see annotations from if without then and else" - "valid in case if is evaluated" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1143 - unevaluatedProperties.json: "unevaluatedProperties can see annotations from if without then and else" - "invalid in case if is evaluated" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1144 - unevaluatedProperties.json: "dependentSchemas with unevaluatedProperties" - "unevaluatedProperties doesn't consider dependentSchemas" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/foo", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1145 - unevaluatedProperties.json: "dependentSchemas with unevaluatedProperties" - "unevaluatedProperties doesn't see bar when foo2 is absent" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/unevaluatedProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/unevaluatedProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1146 - unevaluatedProperties.json: "dependentSchemas with unevaluatedProperties" - "unevaluatedProperties sees bar when foo2 is present" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s # 166s ok 1147 - uniqueItems.json: "uniqueItems validation" - "unique array of integers is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1148 - uniqueItems.json: "uniqueItems validation" - "non-unique array of integers is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1149 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two integers is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 2 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 2 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1150 - uniqueItems.json: "uniqueItems validation" - "numbers are unique if mathematically unequal" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1151 - uniqueItems.json: "uniqueItems validation" - "false is not equal to zero" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1152 - uniqueItems.json: "uniqueItems validation" - "true is not equal to one" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1153 - uniqueItems.json: "uniqueItems validation" - "unique array of strings is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1154 - uniqueItems.json: "uniqueItems validation" - "non-unique array of strings is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 2 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 2 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1155 - uniqueItems.json: "uniqueItems validation" - "unique array of objects is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1156 - uniqueItems.json: "uniqueItems validation" - "non-unique array of objects is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1157 - uniqueItems.json: "uniqueItems validation" - "property order of array of objects is ignored" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1158 - uniqueItems.json: "uniqueItems validation" - "unique array of nested objects is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1159 - uniqueItems.json: "uniqueItems validation" - "non-unique array of nested objects is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1160 - uniqueItems.json: "uniqueItems validation" - "unique array of arrays is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1161 - uniqueItems.json: "uniqueItems validation" - "non-unique array of arrays is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1162 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two arrays is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 2 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 2 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1163 - uniqueItems.json: "uniqueItems validation" - "1 and true are unique" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1164 - uniqueItems.json: "uniqueItems validation" - "0 and false are unique" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1165 - uniqueItems.json: "uniqueItems validation" - "[1] and [true] are unique" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1166 - uniqueItems.json: "uniqueItems validation" - "[0] and [false] are unique" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1167 - uniqueItems.json: "uniqueItems validation" - "nested [1] and [true] are unique" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1168 - uniqueItems.json: "uniqueItems validation" - "nested [0] and [false] are unique" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1169 - uniqueItems.json: "uniqueItems validation" - "unique heterogeneous types are valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1170 - uniqueItems.json: "uniqueItems validation" - "non-unique heterogeneous types are invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 4 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 4 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1171 - uniqueItems.json: "uniqueItems validation" - "different objects are unique" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1172 - uniqueItems.json: "uniqueItems validation" - "objects are non-unique despite key order" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1173 - uniqueItems.json: "uniqueItems validation" - "{"a": false} and {"a": 0} are unique" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1174 - uniqueItems.json: "uniqueItems validation" - "{"a": true} and {"a": 1} are unique" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1175 - uniqueItems.json: "uniqueItems with an array of items" - "[false, true] from items array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1176 - uniqueItems.json: "uniqueItems with an array of items" - "[true, false] from items array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1177 - uniqueItems.json: "uniqueItems with an array of items" - "[false, false] from items array is not valid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1178 - uniqueItems.json: "uniqueItems with an array of items" - "[true, true] from items array is not valid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1179 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [false, true] is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1180 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [true, false] is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1181 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [false, true] is not valid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 2 and 3 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 2 and 3 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1182 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [true, false] is not valid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 2 and 3 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 2 and 3 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1183 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1184 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1185 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, false] from items array is not valid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1186 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, true] from items array is not valid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "items at indices 0 and 1 are not unique", 166s # "instanceLocation": "", 166s # "keywordLocation": "/uniqueItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1187 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/2", 166s # "keywordLocation": "/additionalItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/2", 166s # "keywordLocation": "/additionalItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1188 - uniqueItems.json: "uniqueItems=false validation" - "unique array of integers is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1189 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of integers is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1190 - uniqueItems.json: "uniqueItems=false validation" - "numbers are unique if mathematically unequal" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1191 - uniqueItems.json: "uniqueItems=false validation" - "false is not equal to zero" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1192 - uniqueItems.json: "uniqueItems=false validation" - "true is not equal to one" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1193 - uniqueItems.json: "uniqueItems=false validation" - "unique array of objects is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1194 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of objects is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1195 - uniqueItems.json: "uniqueItems=false validation" - "unique array of nested objects is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1196 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of nested objects is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1197 - uniqueItems.json: "uniqueItems=false validation" - "unique array of arrays is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1198 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of arrays is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1199 - uniqueItems.json: "uniqueItems=false validation" - "1 and true are unique" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1200 - uniqueItems.json: "uniqueItems=false validation" - "0 and false are unique" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1201 - uniqueItems.json: "uniqueItems=false validation" - "unique heterogeneous types are valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1202 - uniqueItems.json: "uniqueItems=false validation" - "non-unique heterogeneous types are valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1203 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, true] from items array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1204 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, false] from items array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1205 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, false] from items array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1206 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, true] from items array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1207 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [false, true] is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1208 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [true, false] is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1209 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [false, true] is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1210 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [true, false] is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1211 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1212 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1213 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, false] from items array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1214 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, true] from items array is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1215 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/2", 166s # "keywordLocation": "/additionalItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional item not permitted", 166s # "instanceLocation": "/2", 166s # "keywordLocation": "/additionalItems" 166s # }, 166s # { 166s # "error": "subschema is not valid against all additional items", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 1216 - vocabulary.json: "schema that uses custom metaschema with with no validation vocabulary" - "applicator vocabulary still works" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties/badProperty", 166s # "error": "property not permitted", 166s # "instanceLocation": "/badProperty", 166s # "keywordLocation": "/properties/badProperty" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties/badProperty", 166s # "error": "property not permitted", 166s # "instanceLocation": "/badProperty", 166s # "keywordLocation": "/properties/badProperty" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties", 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/properties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1217 - vocabulary.json: "schema that uses custom metaschema with with no validation vocabulary" - "no validation: valid number" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1218 - vocabulary.json: "schema that uses custom metaschema with with no validation vocabulary" - "no validation: invalid number, but it still validates" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1219 - vocabulary.json: "ignore unrecognized optional vocabulary" - "string value" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not number", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1220 - vocabulary.json: "ignore unrecognized optional vocabulary" - "number value" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s # 166s ok 1221 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "exact match to enum, and type matches" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1222 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "in implementations that strip $anchor, this may match either $def" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/$ref/enum" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/type" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/$ref/enum" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 166s # "error": "got object, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/type" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1223 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "match $ref to $anchor" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1224 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "no match on enum or $ref to $anchor" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/$ref/enum" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/type" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/$ref/enum" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/type" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 1225 - optional/bignum.json: "integer" - "a bignum is an integer" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1226 - optional/bignum.json: "integer" - "a negative bignum is an integer" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1227 - optional/bignum.json: "number" - "a bignum is a number" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1228 - optional/bignum.json: "number" - "a negative bignum is a number" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1229 - optional/bignum.json: "string" - "a bignum is not a string" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/nested/string.json#/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/type" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1230 - optional/bignum.json: "maximum integer comparison" - "comparison works for high numbers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1231 - optional/bignum.json: "float comparison with high precision" - "comparison works for high numbers" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 166s # "instanceLocation": "", 166s # "keywordLocation": "/exclusiveMaximum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 166s # "instanceLocation": "", 166s # "keywordLocation": "/exclusiveMaximum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1232 - optional/bignum.json: "minimum integer comparison" - "comparison works for very negative numbers" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1233 - optional/bignum.json: "float comparison with high precision on negative numbers" - "comparison works for very negative numbers" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 166s # "instanceLocation": "", 166s # "keywordLocation": "/exclusiveMinimum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 166s # "instanceLocation": "", 166s # "keywordLocation": "/exclusiveMinimum" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 1234 - optional/cross-draft.json: "refs to future drafts are processed as future drafts" - "first item not a string is invalid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/prefixItems.json#/prefixItems/0/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/$ref/prefixItems/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/prefixItems.json#/prefixItems", 166s # "error": "not all items are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/prefixItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/prefixItems.json#/prefixItems/0/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "/0", 166s # "keywordLocation": "/$ref/prefixItems/0/type" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/prefixItems.json#/prefixItems", 166s # "error": "not all items are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref/prefixItems" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1235 - optional/cross-draft.json: "refs to future drafts are processed as future drafts" - "first item is a string is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1236 - optional/cross-draft.json: "refs to historic drafts are processed as historic drafts" - "missing bar is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s # 166s ok 1237 - optional/dependencies-compatibility.json: "single dependency" - "neither" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1238 - optional/dependencies-compatibility.json: "single dependency" - "nondependant" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1239 - optional/dependencies-compatibility.json: "single dependency" - "with dependency" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1240 - optional/dependencies-compatibility.json: "single dependency" - "missing dependency" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "{\"bar\":2}" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"bar\":[\"foo\"]}}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1241 - optional/dependencies-compatibility.json: "single dependency" - "ignores arrays" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1242 - optional/dependencies-compatibility.json: "single dependency" - "ignores strings" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1243 - optional/dependencies-compatibility.json: "single dependency" - "ignores other non-objects" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1244 - optional/dependencies-compatibility.json: "empty dependents" - "empty object" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1245 - optional/dependencies-compatibility.json: "empty dependents" - "object with one property" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1246 - optional/dependencies-compatibility.json: "empty dependents" - "non-object is valid" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1247 - optional/dependencies-compatibility.json: "multiple dependents required" - "neither" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1248 - optional/dependencies-compatibility.json: "multiple dependents required" - "nondependants" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1249 - optional/dependencies-compatibility.json: "multiple dependents required" - "with dependencies" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1250 - optional/dependencies-compatibility.json: "multiple dependents required" - "missing dependency" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "{\"foo\":1,\"quux\":2}" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"quux\":[\"foo\",\"bar\"]}}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1251 - optional/dependencies-compatibility.json: "multiple dependents required" - "missing other dependency" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "{\"bar\":1,\"quux\":2}" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"quux\":[\"foo\",\"bar\"]}}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1252 - optional/dependencies-compatibility.json: "multiple dependents required" - "missing both dependencies" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "{\"quux\":1}" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"quux\":[\"foo\",\"bar\"]}}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1253 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "CRLF" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1254 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "quoted quotes" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1255 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "CRLF missing dependent" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "{\"foo\":2,\"foo\\nbar\":1}" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"foo\\nbar\":[\"foo\\rbar\"],\"foo\\\"bar\":[\"foo'bar\"]}}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1256 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "quoted quotes missing dependent" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "{\"foo\\\"bar\":2}" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"foo\\nbar\":[\"foo\\rbar\"],\"foo\\\"bar\":[\"foo'bar\"]}}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1257 - optional/dependencies-compatibility.json: "single schema dependency" - "valid" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1258 - optional/dependencies-compatibility.json: "single schema dependency" - "no dependency" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1259 - optional/dependencies-compatibility.json: "single schema dependency" - "wrong type" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "{\"bar\":2,\"foo\":\"quux\"}" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"bar\":{\"properties\":{\"bar\":{\"type\":\"integer\"},\"foo\":{\"type\":\"integer\"}}}}}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1260 - optional/dependencies-compatibility.json: "single schema dependency" - "wrong type other" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "{\"bar\":\"quux\",\"foo\":2}" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"bar\":{\"properties\":{\"bar\":{\"type\":\"integer\"},\"foo\":{\"type\":\"integer\"}}}}}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1261 - optional/dependencies-compatibility.json: "single schema dependency" - "wrong type both" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "{\"bar\":\"quux\",\"foo\":\"quux\"}" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"bar\":{\"properties\":{\"bar\":{\"type\":\"integer\"},\"foo\":{\"type\":\"integer\"}}}}}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1262 - optional/dependencies-compatibility.json: "single schema dependency" - "ignores arrays" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1263 - optional/dependencies-compatibility.json: "single schema dependency" - "ignores strings" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1264 - optional/dependencies-compatibility.json: "single schema dependency" - "ignores other non-objects" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1265 - optional/dependencies-compatibility.json: "boolean subschemas" - "object with property having schema true is valid" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1266 - optional/dependencies-compatibility.json: "boolean subschemas" - "object with property having schema false is invalid" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "{\"bar\":2}" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"bar\":false,\"foo\":true}}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1267 - optional/dependencies-compatibility.json: "boolean subschemas" - "object with both properties is invalid" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "{\"bar\":2,\"foo\":1}" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"bar\":false,\"foo\":true}}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1268 - optional/dependencies-compatibility.json: "boolean subschemas" - "empty object is valid" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1269 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted tab" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1270 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted quote" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "{\"foo'bar\":{\"foo\\\"bar\":1}}" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"foo\\tbar\":{\"minProperties\":4},\"foo'bar\":{\"required\":[\"foo\\\"bar\"]}}}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1271 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted tab invalid under dependent schema" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "{\"a\":2,\"foo\\tbar\":1}" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"foo\\tbar\":{\"minProperties\":4},\"foo'bar\":{\"required\":[\"foo\\\"bar\"]}}}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1272 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted quote invalid under dependent schema" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "{\"foo'bar\":1}" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"dependencies\":{\"foo\\tbar\":{\"minProperties\":4},\"foo'bar\":{\"required\":[\"foo\\\"bar\"]}}}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s # 166s ok 1273 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches in Python, but not in ECMA 262" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1274 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1275 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "does not match" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1276 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "matches" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1277 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "does not match" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1278 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "matches" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1279 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "does not match" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1280 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "matches" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1281 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "ASCII zero matches" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1282 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "NKO DIGIT ZERO does not match (unlike e.g. Python)" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "\"߀\"" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1283 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "NKO DIGIT ZERO (as \u escape) does not match" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "\"߀\"" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1284 - optional/ecmascript-regex.json: "ECMA 262 \D matches everything but ascii digits" - "ASCII zero does not match" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false # 166s 1..1 166s } 166s ok 1285 - optional/ecmascript-regex.json: "ECMA 262 \D matches everything but ascii digits" - "NKO DIGIT ZERO matches (unlike e.g. Python)" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected true; got false 166s # data: "\"߀\"" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s 1..1 166s } 166s ok 1286 - optional/ecmascript-regex.json: "ECMA 262 \D matches everything but ascii digits" - "NKO DIGIT ZERO (as \u escape) matches" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected true; got false 166s # data: "\"߀\"" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s 1..1 166s } 166s ok 1287 - optional/ecmascript-regex.json: "ECMA 262 \w matches ascii letters only" - "ASCII 'a' matches" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true # 166s 1..1 166s } 166s ok 1288 - optional/ecmascript-regex.json: "ECMA 262 \w matches ascii letters only" - "latin-1 e-acute does not match (unlike e.g. Python)" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "\"é\"" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\w$\",\"type\":\"string\"}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1289 - optional/ecmascript-regex.json: "ECMA 262 \W matches everything but ascii letters" - "ASCII 'a' does not match" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false # 166s 1..1 166s } 166s ok 1290 - optional/ecmascript-regex.json: "ECMA 262 \W matches everything but ascii letters" - "latin-1 e-acute matches (unlike e.g. Python)" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected true; got false 166s # data: "\"é\"" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\W$\",\"type\":\"string\"}" 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s 1..1 166s } 166s ok 1291 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "ASCII space matches" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1292 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Character tabulation matches" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1293 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Line tabulation matches" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1294 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Form feed matches" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1295 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "latin-1 non-breaking-space matches" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1296 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "zero-width whitespace matches" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected true; got false 166s # data: "\"\"" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\s$\",\"type\":\"string\"}" 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s 1..1 166s } 166s ok 1297 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "line feed matches (line terminator)" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1298 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "paragraph separator matches (line terminator)" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1299 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "EM SPACE matches (Space_Separator)" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1300 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace control does not match" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1301 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace does not match" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1302 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "ASCII space does not match" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1303 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Character tabulation does not match" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1304 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Line tabulation does not match" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1305 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Form feed does not match" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1306 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "latin-1 non-breaking-space does not match" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1307 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "zero-width whitespace does not match" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "\"\"" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\S$\",\"type\":\"string\"}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1308 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "line feed does not match (line terminator)" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1309 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "paragraph separator does not match (line terminator)" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1310 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "EM SPACE does not match (Space_Separator)" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1311 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace control matches" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1312 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace matches" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1313 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "ascii character in json string" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1314 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "literal unicode character in json string" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1315 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode character in hex format in string" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1316 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode matching is case-sensitive" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1317 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1318 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "literal unicode character in json string" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "\"Les hivers de mon enfance étaient des saisons longues, longues. Nous vivions en trois lieux: l'école, l'église et la patinoire; mais la vraie vie était sur la patinoire.\"" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"\\\\wcole\"}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1319 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "unicode character in hex format in string" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "\"Les hivers de mon enfance étaient des saisons longues, longues. Nous vivions en trois lieux: l'école, l'église et la patinoire; mais la vraie vie était sur la patinoire.\"" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"\\\\wcole\"}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1320 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1321 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "literal unicode character in json string" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1322 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "unicode character in hex format in string" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1323 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "ascii characters match" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1324 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii digits" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1325 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii non-digits" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1326 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "\"৪২\"" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"pattern\":\"^\\\\d+$\"}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1327 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii digits" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1328 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii non-digits" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1329 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1330 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "ascii character in json string" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1331 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "literal unicode character in json string" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1332 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode character in hex format in string" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1333 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode matching is case-sensitive" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/L'ÉCOLE", 166s # "keywordLocation": "/additionalProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/L'ÉCOLE", 166s # "keywordLocation": "/additionalProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1334 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1335 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "literal unicode character in json string" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "{\"l'école\":\"pas de vraie vie\"}" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1336 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "unicode character in hex format in string" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "{\"l'école\":\"pas de vraie vie\"}" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1337 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/L'ÉCOLE", 166s # "keywordLocation": "/additionalProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/L'ÉCOLE", 166s # "keywordLocation": "/additionalProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1338 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "literal unicode character in json string" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/l'école", 166s # "keywordLocation": "/additionalProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/l'école", 166s # "keywordLocation": "/additionalProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1339 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "unicode character in hex format in string" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/l'école", 166s # "keywordLocation": "/additionalProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/l'école", 166s # "keywordLocation": "/additionalProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1340 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "ascii characters match" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1341 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii digits" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1342 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii non-digits" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/-%#", 166s # "keywordLocation": "/additionalProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/-%#", 166s # "keywordLocation": "/additionalProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1343 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected false; got true 166s # data: "{\"৪২\":\"khajit has wares if you have coin\"}" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"additionalProperties\":false,\"patternProperties\":{\"^\\\\d+$\":true},\"type\":\"object\"}" 166s # result: { 166s # "valid": true 166s # } 166s 1..1 166s } 166s ok 1344 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii digits" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1345 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii non-digits" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/-%#", 166s # "keywordLocation": "/additionalProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "additional property not permitted", 166s # "instanceLocation": "/-%#", 166s # "keywordLocation": "/additionalProperties" 166s # }, 166s # { 166s # "error": "not all additional properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/additionalProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1346 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s # 166s ok 1347 - optional/float-overflow.json: "all integers are multiples of 0.5, if overflow is handled" - "valid if optional overflow handling is implemented" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s # 166s ok 1348 - optional/id.json: "$id inside an enum is not a real identifier" - "exact match to enum, and type matches" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1349 - optional/id.json: "$id inside an enum is not a real identifier" - "match $ref to $id" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1350 - optional/id.json: "$id inside an enum is not a real identifier" - "no match on enum or $ref to $id" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/id_in_enum/enum", 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/$ref/enum" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://localhost:1234/draft2019-09/id/my_identifier.json#/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/type" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/id_in_enum/enum", 166s # "error": "value does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/$ref/enum" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://localhost:1234/draft2019-09/id/my_identifier.json#/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/type" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 1351 - optional/no-schema.json: "validation without $schema" - "a 3-character string is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1352 - optional/no-schema.json: "validation without $schema" - "a 1-character string is not valid" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "length is less than 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minLength" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "length is less than 2", 166s # "instanceLocation": "", 166s # "keywordLocation": "/minLength" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1353 - optional/no-schema.json: "validation without $schema" - "a non-string is valid" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s # 166s ok 1354 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches empty" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1355 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches single" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1356 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches two" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1357 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1358 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1359 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one ASCII" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1360 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two ASCII" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "pattern does not match", 166s # "instanceLocation": "", 166s # "keywordLocation": "/pattern" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1361 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches empty" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1362 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches single" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1363 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches two" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1364 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match one" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not integer", 166s # "instanceLocation": "/🐲", 166s # "keywordLocation": "/patternProperties/^🐲*$/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not integer", 166s # "instanceLocation": "/🐲", 166s # "keywordLocation": "/patternProperties/^🐲*$/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1365 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match two" { 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not integer", 166s # "instanceLocation": "/🐲🐲", 166s # "keywordLocation": "/patternProperties/^🐲*$/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "got string, not integer", 166s # "instanceLocation": "/🐲🐲", 166s # "keywordLocation": "/patternProperties/^🐲*$/type" 166s # }, 166s # { 166s # "error": "not all properties are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/patternProperties" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s ok 1366 - optional/refOfUnknownKeyword.json: "reference of a root arbitrary keyword " - "match" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/properties/bar/$ref" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/properties/bar/$ref" 166s # } 166s # ], 166s # "valid": false 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected true; got false 166s # data: "{\"bar\":3}" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"properties\":{\"bar\":{\"$ref\":\"#/unknown-keyword\"}},\"unknown-keyword\":{\"type\":\"integer\"}}" 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/properties/bar/$ref" 166s # } 166s # ], 166s # "valid": false 166s # } 166s 1..1 166s } 166s ok 1367 - optional/refOfUnknownKeyword.json: "reference of a root arbitrary keyword " - "mismatch" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/properties/bar/$ref" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/properties/bar/$ref" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false # 166s 1..1 166s } 166s ok 1368 - optional/refOfUnknownKeyword.json: "reference of an arbitrary keyword of a sub-schema" - "match" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/properties/bar/$ref" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/properties/bar/$ref" 166s # } 166s # ], 166s # "valid": false 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected true; got false 166s # data: "{\"bar\":3}" 166s # schema: "{\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"properties\":{\"bar\":{\"$ref\":\"#/properties/foo/unknown-keyword\"},\"foo\":{\"unknown-keyword\":{\"type\":\"integer\"}}}}" 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/properties/bar/$ref" 166s # } 166s # ], 166s # "valid": false 166s # } 166s 1..1 166s } 166s ok 1369 - optional/refOfUnknownKeyword.json: "reference of an arbitrary keyword of a sub-schema" - "mismatch" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "errors": [ 166s # { 166s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/properties/bar/$ref" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 166s # "instanceLocation": "/bar", 166s # "keywordLocation": "/properties/bar/$ref" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false # 166s 1..1 166s } 166s ok 1370 - optional/refOfUnknownKeyword.json: "reference internals of known non-applicator" - "match" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "/base#/$ref", 166s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "/base#/$ref", 166s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref" 166s # } 166s # ], 166s # "valid": false 166s # } 166s not ok 1 - evaluation result is incorrect # 166s # Failed test (with amnesty) 'evaluation result is incorrect' 166s # at t/zzz-acceptance-draft2019-09.t line 52. 166s # expected true; got false 166s # data: "\"a string\"" 166s # schema: "{\"$id\":\"/base\",\"$ref\":\"#/examples/0\",\"$schema\":\"https://json-schema.org/draft/2019-09/schema\",\"examples\":[{\"type\":\"string\"}]}" 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "/base#/$ref", 166s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref" 166s # } 166s # ], 166s # "valid": false 166s # } 166s 1..1 166s } 166s ok 1371 - optional/refOfUnknownKeyword.json: "reference internals of known non-applicator" - "mismatch" { # TODO Test marked TODO via "todo_tests" 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "/base#/$ref", 166s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "/base#/$ref", 166s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 166s # "instanceLocation": "", 166s # "keywordLocation": "/$ref" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false # 166s 1..1 166s } 166s # 166s ok 1372 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches second anyOf, which has a real schema in it" { 166s # result: { 166s # "valid": true 166s # } 166s # short-circuited result: { 166s # "valid": true 166s # } 166s ok 1 - test passes: data is valid: true 166s 1..1 166s } 166s ok 1373 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in first anyOf" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/$ref/not" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/not" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://localhost:1234/draft2019-09/unknownKeyword/my_identifier.json#/type", 166s # "error": "got null, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/2/$ref/type" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/$ref/not" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/not" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://localhost:1234/draft2019-09/unknownKeyword/my_identifier.json#/type", 166s # "error": "got null, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/2/$ref/type" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s ok 1374 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in third anyOf" { 166s # result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/$ref/not" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/not" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://localhost:1234/draft2019-09/unknownKeyword/my_identifier.json#/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/2/$ref/type" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s # short-circuited result: { 166s # "errors": [ 166s # { 166s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/0/$ref/not" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 166s # "error": "subschema is valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/1/$ref/not" 166s # }, 166s # { 166s # "absoluteKeywordLocation": "https://localhost:1234/draft2019-09/unknownKeyword/my_identifier.json#/type", 166s # "error": "got integer, not string", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf/2/$ref/type" 166s # }, 166s # { 166s # "error": "no subschemas are valid", 166s # "instanceLocation": "", 166s # "keywordLocation": "/anyOf" 166s # } 166s # ], 166s # "valid": false 166s # } 166s ok 1 - test passes: data is valid: false 166s 1..1 166s } 166s # 166s # 166s # generated with: Test::JSON::Schema::Acceptance 1.026 166s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 166s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 166s # specification version: draft2019-09 166s # optional tests included: yes 166s # skipping directory: optional/format 166s # 166s # filename pass todo-fail fail 166s # --------------------------------------------------------------- 166s # additionalItems.json 20 0 0 166s # additionalProperties.json 21 0 0 166s # allOf.json 30 0 0 166s # anchor.json 8 0 0 166s # anyOf.json 18 0 0 166s # boolean_schema.json 18 0 0 166s # const.json 50 0 0 166s # contains.json 21 0 0 166s # content.json 18 0 0 166s # default.json 7 0 0 166s # defs.json 2 0 0 166s # dependentRequired.json 20 0 0 166s # dependentSchemas.json 20 0 0 166s # enum.json 45 0 0 166s # exclusiveMaximum.json 4 0 0 166s # exclusiveMinimum.json 4 0 0 166s # format.json 114 0 0 166s # if-then-else.json 26 0 0 166s # infinite-loop-detection.json 2 0 0 166s # items.json 28 0 0 166s # maxContains.json 12 0 0 166s # maxItems.json 6 0 0 166s # maxLength.json 7 0 0 166s # maxProperties.json 10 0 0 166s # maximum.json 8 0 0 166s # minContains.json 28 0 0 166s # minItems.json 6 0 0 166s # minLength.json 7 0 0 166s # minProperties.json 8 0 0 166s # minimum.json 11 0 0 166s # multipleOf.json 10 0 0 166s # not.json 40 0 0 166s # oneOf.json 27 0 0 166s # pattern.json 9 0 0 166s # patternProperties.json 23 0 0 166s # properties.json 28 0 0 166s # propertyNames.json 13 0 0 166s # recursiveRef.json 34 0 0 166s # ref.json 79 0 0 166s # refRemote.json 31 0 0 166s # required.json 16 0 0 166s # type.json 80 0 0 166s # unevaluatedItems.json 55 0 0 166s # unevaluatedProperties.json 122 0 0 166s # uniqueItems.json 69 0 0 166s # vocabulary.json 5 0 0 166s # optional/anchor.json 4 0 0 166s # optional/bignum.json 9 0 0 166s # optional/cross-draft.json 3 0 0 166s # optional/dependencies-compatibility.json 22 14 0 166s # optional/ecmascript-regex.json 60 14 0 166s # optional/float-overflow.json 1 0 0 166s # optional/id.json 3 0 0 166s # optional/no-schema.json 3 0 0 166s # optional/non-bmp-regex.json 12 0 0 166s # optional/refOfUnknownKeyword.json 3 3 0 166s # optional/unknownKeyword.json 3 0 0 166s # --------------------------------------------------------------- 166s # TOTAL 1343 31 0 166s # 166s # Congratulations, all non-optional tests are passing! 166s # 166s ok 1375 - no leaks in the main evaluator object 166s ok 1376 - no leaks in the short-circuiting evaluator object 166s 1..1376 166s ok 167s t/zzz-acceptance-draft2020-12-format.t .. 167s # AUTHOR_TESTING: 167s # AUTOMATED_TESTING: 1 167s # EXTENDED_TESTING: 167s # NO_TODO: 167s # TEST_DIR: 167s # NO_SHORT_CIRCUIT: 167s # 167s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft2020-12/optional/format against draft2020-12... 167s # 167s ok 1 - date-time.json: "validation of date-time strings" - "all string formats ignore integers" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 2 - date-time.json: "validation of date-time strings" - "all string formats ignore floats" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 3 - date-time.json: "validation of date-time strings" - "all string formats ignore objects" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 4 - date-time.json: "validation of date-time strings" - "all string formats ignore arrays" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 5 - date-time.json: "validation of date-time strings" - "all string formats ignore booleans" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 6 - date-time.json: "validation of date-time strings" - "all string formats ignore nulls" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 7 - date-time.json: "validation of date-time strings" - "a valid date-time string" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 8 - date-time.json: "validation of date-time strings" - "a valid date-time string without second fraction" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 9 - date-time.json: "validation of date-time strings" - "a valid date-time string with plus offset" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 10 - date-time.json: "validation of date-time strings" - "a valid date-time string with minus offset" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 11 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, UTC" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 12 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, with minus offset" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 13 - date-time.json: "validation of date-time strings" - "an invalid date-time past leap second, UTC" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 14 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong minute, UTC" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 15 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong hour, UTC" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 16 - date-time.json: "validation of date-time strings" - "an invalid day in date-time string" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 17 - date-time.json: "validation of date-time strings" - "an invalid offset in date-time string" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 18 - date-time.json: "validation of date-time strings" - "an invalid closing Z after time-zone offset" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 19 - date-time.json: "validation of date-time strings" - "an invalid date-time string" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 20 - date-time.json: "validation of date-time strings" - "case-insensitive T and Z" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 21 - date-time.json: "validation of date-time strings" - "only RFC3339 not all of ISO 8601 are valid" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 22 - date-time.json: "validation of date-time strings" - "invalid non-padded month dates" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 23 - date-time.json: "validation of date-time strings" - "invalid non-padded day dates" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 24 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in date portion" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 25 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in time portion" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date-time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s # 167s ok 26 - date.json: "validation of date strings" - "all string formats ignore integers" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 27 - date.json: "validation of date strings" - "all string formats ignore floats" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 28 - date.json: "validation of date strings" - "all string formats ignore objects" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 29 - date.json: "validation of date strings" - "all string formats ignore arrays" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 30 - date.json: "validation of date strings" - "all string formats ignore booleans" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 31 - date.json: "validation of date strings" - "all string formats ignore nulls" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 32 - date.json: "validation of date strings" - "a valid date string" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 33 - date.json: "validation of date strings" - "a valid date string with 31 days in January" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 34 - date.json: "validation of date strings" - "a invalid date string with 32 days in January" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 35 - date.json: "validation of date strings" - "a valid date string with 28 days in February (normal)" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 36 - date.json: "validation of date strings" - "a invalid date string with 29 days in February (normal)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 37 - date.json: "validation of date strings" - "a valid date string with 29 days in February (leap)" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 38 - date.json: "validation of date strings" - "a invalid date string with 30 days in February (leap)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 39 - date.json: "validation of date strings" - "a valid date string with 31 days in March" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 40 - date.json: "validation of date strings" - "a invalid date string with 32 days in March" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 41 - date.json: "validation of date strings" - "a valid date string with 30 days in April" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 42 - date.json: "validation of date strings" - "a invalid date string with 31 days in April" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 43 - date.json: "validation of date strings" - "a valid date string with 31 days in May" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 44 - date.json: "validation of date strings" - "a invalid date string with 32 days in May" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 45 - date.json: "validation of date strings" - "a valid date string with 30 days in June" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 46 - date.json: "validation of date strings" - "a invalid date string with 31 days in June" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 47 - date.json: "validation of date strings" - "a valid date string with 31 days in July" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 48 - date.json: "validation of date strings" - "a invalid date string with 32 days in July" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 49 - date.json: "validation of date strings" - "a valid date string with 31 days in August" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 50 - date.json: "validation of date strings" - "a invalid date string with 32 days in August" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 51 - date.json: "validation of date strings" - "a valid date string with 30 days in September" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 52 - date.json: "validation of date strings" - "a invalid date string with 31 days in September" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 53 - date.json: "validation of date strings" - "a valid date string with 31 days in October" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 54 - date.json: "validation of date strings" - "a invalid date string with 32 days in October" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 55 - date.json: "validation of date strings" - "a valid date string with 30 days in November" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 56 - date.json: "validation of date strings" - "a invalid date string with 31 days in November" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 57 - date.json: "validation of date strings" - "a valid date string with 31 days in December" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 58 - date.json: "validation of date strings" - "a invalid date string with 32 days in December" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 59 - date.json: "validation of date strings" - "a invalid date string with invalid month" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 60 - date.json: "validation of date strings" - "an invalid date string" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 61 - date.json: "validation of date strings" - "only RFC3339 not all of ISO 8601 are valid" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 62 - date.json: "validation of date strings" - "non-padded month dates are not valid" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 63 - date.json: "validation of date strings" - "non-padded day dates are not valid" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 64 - date.json: "validation of date strings" - "invalid month" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 65 - date.json: "validation of date strings" - "invalid month-day combination" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 66 - date.json: "validation of date strings" - "2021 is not a leap year" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 67 - date.json: "validation of date strings" - "2020 is a leap year" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 68 - date.json: "validation of date strings" - "invalid non-ASCII '৪' (a Bengali 4)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 69 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: YYYYMMDD without dashes (2023-03-28)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 70 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number implicit day of week (2023-01-02)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 71 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number with day of week (2023-03-28)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 72 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number rollover to next year (2023-01-01)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid date", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s # 167s ok 73 - duration.json: "validation of duration strings" - "all string formats ignore integers" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 74 - duration.json: "validation of duration strings" - "all string formats ignore floats" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 75 - duration.json: "validation of duration strings" - "all string formats ignore objects" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 76 - duration.json: "validation of duration strings" - "all string formats ignore arrays" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 77 - duration.json: "validation of duration strings" - "all string formats ignore booleans" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 78 - duration.json: "validation of duration strings" - "all string formats ignore nulls" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 79 - duration.json: "validation of duration strings" - "a valid duration string" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 80 - duration.json: "validation of duration strings" - "an invalid duration string" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid duration", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid duration", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 81 - duration.json: "validation of duration strings" - "no elements present" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid duration", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid duration", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 82 - duration.json: "validation of duration strings" - "no time elements present" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid duration", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid duration", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 83 - duration.json: "validation of duration strings" - "no date or time elements present" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid duration", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid duration", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 84 - duration.json: "validation of duration strings" - "elements out of order" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid duration", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid duration", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 85 - duration.json: "validation of duration strings" - "missing time separator" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid duration", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid duration", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 86 - duration.json: "validation of duration strings" - "time element in the date position" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid duration", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid duration", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 87 - duration.json: "validation of duration strings" - "four years duration" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 88 - duration.json: "validation of duration strings" - "zero time, in seconds" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 89 - duration.json: "validation of duration strings" - "zero time, in days" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 90 - duration.json: "validation of duration strings" - "one month duration" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 91 - duration.json: "validation of duration strings" - "one minute duration" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 92 - duration.json: "validation of duration strings" - "one and a half days, in hours" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 93 - duration.json: "validation of duration strings" - "one and a half days, in days and hours" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 94 - duration.json: "validation of duration strings" - "two weeks" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 95 - duration.json: "validation of duration strings" - "weeks cannot be combined with other units" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid duration", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid duration", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 96 - duration.json: "validation of duration strings" - "invalid non-ASCII '২' (a Bengali 2)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid duration", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid duration", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 97 - duration.json: "validation of duration strings" - "element without unit" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid duration", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid duration", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s # 167s ok 98 - email.json: "validation of e-mail addresses" - "all string formats ignore integers" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 99 - email.json: "validation of e-mail addresses" - "all string formats ignore floats" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 100 - email.json: "validation of e-mail addresses" - "all string formats ignore objects" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 101 - email.json: "validation of e-mail addresses" - "all string formats ignore arrays" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 102 - email.json: "validation of e-mail addresses" - "all string formats ignore booleans" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 103 - email.json: "validation of e-mail addresses" - "all string formats ignore nulls" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 104 - email.json: "validation of e-mail addresses" - "a valid e-mail address" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 105 - email.json: "validation of e-mail addresses" - "an invalid e-mail address" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid email", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid email", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 106 - email.json: "validation of e-mail addresses" - "tilde in local part is valid" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 107 - email.json: "validation of e-mail addresses" - "tilde before local part is valid" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 108 - email.json: "validation of e-mail addresses" - "tilde after local part is valid" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 109 - email.json: "validation of e-mail addresses" - "a quoted string with a space in the local part is valid" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 110 - email.json: "validation of e-mail addresses" - "a quoted string with a double dot in the local part is valid" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 111 - email.json: "validation of e-mail addresses" - "a quoted string with a @ in the local part is valid" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 112 - email.json: "validation of e-mail addresses" - "an IPv4-address-literal after the @ is valid" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 113 - email.json: "validation of e-mail addresses" - "an IPv6-address-literal after the @ is valid" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 114 - email.json: "validation of e-mail addresses" - "dot before local part is not valid" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid email", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid email", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 115 - email.json: "validation of e-mail addresses" - "dot after local part is not valid" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid email", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid email", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 116 - email.json: "validation of e-mail addresses" - "two separated dots inside local part are valid" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 117 - email.json: "validation of e-mail addresses" - "two subsequent dots inside local part are not valid" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid email", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid email", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 118 - email.json: "validation of e-mail addresses" - "an invalid domain" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected false; got true 167s # data: "\"joe.bloggs@invalid=domain.com\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"email\"}" 167s # result: { 167s # "valid": true 167s # } 167s 1..1 167s } 167s ok 119 - email.json: "validation of e-mail addresses" - "an invalid IPv4-address-literal" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected false; got true 167s # data: "\"joe.bloggs@[127.0.0.300]\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"email\"}" 167s # result: { 167s # "valid": true 167s # } 167s 1..1 167s } 167s # 167s ok 120 - hostname.json: "validation of host names" - "all string formats ignore integers" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 121 - hostname.json: "validation of host names" - "all string formats ignore floats" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 122 - hostname.json: "validation of host names" - "all string formats ignore objects" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 123 - hostname.json: "validation of host names" - "all string formats ignore arrays" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 124 - hostname.json: "validation of host names" - "all string formats ignore booleans" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 125 - hostname.json: "validation of host names" - "all string formats ignore nulls" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 126 - hostname.json: "validation of host names" - "a valid host name" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 127 - hostname.json: "validation of host names" - "a valid punycoded IDN hostname" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 128 - hostname.json: "validation of host names" - "a host name starting with an illegal character" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 129 - hostname.json: "validation of host names" - "a host name containing illegal characters" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 130 - hostname.json: "validation of host names" - "a host name with a component too long" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 131 - hostname.json: "validation of host names" - "starts with hyphen" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 132 - hostname.json: "validation of host names" - "ends with hyphen" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 133 - hostname.json: "validation of host names" - "starts with underscore" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 134 - hostname.json: "validation of host names" - "ends with underscore" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 135 - hostname.json: "validation of host names" - "contains underscore" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 136 - hostname.json: "validation of host names" - "maximum label length" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 137 - hostname.json: "validation of host names" - "exceeds maximum label length" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 138 - hostname.json: "validation of host names" - "single label" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"hostname\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 139 - hostname.json: "validation of host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"host-name\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 140 - hostname.json: "validation of host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"h0stn4me\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 141 - hostname.json: "validation of host names" - "single label starting with digit" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"1host\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 142 - hostname.json: "validation of host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"hostnam3\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s # 167s ok 143 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore integers" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 144 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore floats" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 145 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore objects" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 146 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore arrays" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 147 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore booleans" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 148 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore nulls" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 149 - idn-email.json: "validation of an internationalized e-mail addresses" - "a valid idn e-mail (example@example.test in Hangul)" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 150 - idn-email.json: "validation of an internationalized e-mail addresses" - "an invalid idn e-mail address" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-email", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-email", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 151 - idn-email.json: "validation of an internationalized e-mail addresses" - "a valid e-mail address" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 152 - idn-email.json: "validation of an internationalized e-mail addresses" - "an invalid e-mail address" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-email", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-email", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s # 167s ok 153 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 154 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 155 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 156 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 157 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 158 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 159 - idn-hostname.json: "validation of internationalized host names" - "a valid host name (example.test in Hangul)" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 160 - idn-hostname.json: "validation of internationalized host names" - "illegal first char U+302E Hangul single dot tone mark" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 161 - idn-hostname.json: "validation of internationalized host names" - "contains illegal char U+302E Hangul single dot tone mark" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected false; got true 167s # data: "\"실〮례.테스트\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 167s # result: { 167s # "valid": true 167s # } 167s 1..1 167s } 167s ok 162 - idn-hostname.json: "validation of internationalized host names" - "a host name with a component too long" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 163 - idn-hostname.json: "validation of internationalized host names" - "invalid label, correct Punycode" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 164 - idn-hostname.json: "validation of internationalized host names" - "valid Chinese Punycode" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"xn--ihqwcrb4cv8a8dqg056pqjye\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 165 - idn-hostname.json: "validation of internationalized host names" - "invalid Punycode" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 166 - idn-hostname.json: "validation of internationalized host names" - "U-label contains "--" in the 3rd and 4th position" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 167 - idn-hostname.json: "validation of internationalized host names" - "U-label starts with a dash" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 168 - idn-hostname.json: "validation of internationalized host names" - "U-label ends with a dash" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 169 - idn-hostname.json: "validation of internationalized host names" - "U-label starts and ends with a dash" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 170 - idn-hostname.json: "validation of internationalized host names" - "Begins with a Spacing Combining Mark" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 171 - idn-hostname.json: "validation of internationalized host names" - "Begins with a Nonspacing Mark" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 172 - idn-hostname.json: "validation of internationalized host names" - "Begins with an Enclosing Mark" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 173 - idn-hostname.json: "validation of internationalized host names" - "Exceptions that are PVALID, left-to-right chars" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"ßς་〇\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 174 - idn-hostname.json: "validation of internationalized host names" - "Exceptions that are PVALID, right-to-left chars" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"Û½Û¾\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 175 - idn-hostname.json: "validation of internationalized host names" - "Exceptions that are DISALLOWED, right-to-left chars" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 176 - idn-hostname.json: "validation of internationalized host names" - "Exceptions that are DISALLOWED, left-to-right chars" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 177 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with no preceding 'l'" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 178 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with nothing preceding" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 179 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with no following 'l'" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 180 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with nothing following" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 181 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with surrounding 'l's" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"l·l\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 182 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA not followed by Greek" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 183 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA not followed by anything" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 184 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA followed by Greek" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"α͵β\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 185 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH not preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 186 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH not preceded by anything" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 187 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"א׳ב\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 188 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM not preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 189 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM not preceded by anything" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 190 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"א״ב\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 191 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with no Hiragana, Katakana, or Han" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 192 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with no other characters" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 193 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Hiragana" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"・ぁ\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 194 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Katakana" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"・ァ\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 195 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Han" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"・丈\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 196 - idn-hostname.json: "validation of internationalized host names" - "Arabic-Indic digits mixed with Extended Arabic-Indic digits" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 197 - idn-hostname.json: "validation of internationalized host names" - "Arabic-Indic digits not mixed with Extended Arabic-Indic digits" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"ب٠ب\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 198 - idn-hostname.json: "validation of internationalized host names" - "Extended Arabic-Indic digits not mixed with Arabic-Indic digits" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"Û°0\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 199 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER not preceded by Virama" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 200 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER not preceded by anything" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false # 167s 1..1 167s } 167s ok 201 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER preceded by Virama" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"क्‍ष\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 202 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH NON-JOINER preceded by Virama" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"क्‌ष\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 203 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH NON-JOINER not preceded by Virama but matches regexp" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"بي‌بي\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 204 - idn-hostname.json: "validation of internationalized host names" - "single label" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"hostname\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 205 - idn-hostname.json: "validation of internationalized host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"host-name\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 206 - idn-hostname.json: "validation of internationalized host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"h0stn4me\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 207 - idn-hostname.json: "validation of internationalized host names" - "single label starting with digit" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"1host\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s ok 208 - idn-hostname.json: "validation of internationalized host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected true; got false 167s # data: "\"hostnam3\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"idn-hostname\"}" 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid idn-hostname", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s 1..1 167s } 167s # 167s ok 209 - ipv4.json: "validation of IP addresses" - "all string formats ignore integers" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 210 - ipv4.json: "validation of IP addresses" - "all string formats ignore floats" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 211 - ipv4.json: "validation of IP addresses" - "all string formats ignore objects" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 212 - ipv4.json: "validation of IP addresses" - "all string formats ignore arrays" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 213 - ipv4.json: "validation of IP addresses" - "all string formats ignore booleans" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 214 - ipv4.json: "validation of IP addresses" - "all string formats ignore nulls" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 215 - ipv4.json: "validation of IP addresses" - "a valid IP address" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 216 - ipv4.json: "validation of IP addresses" - "an IP address with too many components" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv4", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv4", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 217 - ipv4.json: "validation of IP addresses" - "an IP address with out-of-range values" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv4", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv4", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 218 - ipv4.json: "validation of IP addresses" - "an IP address without 4 components" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv4", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv4", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 219 - ipv4.json: "validation of IP addresses" - "an IP address as an integer" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv4", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv4", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 220 - ipv4.json: "validation of IP addresses" - "an IP address as an integer (decimal)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv4", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv4", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 221 - ipv4.json: "validation of IP addresses" - "invalid leading zeroes, as they are treated as octals" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv4", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv4", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 222 - ipv4.json: "validation of IP addresses" - "value without leading zero is valid" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 223 - ipv4.json: "validation of IP addresses" - "invalid non-ASCII '২' (a Bengali 2)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv4", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv4", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 224 - ipv4.json: "validation of IP addresses" - "netmask is not a part of ipv4 address" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv4", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv4", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s # 167s ok 225 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore integers" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 226 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore floats" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 227 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore objects" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 228 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore arrays" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 229 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore booleans" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 230 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore nulls" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 231 - ipv6.json: "validation of IPv6 addresses" - "a valid IPv6 address" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 232 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with out-of-range values" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 233 - ipv6.json: "validation of IPv6 addresses" - "trailing 4 hex symbols is valid" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 234 - ipv6.json: "validation of IPv6 addresses" - "trailing 5 hex symbols is invalid" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 235 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with too many components" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 236 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address containing illegal characters" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 237 - ipv6.json: "validation of IPv6 addresses" - "no digits is valid" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 238 - ipv6.json: "validation of IPv6 addresses" - "leading colons is valid" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 239 - ipv6.json: "validation of IPv6 addresses" - "trailing colons is valid" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 240 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet is invalid" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 241 - ipv6.json: "validation of IPv6 addresses" - "missing trailing octet is invalid" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 242 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet with omitted octets later" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 243 - ipv6.json: "validation of IPv6 addresses" - "single set of double colons in the middle is valid" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 244 - ipv6.json: "validation of IPv6 addresses" - "two sets of double colons is invalid" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 245 - ipv6.json: "validation of IPv6 addresses" - "mixed format with the ipv4 section as decimal octets" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 246 - ipv6.json: "validation of IPv6 addresses" - "mixed format with double colons between the sections" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 247 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with octet out of range" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 248 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with a hex octet" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 249 - ipv6.json: "validation of IPv6 addresses" - "mixed format with leading double colons (ipv4-mapped ipv6 address)" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 250 - ipv6.json: "validation of IPv6 addresses" - "triple colons is invalid" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 251 - ipv6.json: "validation of IPv6 addresses" - "8 octets" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 252 - ipv6.json: "validation of IPv6 addresses" - "insufficient octets without double colons" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 253 - ipv6.json: "validation of IPv6 addresses" - "no colons is invalid" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 254 - ipv6.json: "validation of IPv6 addresses" - "ipv4 is not ipv6" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 255 - ipv6.json: "validation of IPv6 addresses" - "ipv4 segment must have 4 octets" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 256 - ipv6.json: "validation of IPv6 addresses" - "leading whitespace is invalid" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 257 - ipv6.json: "validation of IPv6 addresses" - "trailing whitespace is invalid" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 258 - ipv6.json: "validation of IPv6 addresses" - "netmask is not a part of ipv6 address" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 259 - ipv6.json: "validation of IPv6 addresses" - "zone id is not a part of ipv6 address" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 260 - ipv6.json: "validation of IPv6 addresses" - "a long valid ipv6" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 261 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, first" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 262 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, second" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 263 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 264 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4) in the IPv4 portion" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid ipv6", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s # 167s ok 265 - iri-reference.json: "validation of IRI References" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 266 - iri-reference.json: "validation of IRI References" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 267 - iri-reference.json: "validation of IRI References" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 268 - iri-reference.json: "validation of IRI References" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 269 - iri-reference.json: "validation of IRI References" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 270 - iri-reference.json: "validation of IRI References" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 271 - iri-reference.json: "validation of IRI References" - "a valid IRI" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 272 - iri-reference.json: "validation of IRI References" - "a valid protocol-relative IRI Reference" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 273 - iri-reference.json: "validation of IRI References" - "a valid relative IRI Reference" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 274 - iri-reference.json: "validation of IRI References" - "an invalid IRI Reference" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected false; got true 167s # data: "\"\\\\\\\\WINDOWS\\\\filëßåré\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"iri-reference\"}" 167s # result: { 167s # "valid": true 167s # } 167s 1..1 167s } 167s ok 275 - iri-reference.json: "validation of IRI References" - "a valid IRI Reference" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 276 - iri-reference.json: "validation of IRI References" - "a valid IRI fragment" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 277 - iri-reference.json: "validation of IRI References" - "an invalid IRI fragment" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected false; got true 167s # data: "\"#ƒräg\\\\mênt\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"iri-reference\"}" 167s # result: { 167s # "valid": true 167s # } 167s 1..1 167s } 167s # 167s ok 278 - iri.json: "validation of IRIs" - "all string formats ignore integers" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 279 - iri.json: "validation of IRIs" - "all string formats ignore floats" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 280 - iri.json: "validation of IRIs" - "all string formats ignore objects" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 281 - iri.json: "validation of IRIs" - "all string formats ignore arrays" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 282 - iri.json: "validation of IRIs" - "all string formats ignore booleans" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 283 - iri.json: "validation of IRIs" - "all string formats ignore nulls" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 284 - iri.json: "validation of IRIs" - "a valid IRI with anchor tag" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 285 - iri.json: "validation of IRIs" - "a valid IRI with anchor tag and parentheses" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 286 - iri.json: "validation of IRIs" - "a valid IRI with URL-encoded stuff" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 287 - iri.json: "validation of IRIs" - "a valid IRI with many special characters" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 288 - iri.json: "validation of IRIs" - "a valid IRI based on IPv6" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 289 - iri.json: "validation of IRIs" - "an invalid IRI based on IPv6" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected false; got true 167s # data: "\"http://2001:0db8:85a3:0000:0000:8a2e:0370:7334\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"iri\"}" 167s # result: { 167s # "valid": true 167s # } 167s 1..1 167s } 167s ok 290 - iri.json: "validation of IRIs" - "an invalid relative IRI Reference" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid iri", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid iri", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 291 - iri.json: "validation of IRIs" - "an invalid IRI" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid iri", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid iri", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 292 - iri.json: "validation of IRIs" - "an invalid IRI though valid IRI reference" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid iri", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid iri", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s # 167s ok 293 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore integers" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 294 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore floats" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 295 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore objects" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 296 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore arrays" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 297 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore booleans" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 298 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore nulls" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 299 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "a valid JSON-pointer" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 300 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (~ not escaped)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 301 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with empty segment" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 302 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with the last empty segment" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 303 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#1" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 304 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#2" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 305 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#3" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 306 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#4" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 307 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#5" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 308 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#6" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 309 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#7" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 310 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#8" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 311 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#9" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 312 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#10" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 313 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#11" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 314 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#12" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 315 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer used adding to the last array position" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 316 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (- used as object member name)" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 317 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (multiple escaped characters)" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 318 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#1" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 319 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#2" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 320 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#1" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 321 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#2" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 322 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#3" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 323 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#1" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 324 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#2" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 325 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#1" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 326 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#2" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 327 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (multiple characters not escaped)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 328 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#1" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 329 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#2" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 330 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#3" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s # 167s ok 331 - regex.json: "validation of regular expressions" - "all string formats ignore integers" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 332 - regex.json: "validation of regular expressions" - "all string formats ignore floats" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 333 - regex.json: "validation of regular expressions" - "all string formats ignore objects" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 334 - regex.json: "validation of regular expressions" - "all string formats ignore arrays" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 335 - regex.json: "validation of regular expressions" - "all string formats ignore booleans" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 336 - regex.json: "validation of regular expressions" - "all string formats ignore nulls" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 337 - regex.json: "validation of regular expressions" - "a valid regular expression" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 338 - regex.json: "validation of regular expressions" - "a regular expression with unclosed parens is invalid" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid regex", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid regex", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s # 167s ok 339 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore integers" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 340 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore floats" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 341 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore objects" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 342 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore arrays" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 343 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore booleans" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 344 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore nulls" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 345 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid upwards RJP" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 346 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid downwards RJP" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 347 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid up and then down RJP, with array index" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 348 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid RJP taking the member or index name" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 349 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "an invalid RJP that is a valid JSON Pointer" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid relative-json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid relative-json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 350 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "negative prefix" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid relative-json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid relative-json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 351 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "explicit positive prefix" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid relative-json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid relative-json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 352 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "\#\# is not a valid json-pointer" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid relative-json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid relative-json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 353 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "zero cannot be followed by other digits, plus json-pointer" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid relative-json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid relative-json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 354 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "zero cannot be followed by other digits, plus octothorpe" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid relative-json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid relative-json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 355 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "empty string" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid relative-json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid relative-json-pointer", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 356 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "multi-digit integer prefix" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s # 167s ok 357 - time.json: "validation of time strings" - "all string formats ignore integers" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 358 - time.json: "validation of time strings" - "all string formats ignore floats" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 359 - time.json: "validation of time strings" - "all string formats ignore objects" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 360 - time.json: "validation of time strings" - "all string formats ignore arrays" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 361 - time.json: "validation of time strings" - "all string formats ignore booleans" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 362 - time.json: "validation of time strings" - "all string formats ignore nulls" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 363 - time.json: "validation of time strings" - "a valid time string" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 364 - time.json: "validation of time strings" - "invalid time string with extra leading zeros" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 365 - time.json: "validation of time strings" - "invalid time string with no leading zero for single digit" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 366 - time.json: "validation of time strings" - "hour, minute, second must be two digits" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 367 - time.json: "validation of time strings" - "a valid time string with leap second, Zulu" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 368 - time.json: "validation of time strings" - "invalid leap second, Zulu (wrong hour)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 369 - time.json: "validation of time strings" - "invalid leap second, Zulu (wrong minute)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 370 - time.json: "validation of time strings" - "valid leap second, zero time-offset" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 371 - time.json: "validation of time strings" - "invalid leap second, zero time-offset (wrong hour)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 372 - time.json: "validation of time strings" - "invalid leap second, zero time-offset (wrong minute)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 373 - time.json: "validation of time strings" - "valid leap second, positive time-offset" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 374 - time.json: "validation of time strings" - "valid leap second, large positive time-offset" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 375 - time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong hour)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 376 - time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong minute)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 377 - time.json: "validation of time strings" - "valid leap second, negative time-offset" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 378 - time.json: "validation of time strings" - "valid leap second, large negative time-offset" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 379 - time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong hour)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 380 - time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong minute)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 381 - time.json: "validation of time strings" - "a valid time string with second fraction" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 382 - time.json: "validation of time strings" - "a valid time string with precise second fraction" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 383 - time.json: "validation of time strings" - "a valid time string with plus offset" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 384 - time.json: "validation of time strings" - "a valid time string with minus offset" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 385 - time.json: "validation of time strings" - "hour, minute in time-offset must be two digits" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 386 - time.json: "validation of time strings" - "a valid time string with case-insensitive Z" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 387 - time.json: "validation of time strings" - "an invalid time string with invalid hour" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 388 - time.json: "validation of time strings" - "an invalid time string with invalid minute" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 389 - time.json: "validation of time strings" - "an invalid time string with invalid second" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 390 - time.json: "validation of time strings" - "an invalid time string with invalid leap second (wrong hour)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 391 - time.json: "validation of time strings" - "an invalid time string with invalid leap second (wrong minute)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 392 - time.json: "validation of time strings" - "an invalid time string with invalid time numoffset hour" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 393 - time.json: "validation of time strings" - "an invalid time string with invalid time numoffset minute" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 394 - time.json: "validation of time strings" - "an invalid time string with invalid time with both Z and numoffset" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 395 - time.json: "validation of time strings" - "an invalid offset indicator" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 396 - time.json: "validation of time strings" - "only RFC3339 not all of ISO 8601 are valid" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 397 - time.json: "validation of time strings" - "no time offset" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 398 - time.json: "validation of time strings" - "no time offset with second fraction" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 399 - time.json: "validation of time strings" - "invalid non-ASCII '২' (a Bengali 2)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 400 - time.json: "validation of time strings" - "offset not starting with plus or minus" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 401 - time.json: "validation of time strings" - "contains letters" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid time", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s # 167s ok 402 - unknown.json: "unknown format" - "unknown formats ignore integers" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 403 - unknown.json: "unknown format" - "unknown formats ignore floats" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 404 - unknown.json: "unknown format" - "unknown formats ignore objects" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 405 - unknown.json: "unknown format" - "unknown formats ignore arrays" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 406 - unknown.json: "unknown format" - "unknown formats ignore booleans" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 407 - unknown.json: "unknown format" - "unknown formats ignore nulls" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 408 - unknown.json: "unknown format" - "unknown formats ignore strings" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s # 167s ok 409 - uri-reference.json: "validation of URI References" - "all string formats ignore integers" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 410 - uri-reference.json: "validation of URI References" - "all string formats ignore floats" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 411 - uri-reference.json: "validation of URI References" - "all string formats ignore objects" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 412 - uri-reference.json: "validation of URI References" - "all string formats ignore arrays" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 413 - uri-reference.json: "validation of URI References" - "all string formats ignore booleans" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 414 - uri-reference.json: "validation of URI References" - "all string formats ignore nulls" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 415 - uri-reference.json: "validation of URI References" - "a valid URI" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 416 - uri-reference.json: "validation of URI References" - "a valid protocol-relative URI Reference" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 417 - uri-reference.json: "validation of URI References" - "a valid relative URI Reference" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 418 - uri-reference.json: "validation of URI References" - "an invalid URI Reference" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uri-reference", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uri-reference", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 419 - uri-reference.json: "validation of URI References" - "a valid URI Reference" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 420 - uri-reference.json: "validation of URI References" - "a valid URI fragment" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 421 - uri-reference.json: "validation of URI References" - "an invalid URI fragment" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uri-reference", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uri-reference", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s # 167s ok 422 - uri-template.json: "format: uri-template" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 423 - uri-template.json: "format: uri-template" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 424 - uri-template.json: "format: uri-template" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 425 - uri-template.json: "format: uri-template" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 426 - uri-template.json: "format: uri-template" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 427 - uri-template.json: "format: uri-template" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 428 - uri-template.json: "format: uri-template" - "a valid uri-template" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 429 - uri-template.json: "format: uri-template" - "an invalid uri-template" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected false; got true 167s # data: "\"http://example.com/dictionary/{term:1}/{term\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"uri-template\"}" 167s # result: { 167s # "valid": true 167s # } 167s 1..1 167s } 167s ok 430 - uri-template.json: "format: uri-template" - "a valid uri-template without variables" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s ok 431 - uri-template.json: "format: uri-template" - "a valid relative uri-template" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true # 167s 1..1 167s } 167s # 167s ok 432 - uri.json: "validation of URIs" - "all string formats ignore integers" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 433 - uri.json: "validation of URIs" - "all string formats ignore floats" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 434 - uri.json: "validation of URIs" - "all string formats ignore objects" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 435 - uri.json: "validation of URIs" - "all string formats ignore arrays" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 436 - uri.json: "validation of URIs" - "all string formats ignore booleans" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 437 - uri.json: "validation of URIs" - "all string formats ignore nulls" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 438 - uri.json: "validation of URIs" - "a valid URL with anchor tag" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 439 - uri.json: "validation of URIs" - "a valid URL with anchor tag and parentheses" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 440 - uri.json: "validation of URIs" - "a valid URL with URL-encoded stuff" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 441 - uri.json: "validation of URIs" - "a valid puny-coded URL " { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 442 - uri.json: "validation of URIs" - "a valid URL with many special characters" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 443 - uri.json: "validation of URIs" - "a valid URL based on IPv4" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 444 - uri.json: "validation of URIs" - "a valid URL with ftp scheme" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 445 - uri.json: "validation of URIs" - "a valid URL for a simple text file" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 446 - uri.json: "validation of URIs" - "a valid URL " { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 447 - uri.json: "validation of URIs" - "a valid mailto URI" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 448 - uri.json: "validation of URIs" - "a valid newsgroup URI" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 449 - uri.json: "validation of URIs" - "a valid tel URI" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 450 - uri.json: "validation of URIs" - "a valid URN" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 451 - uri.json: "validation of URIs" - "an invalid protocol-relative URI Reference" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uri", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uri", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 452 - uri.json: "validation of URIs" - "an invalid relative URI Reference" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uri", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uri", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 453 - uri.json: "validation of URIs" - "an invalid URI" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uri", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uri", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 454 - uri.json: "validation of URIs" - "an invalid URI though valid URI reference" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uri", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uri", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 455 - uri.json: "validation of URIs" - "an invalid URI with spaces" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uri", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uri", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 456 - uri.json: "validation of URIs" - "an invalid URI with spaces and missing scheme" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uri", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uri", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 457 - uri.json: "validation of URIs" - "an invalid URI with comma in scheme" { # TODO Test marked TODO via "todo_tests" 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s not ok 1 - evaluation result is incorrect # 167s # Failed test (with amnesty) 'evaluation result is incorrect' 167s # at t/zzz-acceptance-draft2020-12-format.t line 68. 167s # expected false; got true 167s # data: "\"bar,baz:foo\"" 167s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"uri\"}" 167s # result: { 167s # "valid": true 167s # } 167s 1..1 167s } 167s # 167s ok 458 - uuid.json: "uuid format" - "all string formats ignore integers" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 459 - uuid.json: "uuid format" - "all string formats ignore floats" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 460 - uuid.json: "uuid format" - "all string formats ignore objects" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 461 - uuid.json: "uuid format" - "all string formats ignore arrays" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 462 - uuid.json: "uuid format" - "all string formats ignore booleans" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 463 - uuid.json: "uuid format" - "all string formats ignore nulls" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 464 - uuid.json: "uuid format" - "all upper-case" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 465 - uuid.json: "uuid format" - "all lower-case" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 466 - uuid.json: "uuid format" - "mixed case" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 467 - uuid.json: "uuid format" - "all zeroes is valid" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 468 - uuid.json: "uuid format" - "wrong length" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uuid", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uuid", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 469 - uuid.json: "uuid format" - "missing section" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uuid", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uuid", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 470 - uuid.json: "uuid format" - "bad characters (not hex)" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uuid", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uuid", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 471 - uuid.json: "uuid format" - "no dashes" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uuid", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uuid", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 472 - uuid.json: "uuid format" - "too few dashes" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uuid", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uuid", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 473 - uuid.json: "uuid format" - "too many dashes" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uuid", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uuid", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 474 - uuid.json: "uuid format" - "dashes in the wrong spot" { 167s # result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uuid", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s # short-circuited result: { 167s # "errors": [ 167s # { 167s # "error": "not a valid uuid", 167s # "instanceLocation": "", 167s # "keywordLocation": "/format" 167s # } 167s # ], 167s # "valid": false 167s # } 167s ok 1 - test passes: data is valid: false 167s 1..1 167s } 167s ok 475 - uuid.json: "uuid format" - "valid version 4" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 476 - uuid.json: "uuid format" - "valid version 5" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 477 - uuid.json: "uuid format" - "hypothetical version 6" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s ok 478 - uuid.json: "uuid format" - "hypothetical version 15" { 167s # result: { 167s # "valid": true 167s # } 167s # short-circuited result: { 167s # "valid": true 167s # } 167s ok 1 - test passes: data is valid: true 167s 1..1 167s } 167s # 167s # 167s # generated with: Test::JSON::Schema::Acceptance 1.026 167s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 167s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 167s # specification version: draft2020-12 167s # using custom test directory: /optional/format 167s # optional tests included: yes 167s # 167s # filename pass todo-fail fail 167s # --------------------------------------------------------------- 167s # date-time.json 25 0 0 167s # date.json 47 0 0 167s # duration.json 25 0 0 167s # email.json 20 2 0 167s # hostname.json 18 5 0 167s # idn-email.json 10 0 0 167s # idn-hostname.json 35 21 0 167s # ipv4.json 16 0 0 167s # ipv6.json 40 0 0 167s # iri-reference.json 11 2 0 167s # iri.json 14 1 0 167s # json-pointer.json 38 0 0 167s # regex.json 8 0 0 167s # relative-json-pointer.json 18 0 0 167s # time.json 45 0 0 167s # unknown.json 7 0 0 167s # uri-reference.json 13 0 0 167s # uri-template.json 9 1 0 167s # uri.json 25 1 0 167s # uuid.json 21 0 0 167s # --------------------------------------------------------------- 167s # TOTAL 445 33 0 167s # 167s # Congratulations, all non-optional tests are passing! 167s # 167s ok 479 - no leaks in the main evaluator object 167s ok 480 - no leaks in the short-circuiting evaluator object 167s 1..480 167s ok 173s t/zzz-acceptance-draft2020-12.t ......... 173s # AUTHOR_TESTING: 173s # AUTOMATED_TESTING: 1 173s # EXTENDED_TESTING: 173s # NO_TODO: 173s # TEST_DIR: 173s # NO_SHORT_CIRCUIT: 173s # 173s # adding resources from /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/remotes with the base URI "http://localhost:1234"... 173s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft2020-12 against draft2020-12... 173s # 173s ok 1 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "no additional properties is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 2 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "an additional property is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/quux", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/quux", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 3 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 4 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores strings" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 5 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores other non-objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 6 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "patternProperties are not additional properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 7 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "matching the pattern is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 8 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "not matching the pattern is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/élmény", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/élmény", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 9 - additionalProperties.json: "additionalProperties with schema" - "no additional properties is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 10 - additionalProperties.json: "additionalProperties with schema" - "an additional valid property is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 11 - additionalProperties.json: "additionalProperties with schema" - "an additional invalid property is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not boolean", 173s # "instanceLocation": "/quux", 173s # "keywordLocation": "/additionalProperties/type" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not boolean", 173s # "instanceLocation": "/quux", 173s # "keywordLocation": "/additionalProperties/type" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 12 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional valid property is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 13 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional invalid property is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not boolean", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/additionalProperties/type" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not boolean", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/additionalProperties/type" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 14 - additionalProperties.json: "additionalProperties are allowed by default" - "additional properties are allowed" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 15 - additionalProperties.json: "additionalProperties does not look in applicators" - "properties defined in allOf are not examined" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not boolean", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/additionalProperties/type" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not boolean", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/additionalProperties/type" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 16 - additionalProperties.json: "additionalProperties with null valued instance properties" - "allows null values" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 17 - additionalProperties.json: "additionalProperties with propertyNames" - "Valid against both keywords" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 18 - additionalProperties.json: "additionalProperties with propertyNames" - "Valid against propertyNames, but not additionalProperties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "/pear", 173s # "keywordLocation": "/additionalProperties/type" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "/pear", 173s # "keywordLocation": "/additionalProperties/type" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 19 - additionalProperties.json: "dependentSchemas with additionalProperties" - "additionalProperties doesn't consider dependentSchemas" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 20 - additionalProperties.json: "dependentSchemas with additionalProperties" - "additionalProperties can't see bar" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 21 - additionalProperties.json: "dependentSchemas with additionalProperties" - "additionalProperties can't see bar even when foo2 is present" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 22 - allOf.json: "allOf" - "allOf" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 23 - allOf.json: "allOf" - "mismatch second" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: bar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/required" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: bar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/required" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 24 - allOf.json: "allOf" - "mismatch first" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/required" 173s # }, 173s # { 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/required" 173s # }, 173s # { 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 25 - allOf.json: "allOf" - "wrong type" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/allOf/0/properties/bar/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/properties" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/allOf/0/properties/bar/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/properties" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 26 - allOf.json: "allOf with base schema" - "valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 27 - allOf.json: "allOf with base schema" - "mismatch base schema" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: bar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/required" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: bar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/required" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 28 - allOf.json: "allOf with base schema" - "mismatch first allOf" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/required" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/required" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 29 - allOf.json: "allOf with base schema" - "mismatch second allOf" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: baz", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/required" 173s # }, 173s # { 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: baz", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/required" 173s # }, 173s # { 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 30 - allOf.json: "allOf with base schema" - "mismatch both" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/required" 173s # }, 173s # { 173s # "error": "object is missing property: baz", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/required" 173s # }, 173s # { 173s # "error": "subschemas 0, 1 are not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/required" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 31 - allOf.json: "allOf simple types" - "valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 32 - allOf.json: "allOf simple types" - "mismatch one" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is greater than 30", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/maximum" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is greater than 30", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/maximum" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 33 - allOf.json: "allOf with boolean schemas, all true" - "any value is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 34 - allOf.json: "allOf with boolean schemas, some false" - "any value is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1" 173s # }, 173s # { 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1" 173s # }, 173s # { 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 35 - allOf.json: "allOf with boolean schemas, all false" - "any value is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0" 173s # }, 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1" 173s # }, 173s # { 173s # "error": "subschemas 0, 1 are not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 36 - allOf.json: "allOf with one empty schema" - "any data is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 37 - allOf.json: "allOf with two empty schemas" - "any data is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 38 - allOf.json: "allOf with the first empty schema" - "number is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 39 - allOf.json: "allOf with the first empty schema" - "string is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/type" 173s # }, 173s # { 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/type" 173s # }, 173s # { 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 40 - allOf.json: "allOf with the last empty schema" - "number is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 41 - allOf.json: "allOf with the last empty schema" - "string is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/type" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/type" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 42 - allOf.json: "nested allOf, to check validation semantics" - "null is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 43 - allOf.json: "nested allOf, to check validation semantics" - "anything non-null is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/allOf/0/type" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/allOf" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/allOf/0/type" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/allOf" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 44 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: false" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/multipleOf" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # }, 173s # { 173s # "error": "value is not a multiple of 3", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/multipleOf" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # }, 173s # { 173s # "error": "value is not a multiple of 5", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/multipleOf" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/multipleOf" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 45 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: true" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/multipleOf" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # }, 173s # { 173s # "error": "value is not a multiple of 3", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/multipleOf" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/multipleOf" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 46 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: false" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/multipleOf" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # }, 173s # { 173s # "error": "value is not a multiple of 5", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/multipleOf" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/multipleOf" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 47 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: true" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/multipleOf" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/multipleOf" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 48 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: false" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 3", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/multipleOf" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # }, 173s # { 173s # "error": "value is not a multiple of 5", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/multipleOf" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 3", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/multipleOf" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 49 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: true" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 3", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/multipleOf" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 3", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/multipleOf" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 50 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: false" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 5", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/multipleOf" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 5", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/multipleOf" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 51 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: true" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 52 - anchor.json: "Location-independent identifier" - "match" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 53 - anchor.json: "Location-independent identifier" - "mismatch" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/A/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/A/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 54 - anchor.json: "Location-independent identifier with absolute URI" - "match" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 55 - anchor.json: "Location-independent identifier with absolute URI" - "mismatch" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/bar#/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/bar#/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 56 - anchor.json: "Location-independent identifier with base URI change in subschema" - "match" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 57 - anchor.json: "Location-independent identifier with base URI change in subschema" - "mismatch" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested.json#/$defs/B/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested.json#/$defs/B/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 58 - anchor.json: "same $anchor with different base uri" - "$ref resolves to /$defs/A/allOf/1" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 59 - anchor.json: "same $anchor with different base uri" - "$ref does not resolve to /$defs/A/allOf/0" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/child1#/allOf/1/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/child1#/allOf/1/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 60 - anyOf.json: "anyOf" - "first anyOf valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 61 - anyOf.json: "anyOf" - "second anyOf valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 62 - anyOf.json: "anyOf" - "both anyOf valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 63 - anyOf.json: "anyOf" - "neither anyOf valid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got number, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/type" 173s # }, 173s # { 173s # "error": "value is less than 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/1/minimum" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got number, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/type" 173s # }, 173s # { 173s # "error": "value is less than 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/1/minimum" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 64 - anyOf.json: "anyOf with base schema" - "mismatch base schema" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 65 - anyOf.json: "anyOf with base schema" - "one anyOf valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 66 - anyOf.json: "anyOf with base schema" - "both anyOf invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "length is greater than 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/maxLength" 173s # }, 173s # { 173s # "error": "length is less than 4", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/1/minLength" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "length is greater than 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/maxLength" 173s # }, 173s # { 173s # "error": "length is less than 4", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/1/minLength" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 67 - anyOf.json: "anyOf with boolean schemas, all true" - "any value is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 68 - anyOf.json: "anyOf with boolean schemas, some true" - "any value is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 69 - anyOf.json: "anyOf with boolean schemas, all false" - "any value is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0" 173s # }, 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/1" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0" 173s # }, 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/1" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 70 - anyOf.json: "anyOf complex types" - "first anyOf valid (complex)" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 71 - anyOf.json: "anyOf complex types" - "second anyOf valid (complex)" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 72 - anyOf.json: "anyOf complex types" - "both anyOf valid (complex)" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 73 - anyOf.json: "anyOf complex types" - "neither anyOf valid (complex)" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/anyOf/0/properties/bar/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/properties" 173s # }, 173s # { 173s # "error": "got integer, not string", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/anyOf/1/properties/foo/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/1/properties" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/anyOf/0/properties/bar/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/properties" 173s # }, 173s # { 173s # "error": "got integer, not string", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/anyOf/1/properties/foo/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/1/properties" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 74 - anyOf.json: "anyOf with one empty schema" - "string is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 75 - anyOf.json: "anyOf with one empty schema" - "number is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 76 - anyOf.json: "nested anyOf, to check validation semantics" - "null is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 77 - anyOf.json: "nested anyOf, to check validation semantics" - "anything non-null is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/anyOf/0/type" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/anyOf" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/anyOf/0/type" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/anyOf" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 78 - boolean_schema.json: "boolean schema 'true'" - "number is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 79 - boolean_schema.json: "boolean schema 'true'" - "string is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 80 - boolean_schema.json: "boolean schema 'true'" - "boolean true is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 81 - boolean_schema.json: "boolean schema 'true'" - "boolean false is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 82 - boolean_schema.json: "boolean schema 'true'" - "null is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 83 - boolean_schema.json: "boolean schema 'true'" - "object is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 84 - boolean_schema.json: "boolean schema 'true'" - "empty object is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 85 - boolean_schema.json: "boolean schema 'true'" - "array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 86 - boolean_schema.json: "boolean schema 'true'" - "empty array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 87 - boolean_schema.json: "boolean schema 'false'" - "number is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 88 - boolean_schema.json: "boolean schema 'false'" - "string is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 89 - boolean_schema.json: "boolean schema 'false'" - "boolean true is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 90 - boolean_schema.json: "boolean schema 'false'" - "boolean false is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 91 - boolean_schema.json: "boolean schema 'false'" - "null is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 92 - boolean_schema.json: "boolean schema 'false'" - "object is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 93 - boolean_schema.json: "boolean schema 'false'" - "empty object is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 94 - boolean_schema.json: "boolean schema 'false'" - "array is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 95 - boolean_schema.json: "boolean schema 'false'" - "empty array is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 96 - const.json: "const validation" - "same value is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 97 - const.json: "const validation" - "another value is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 98 - const.json: "const validation" - "another type is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 99 - const.json: "const with object" - "same object is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 100 - const.json: "const with object" - "same object with different property order is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 101 - const.json: "const with object" - "another object is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 102 - const.json: "const with object" - "another type is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 103 - const.json: "const with array" - "same array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 104 - const.json: "const with array" - "another array item is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (at '/0': wrong type: integer vs object)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (at '/0': wrong type: integer vs object)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 105 - const.json: "const with array" - "array with additional items is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 106 - const.json: "const with null" - "null is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 107 - const.json: "const with null" - "not null is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 108 - const.json: "const with false does not match 0" - "false is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 109 - const.json: "const with false does not match 0" - "integer zero is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 110 - const.json: "const with false does not match 0" - "float zero is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 111 - const.json: "const with true does not match 1" - "true is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 112 - const.json: "const with true does not match 1" - "integer one is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 113 - const.json: "const with true does not match 1" - "float one is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 114 - const.json: "const with [false] does not match [0]" - "[false] is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 115 - const.json: "const with [false] does not match [0]" - "[0] is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 116 - const.json: "const with [false] does not match [0]" - "[0.0] is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 117 - const.json: "const with [true] does not match [1]" - "[true] is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 118 - const.json: "const with [true] does not match [1]" - "[1] is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 119 - const.json: "const with [true] does not match [1]" - "[1.0] is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 120 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": false} is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 121 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0} is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 122 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0.0} is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 123 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": true} is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 124 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1} is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 125 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1.0} is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 126 - const.json: "const with 0 does not match other zero-like types" - "false is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 127 - const.json: "const with 0 does not match other zero-like types" - "integer zero is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 128 - const.json: "const with 0 does not match other zero-like types" - "float zero is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 129 - const.json: "const with 0 does not match other zero-like types" - "empty object is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 130 - const.json: "const with 0 does not match other zero-like types" - "empty array is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 131 - const.json: "const with 0 does not match other zero-like types" - "empty string is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 132 - const.json: "const with 1 does not match true" - "true is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 133 - const.json: "const with 1 does not match true" - "integer one is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 134 - const.json: "const with 1 does not match true" - "float one is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 135 - const.json: "const with -2.0 matches integer and float types" - "integer -2 is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 136 - const.json: "const with -2.0 matches integer and float types" - "integer 2 is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 137 - const.json: "const with -2.0 matches integer and float types" - "float -2.0 is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 138 - const.json: "const with -2.0 matches integer and float types" - "float 2.0 is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 139 - const.json: "const with -2.0 matches integer and float types" - "float -2.00001 is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 140 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 141 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer minus one is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 142 - const.json: "float and integers are equal up to 64-bit representation limits" - "float is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 143 - const.json: "float and integers are equal up to 64-bit representation limits" - "float minus one is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 144 - const.json: "nul characters in strings" - "match string with nul" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 145 - const.json: "nul characters in strings" - "do not match string lacking nul" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/const" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 146 - contains.json: "contains keyword validation" - "array with item matching schema (5) is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 147 - contains.json: "contains keyword validation" - "array with item matching schema (6) is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 148 - contains.json: "contains keyword validation" - "array with two items matching schema (5, 6) is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 149 - contains.json: "contains keyword validation" - "array without items matching schema is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is less than 5", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/contains/minimum" 173s # }, 173s # { 173s # "error": "value is less than 5", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/contains/minimum" 173s # }, 173s # { 173s # "error": "value is less than 5", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/contains/minimum" 173s # }, 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is less than 5", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/contains/minimum" 173s # }, 173s # { 173s # "error": "value is less than 5", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/contains/minimum" 173s # }, 173s # { 173s # "error": "value is less than 5", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/contains/minimum" 173s # }, 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 150 - contains.json: "contains keyword validation" - "empty array is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 151 - contains.json: "contains keyword validation" - "not array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 152 - contains.json: "contains keyword with const keyword" - "array with item 5 is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 153 - contains.json: "contains keyword with const keyword" - "array with two items 5 is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 154 - contains.json: "contains keyword with const keyword" - "array without item 5 is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/contains/const" 173s # }, 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/contains/const" 173s # }, 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/contains/const" 173s # }, 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "/3", 173s # "keywordLocation": "/contains/const" 173s # }, 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/contains/const" 173s # }, 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/contains/const" 173s # }, 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/contains/const" 173s # }, 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "/3", 173s # "keywordLocation": "/contains/const" 173s # }, 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 155 - contains.json: "contains keyword with boolean schema true" - "any non-empty array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 156 - contains.json: "contains keyword with boolean schema true" - "empty array is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 157 - contains.json: "contains keyword with boolean schema false" - "any non-empty array is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/contains" 173s # }, 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/contains" 173s # }, 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 158 - contains.json: "contains keyword with boolean schema false" - "empty array is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 159 - contains.json: "contains keyword with boolean schema false" - "non-arrays are valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 160 - contains.json: "items + contains" - "matches items, does not match contains" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 3", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/contains/multipleOf" 173s # }, 173s # { 173s # "error": "value is not a multiple of 3", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/contains/multipleOf" 173s # }, 173s # { 173s # "error": "value is not a multiple of 3", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/contains/multipleOf" 173s # }, 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 3", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/contains/multipleOf" 173s # }, 173s # { 173s # "error": "value is not a multiple of 3", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/contains/multipleOf" 173s # }, 173s # { 173s # "error": "value is not a multiple of 3", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/contains/multipleOf" 173s # }, 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 161 - contains.json: "items + contains" - "does not match items, matches contains" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 2", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/items/multipleOf" 173s # }, 173s # { 173s # "error": "value is not a multiple of 2", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/items/multipleOf" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 2", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/items/multipleOf" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 162 - contains.json: "items + contains" - "matches both items and contains" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 163 - contains.json: "items + contains" - "matches neither items nor contains" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 2", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/items/multipleOf" 173s # }, 173s # { 173s # "error": "value is not a multiple of 2", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/items/multipleOf" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # }, 173s # { 173s # "error": "value is not a multiple of 3", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/contains/multipleOf" 173s # }, 173s # { 173s # "error": "value is not a multiple of 3", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/contains/multipleOf" 173s # }, 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 2", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/items/multipleOf" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 164 - contains.json: "contains with false if subschema" - "any non-empty array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 165 - contains.json: "contains with false if subschema" - "empty array is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 166 - contains.json: "contains with null instance elements" - "allows null items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 167 - content.json: "validation of string-encoded content based on media type" - "a valid JSON document" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 168 - content.json: "validation of string-encoded content based on media type" - "an invalid JSON document; validates true" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 169 - content.json: "validation of string-encoded content based on media type" - "ignores non-strings" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 170 - content.json: "validation of binary string-encoding" - "a valid base64 string" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 171 - content.json: "validation of binary string-encoding" - "an invalid base64 string (% is not a valid character); validates true" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 172 - content.json: "validation of binary string-encoding" - "ignores non-strings" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 173 - content.json: "validation of binary-encoded media type documents" - "a valid base64-encoded JSON document" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 174 - content.json: "validation of binary-encoded media type documents" - "a validly-encoded invalid JSON document; validates true" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 175 - content.json: "validation of binary-encoded media type documents" - "an invalid base64 string that is valid JSON; validates true" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 176 - content.json: "validation of binary-encoded media type documents" - "ignores non-strings" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 177 - content.json: "validation of binary-encoded media type documents with schema" - "a valid base64-encoded JSON document" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 178 - content.json: "validation of binary-encoded media type documents with schema" - "another valid base64-encoded JSON document" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 179 - content.json: "validation of binary-encoded media type documents with schema" - "an invalid base64-encoded JSON document; validates true" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 180 - content.json: "validation of binary-encoded media type documents with schema" - "an empty object as a base64-encoded JSON document; validates true" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 181 - content.json: "validation of binary-encoded media type documents with schema" - "an empty array as a base64-encoded JSON document" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 182 - content.json: "validation of binary-encoded media type documents with schema" - "a validly-encoded invalid JSON document; validates true" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 183 - content.json: "validation of binary-encoded media type documents with schema" - "an invalid base64 string that is valid JSON; validates true" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 184 - content.json: "validation of binary-encoded media type documents with schema" - "ignores non-strings" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 185 - default.json: "invalid type for default" - "valid when property is specified" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 186 - default.json: "invalid type for default" - "still valid when the invalid default is used" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 187 - default.json: "invalid string value for default" - "valid when property is specified" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 188 - default.json: "invalid string value for default" - "still valid when the invalid default is used" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 189 - default.json: "the default keyword does not do anything if the property is missing" - "an explicit property value is checked against maximum (passing)" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 190 - default.json: "the default keyword does not do anything if the property is missing" - "an explicit property value is checked against maximum (failing)" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is greater than 3", 173s # "instanceLocation": "/alpha", 173s # "keywordLocation": "/properties/alpha/maximum" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is greater than 3", 173s # "instanceLocation": "/alpha", 173s # "keywordLocation": "/properties/alpha/maximum" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 191 - default.json: "the default keyword does not do anything if the property is missing" - "missing properties are not filled in with the default" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 192 - defs.json: "validate definition against metaschema" - "valid definition schema" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 193 - defs.json: "validate definition against metaschema" - "invalid definition schema" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/$defs/simpleTypes/enum", 173s # "error": "value does not match", 173s # "instanceLocation": "/$defs/foo/type", 173s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties/type/anyOf/0/$ref/enum" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties/type/anyOf/1/type", 173s # "error": "got integer, not array", 173s # "instanceLocation": "/$defs/foo/type", 173s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties/type/anyOf/1/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties/type/anyOf", 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "/$defs/foo/type", 173s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties/type/anyOf" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/$defs/foo", 173s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/schema#/allOf", 173s # "error": "subschema 3 is not valid", 173s # "instanceLocation": "/$defs/foo", 173s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/core#/properties/$defs/additionalProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "/$defs", 173s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/core#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/allOf/0/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/schema#/allOf", 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/$defs/simpleTypes/enum", 173s # "error": "value does not match", 173s # "instanceLocation": "/$defs/foo/type", 173s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties/type/anyOf/0/$ref/enum" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties/type/anyOf/1/type", 173s # "error": "got integer, not array", 173s # "instanceLocation": "/$defs/foo/type", 173s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties/type/anyOf/1/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties/type/anyOf", 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "/$defs/foo/type", 173s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties/type/anyOf" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/$defs/foo", 173s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf/3/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/schema#/allOf", 173s # "error": "subschema 3 is not valid", 173s # "instanceLocation": "/$defs/foo", 173s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties/$dynamicRef/allOf" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/core#/properties/$defs/additionalProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "/$defs", 173s # "keywordLocation": "/$ref/allOf/0/$ref/properties/$defs/additionalProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/core#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/allOf/0/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/schema#/allOf", 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 194 - dependentRequired.json: "single dependency" - "neither" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 195 - dependentRequired.json: "single dependency" - "nondependant" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 196 - dependentRequired.json: "single dependency" - "with dependency" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 197 - dependentRequired.json: "single dependency" - "missing dependency" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired/bar" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired/bar" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 198 - dependentRequired.json: "single dependency" - "ignores arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 199 - dependentRequired.json: "single dependency" - "ignores strings" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 200 - dependentRequired.json: "single dependency" - "ignores other non-objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 201 - dependentRequired.json: "empty dependents" - "empty object" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 202 - dependentRequired.json: "empty dependents" - "object with one property" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 203 - dependentRequired.json: "empty dependents" - "non-object is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 204 - dependentRequired.json: "multiple dependents required" - "neither" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 205 - dependentRequired.json: "multiple dependents required" - "nondependants" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 206 - dependentRequired.json: "multiple dependents required" - "with dependencies" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 207 - dependentRequired.json: "multiple dependents required" - "missing dependency" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: bar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired/quux" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: bar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired/quux" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 208 - dependentRequired.json: "multiple dependents required" - "missing other dependency" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired/quux" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired/quux" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 209 - dependentRequired.json: "multiple dependents required" - "missing both dependencies" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing properties: foo, bar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired/quux" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing properties: foo, bar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired/quux" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 210 - dependentRequired.json: "dependencies with escaped characters" - "CRLF" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 211 - dependentRequired.json: "dependencies with escaped characters" - "quoted quotes" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 212 - dependentRequired.json: "dependencies with escaped characters" - "CRLF missing dependent" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo\rbar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired/foo\nbar" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo\rbar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired/foo\nbar" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 213 - dependentRequired.json: "dependencies with escaped characters" - "quoted quotes missing dependent" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo'bar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired/foo\"bar" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo'bar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired/foo\"bar" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentRequired" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 214 - dependentSchemas.json: "single dependency" - "valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 215 - dependentSchemas.json: "single dependency" - "no dependency" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 216 - dependentSchemas.json: "single dependency" - "wrong type" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/dependentSchemas/bar/properties/foo/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas/bar/properties" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/dependentSchemas/bar/properties/foo/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas/bar/properties" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 217 - dependentSchemas.json: "single dependency" - "wrong type other" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas/bar/properties" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas/bar/properties" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 218 - dependentSchemas.json: "single dependency" - "wrong type both" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 173s # }, 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/dependentSchemas/bar/properties/foo/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas/bar/properties" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/dependentSchemas/bar/properties/bar/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas/bar/properties" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 219 - dependentSchemas.json: "single dependency" - "ignores arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 220 - dependentSchemas.json: "single dependency" - "ignores strings" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 221 - dependentSchemas.json: "single dependency" - "ignores other non-objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 222 - dependentSchemas.json: "boolean subschemas" - "object with property having schema true is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 223 - dependentSchemas.json: "boolean subschemas" - "object with property having schema false is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas/bar" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas/bar" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 224 - dependentSchemas.json: "boolean subschemas" - "object with both properties is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas/bar" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas/bar" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 225 - dependentSchemas.json: "boolean subschemas" - "empty object is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 226 - dependentSchemas.json: "dependencies with escaped characters" - "quoted tab" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 227 - dependentSchemas.json: "dependencies with escaped characters" - "quoted quote" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo\"bar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas/foo'bar/required" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo\"bar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas/foo'bar/required" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 228 - dependentSchemas.json: "dependencies with escaped characters" - "quoted tab invalid under dependent schema" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object has fewer than 4 properties", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas/foo\tbar/minProperties" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object has fewer than 4 properties", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas/foo\tbar/minProperties" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 229 - dependentSchemas.json: "dependencies with escaped characters" - "quoted quote invalid under dependent schema" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo\"bar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas/foo'bar/required" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo\"bar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas/foo'bar/required" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 230 - dependentSchemas.json: "dependent subschema incompatible with root" - "matches root" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 231 - dependentSchemas.json: "dependent subschema incompatible with root" - "matches dependency" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 232 - dependentSchemas.json: "dependent subschema incompatible with root" - "matches both" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas/foo/additionalProperties" 173s # }, 173s # { 173s # "error": "not all dependencies are satisfied", 173s # "instanceLocation": "", 173s # "keywordLocation": "/dependentSchemas" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 233 - dependentSchemas.json: "dependent subschema incompatible with root" - "no dependency" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 234 - dynamicRef.json: "A $dynamicRef to a $dynamicAnchor in the same schema resource behaves like a normal $ref to an $anchor" - "An array of strings is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 235 - dynamicRef.json: "A $dynamicRef to a $dynamicAnchor in the same schema resource behaves like a normal $ref to an $anchor" - "An array containing non-strings is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-dynamicAnchor-same-schema/root#/$defs/foo/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/items/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-dynamicAnchor-same-schema/root#/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-dynamicAnchor-same-schema/root#/$defs/foo/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/items/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-dynamicAnchor-same-schema/root#/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 236 - dynamicRef.json: "A $dynamicRef to an $anchor in the same schema resource behaves like a normal $ref to an $anchor" - "An array of strings is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 237 - dynamicRef.json: "A $dynamicRef to an $anchor in the same schema resource behaves like a normal $ref to an $anchor" - "An array containing non-strings is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-anchor-same-schema/root#/$defs/foo/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/items/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-anchor-same-schema/root#/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-anchor-same-schema/root#/$defs/foo/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/items/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-anchor-same-schema/root#/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 238 - dynamicRef.json: "A $ref to a $dynamicAnchor in the same schema resource behaves like a normal $ref to an $anchor" - "An array of strings is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 239 - dynamicRef.json: "A $ref to a $dynamicAnchor in the same schema resource behaves like a normal $ref to an $anchor" - "An array containing non-strings is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/ref-dynamicAnchor-same-schema/root#/$defs/foo/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/items/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/ref-dynamicAnchor-same-schema/root#/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/ref-dynamicAnchor-same-schema/root#/$defs/foo/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/items/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/ref-dynamicAnchor-same-schema/root#/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 240 - dynamicRef.json: "A $dynamicRef resolves to the first $dynamicAnchor still in scope that is encountered when the schema is evaluated" - "An array of strings is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 241 - dynamicRef.json: "A $dynamicRef resolves to the first $dynamicAnchor still in scope that is encountered when the schema is evaluated" - "An array containing non-strings is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/typical-dynamic-resolution/root#/$defs/foo/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/$ref/items/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/typical-dynamic-resolution/list#/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/typical-dynamic-resolution/root#/$defs/foo/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/$ref/items/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/typical-dynamic-resolution/list#/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 242 - dynamicRef.json: "A $dynamicRef without anchor in fragment behaves identical to $ref" - "An array of strings is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-without-anchor/list#/$defs/items/type", 173s # "error": "got string, not number", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/$ref/items/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-without-anchor/list#/$defs/items/type", 173s # "error": "got string, not number", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/$ref/items/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-without-anchor/list#/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-without-anchor/list#/$defs/items/type", 173s # "error": "got string, not number", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/$ref/items/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamicRef-without-anchor/list#/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 243 - dynamicRef.json: "A $dynamicRef without anchor in fragment behaves identical to $ref" - "An array of numbers is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 244 - dynamicRef.json: "A $dynamicRef with intermediate scopes that don't include a matching $dynamicAnchor does not affect dynamic scope resolution" - "An array of strings is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 245 - dynamicRef.json: "A $dynamicRef with intermediate scopes that don't include a matching $dynamicAnchor does not affect dynamic scope resolution" - "An array containing non-strings is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-resolution-with-intermediate-scopes/root#/$defs/foo/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/$ref/$ref/items/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-resolution-with-intermediate-scopes/list#/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-resolution-with-intermediate-scopes/root#/$defs/foo/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/$ref/$ref/items/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-resolution-with-intermediate-scopes/list#/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 246 - dynamicRef.json: "An $anchor with the same name as a $dynamicAnchor is not used for dynamic scope resolution" - "Any array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 247 - dynamicRef.json: "A $dynamicRef without a matching $dynamicAnchor in the same schema resource behaves like a normal $ref to $anchor" - "Any array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 248 - dynamicRef.json: "A $dynamicRef with a non-matching $dynamicAnchor in the same schema resource behaves like a normal $ref to $anchor" - "Any array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 249 - dynamicRef.json: "A $dynamicRef that initially resolves to a schema with a matching $dynamicAnchor resolves to the first $dynamicAnchor in the dynamic scope" - "The recursive part is valid against the root" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 250 - dynamicRef.json: "A $dynamicRef that initially resolves to a schema with a matching $dynamicAnchor resolves to the first $dynamicAnchor in the dynamic scope" - "The recursive part is not valid against the root" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/root#/properties/foo/const", 173s # "error": "value does not match", 173s # "instanceLocation": "/bar/baz/foo", 173s # "keywordLocation": "/$ref/properties/bar/$ref/properties/baz/$dynamicRef/properties/foo/const" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/root#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/bar/baz", 173s # "keywordLocation": "/$ref/properties/bar/$ref/properties/baz/$dynamicRef/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/bar#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/$ref/properties/bar/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/extended#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/root#/properties/foo/const", 173s # "error": "value does not match", 173s # "instanceLocation": "/bar/baz/foo", 173s # "keywordLocation": "/$ref/properties/bar/$ref/properties/baz/$dynamicRef/properties/foo/const" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/root#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/bar/baz", 173s # "keywordLocation": "/$ref/properties/bar/$ref/properties/baz/$dynamicRef/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/bar#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/$ref/properties/bar/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/relative-dynamic-reference/extended#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 251 - dynamicRef.json: "A $dynamicRef that initially resolves to a schema without a matching $dynamicAnchor behaves like a normal $ref to $anchor" - "The recursive part doesn't need to validate against the root" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 252 - dynamicRef.json: "multiple dynamic paths to the $dynamicRef keyword" - "number list with number values" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 253 - dynamicRef.json: "multiple dynamic paths to the $dynamicRef keyword" - "number list with string values" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/numberList#/$defs/itemType/type", 173s # "error": "got string, not number", 173s # "instanceLocation": "/list/0", 173s # "keywordLocation": "/then/$ref/$ref/properties/list/items/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties/list/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/list", 173s # "keywordLocation": "/then/$ref/$ref/properties/list/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then/$ref/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/main#/then", 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/numberList#/$defs/itemType/type", 173s # "error": "got string, not number", 173s # "instanceLocation": "/list/0", 173s # "keywordLocation": "/then/$ref/$ref/properties/list/items/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties/list/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/list", 173s # "keywordLocation": "/then/$ref/$ref/properties/list/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then/$ref/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/main#/then", 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 254 - dynamicRef.json: "multiple dynamic paths to the $dynamicRef keyword" - "string list with number values" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/stringList#/$defs/itemType/type", 173s # "error": "got number, not string", 173s # "instanceLocation": "/list/0", 173s # "keywordLocation": "/else/$ref/$ref/properties/list/items/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties/list/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/list", 173s # "keywordLocation": "/else/$ref/$ref/properties/list/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/else/$ref/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/main#/else", 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/else" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/stringList#/$defs/itemType/type", 173s # "error": "got number, not string", 173s # "instanceLocation": "/list/0", 173s # "keywordLocation": "/else/$ref/$ref/properties/list/items/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties/list/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/list", 173s # "keywordLocation": "/else/$ref/$ref/properties/list/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/genericList#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/else/$ref/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-with-multiple-paths/main#/else", 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/else" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 255 - dynamicRef.json: "multiple dynamic paths to the $dynamicRef keyword" - "string list with string values" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 256 - dynamicRef.json: "after leaving a dynamic scope, it is not used by a $dynamicRef" - "string matches /$defs/thingy, but the $dynamicRef does not stop here" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/second_scope#/$defs/thingy/type", 173s # "error": "got string, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then/$ref/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/main#/then", 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/second_scope#/$defs/thingy/type", 173s # "error": "got string, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then/$ref/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/main#/then", 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 257 - dynamicRef.json: "after leaving a dynamic scope, it is not used by a $dynamicRef" - "first_scope is not in dynamic scope for the $dynamicRef" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/second_scope#/$defs/thingy/type", 173s # "error": "got integer, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then/$ref/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/main#/then", 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/second_scope#/$defs/thingy/type", 173s # "error": "got integer, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then/$ref/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-leaving-dynamic-scope/main#/then", 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 258 - dynamicRef.json: "after leaving a dynamic scope, it is not used by a $dynamicRef" - "/then/$defs/thingy is the final stop for the $dynamicRef" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 259 - dynamicRef.json: "strict-tree schema, guards against misspelled properties" - "instance with misspelled field" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/children/0/daat", 173s # "keywordLocation": "/$ref/properties/children/items/$dynamicRef/unevaluatedProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "/children/0", 173s # "keywordLocation": "/$ref/properties/children/items/$dynamicRef/unevaluatedProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree.json#/properties/children/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/children", 173s # "keywordLocation": "/$ref/properties/children/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree.json#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/children", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/children/0/daat", 173s # "keywordLocation": "/$ref/properties/children/items/$dynamicRef/unevaluatedProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "/children/0", 173s # "keywordLocation": "/$ref/properties/children/items/$dynamicRef/unevaluatedProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree.json#/properties/children/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/children", 173s # "keywordLocation": "/$ref/properties/children/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree.json#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/children", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-tree.json#/unevaluatedProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 260 - dynamicRef.json: "strict-tree schema, guards against misspelled properties" - "instance with correct field" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 261 - dynamicRef.json: "tests for implementation dynamic anchor and reference link" - "incorrect parent schema" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/required", 173s # "error": "object is missing property: elements", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/additionalProperties", 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/a", 173s # "keywordLocation": "/$ref/additionalProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/additionalProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/required", 173s # "error": "object is missing property: elements", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/required" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 262 - dynamicRef.json: "tests for implementation dynamic anchor and reference link" - "incorrect extended schema" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible.json#/$defs/elements/required", 173s # "error": "object is missing property: a", 173s # "instanceLocation": "/elements/0", 173s # "keywordLocation": "/$ref/properties/elements/items/$dynamicRef/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible.json#/$defs/elements/additionalProperties", 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/elements/0/b", 173s # "keywordLocation": "/$ref/properties/elements/items/$dynamicRef/additionalProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible.json#/$defs/elements/additionalProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "/elements/0", 173s # "keywordLocation": "/$ref/properties/elements/items/$dynamicRef/additionalProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties/elements/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/elements", 173s # "keywordLocation": "/$ref/properties/elements/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible.json#/$defs/elements/required", 173s # "error": "object is missing property: a", 173s # "instanceLocation": "/elements/0", 173s # "keywordLocation": "/$ref/properties/elements/items/$dynamicRef/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties/elements/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/elements", 173s # "keywordLocation": "/$ref/properties/elements/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 263 - dynamicRef.json: "tests for implementation dynamic anchor and reference link" - "correct extended schema" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 264 - dynamicRef.json: "$ref and $dynamicAnchor are independent of order - $defs first" - "incorrect parent schema" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/required", 173s # "error": "object is missing property: elements", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/$ref/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/additionalProperties", 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/a", 173s # "keywordLocation": "/allOf/0/$ref/additionalProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/additionalProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/$ref/additionalProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf", 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/required", 173s # "error": "object is missing property: elements", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/$ref/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf", 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 265 - dynamicRef.json: "$ref and $dynamicAnchor are independent of order - $defs first" - "incorrect extended schema" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf/1/$defs/elements/required", 173s # "error": "object is missing property: a", 173s # "instanceLocation": "/elements/0", 173s # "keywordLocation": "/allOf/0/$ref/properties/elements/items/$dynamicRef/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf/1/$defs/elements/additionalProperties", 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/elements/0/b", 173s # "keywordLocation": "/allOf/0/$ref/properties/elements/items/$dynamicRef/additionalProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf/1/$defs/elements/additionalProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "/elements/0", 173s # "keywordLocation": "/allOf/0/$ref/properties/elements/items/$dynamicRef/additionalProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties/elements/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/elements", 173s # "keywordLocation": "/allOf/0/$ref/properties/elements/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf", 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf/1/$defs/elements/required", 173s # "error": "object is missing property: a", 173s # "instanceLocation": "/elements/0", 173s # "keywordLocation": "/allOf/0/$ref/properties/elements/items/$dynamicRef/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties/elements/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/elements", 173s # "keywordLocation": "/allOf/0/$ref/properties/elements/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-defs-first.json#/allOf", 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 266 - dynamicRef.json: "$ref and $dynamicAnchor are independent of order - $defs first" - "correct extended schema" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 267 - dynamicRef.json: "$ref and $dynamicAnchor are independent of order - $ref first" - "incorrect parent schema" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/required", 173s # "error": "object is missing property: elements", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/$ref/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/additionalProperties", 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/a", 173s # "keywordLocation": "/allOf/1/$ref/additionalProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/additionalProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/$ref/additionalProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf", 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/required", 173s # "error": "object is missing property: elements", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/$ref/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf", 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 268 - dynamicRef.json: "$ref and $dynamicAnchor are independent of order - $ref first" - "incorrect extended schema" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf/0/$defs/elements/required", 173s # "error": "object is missing property: a", 173s # "instanceLocation": "/elements/0", 173s # "keywordLocation": "/allOf/1/$ref/properties/elements/items/$dynamicRef/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf/0/$defs/elements/additionalProperties", 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/elements/0/b", 173s # "keywordLocation": "/allOf/1/$ref/properties/elements/items/$dynamicRef/additionalProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf/0/$defs/elements/additionalProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "/elements/0", 173s # "keywordLocation": "/allOf/1/$ref/properties/elements/items/$dynamicRef/additionalProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties/elements/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/elements", 173s # "keywordLocation": "/allOf/1/$ref/properties/elements/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf", 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf/0/$defs/elements/required", 173s # "error": "object is missing property: a", 173s # "instanceLocation": "/elements/0", 173s # "keywordLocation": "/allOf/1/$ref/properties/elements/items/$dynamicRef/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties/elements/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/elements", 173s # "keywordLocation": "/allOf/1/$ref/properties/elements/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/strict-extendible-allof-ref-first.json#/allOf", 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 269 - dynamicRef.json: "$ref and $dynamicAnchor are independent of order - $ref first" - "correct extended schema" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 270 - dynamicRef.json: "$ref to $dynamicRef finds detached $dynamicAnchor" - "number is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 271 - dynamicRef.json: "$ref to $dynamicRef finds detached $dynamicAnchor" - "non-number is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/detached-dynamicref.json#/$defs/detached/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$dynamicRef/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/detached-dynamicref.json#/$defs/detached/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$dynamicRef/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 272 - dynamicRef.json: "$dynamicRef points to a boolean schema" - "follow $dynamicRef to a true schema" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 273 - dynamicRef.json: "$dynamicRef points to a boolean schema" - "follow $dynamicRef to a false schema" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/false", 173s # "error": "subschema is false", 173s # "instanceLocation": "/false", 173s # "keywordLocation": "/properties/false/$dynamicRef" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/false", 173s # "error": "subschema is false", 173s # "instanceLocation": "/false", 173s # "keywordLocation": "/properties/false/$dynamicRef" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 274 - dynamicRef.json: "$dynamicRef skips over intermediate resources - direct reference" - "integer property passes" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 275 - dynamicRef.json: "$dynamicRef skips over intermediate resources - direct reference" - "string property fails" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/item#/$defs/defaultContent/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "/bar-item/content", 173s # "keywordLocation": "/properties/bar-item/$ref/properties/content/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/item#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/bar-item", 173s # "keywordLocation": "/properties/bar-item/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/main#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/item#/$defs/defaultContent/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "/bar-item/content", 173s # "keywordLocation": "/properties/bar-item/$ref/properties/content/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/item#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/bar-item", 173s # "keywordLocation": "/properties/bar-item/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/main#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 276 - enum.json: "simple enum validation" - "one of the enum is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 277 - enum.json: "simple enum validation" - "something else is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 278 - enum.json: "heterogeneous enum validation" - "one of the enum is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 279 - enum.json: "heterogeneous enum validation" - "something else is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 280 - enum.json: "heterogeneous enum validation" - "objects are deep compared" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (from enum 0 at '': wrong type: object vs integer; from enum 1 at '': wrong type: object vs string; from enum 2 at '': wrong type: object vs array; from enum 3 at '': wrong type: object vs boolean; from enum 4 at '/foo': wrong type: boolean vs integer)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (from enum 0 at '': wrong type: object vs integer; from enum 1 at '': wrong type: object vs string; from enum 2 at '': wrong type: object vs array; from enum 3 at '': wrong type: object vs boolean; from enum 4 at '/foo': wrong type: boolean vs integer)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 281 - enum.json: "heterogeneous enum validation" - "valid object matches" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 282 - enum.json: "heterogeneous enum validation" - "extra properties in object is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 283 - enum.json: "heterogeneous enum-with-null validation" - "null is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 284 - enum.json: "heterogeneous enum-with-null validation" - "number is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 285 - enum.json: "heterogeneous enum-with-null validation" - "something else is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 286 - enum.json: "enums in properties" - "both properties are valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 287 - enum.json: "enums in properties" - "wrong foo value" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/enum" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/enum" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 288 - enum.json: "enums in properties" - "wrong bar value" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar/enum" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar/enum" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 289 - enum.json: "enums in properties" - "missing optional property is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 290 - enum.json: "enums in properties" - "missing required property is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: bar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/required" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: bar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/required" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 291 - enum.json: "enums in properties" - "missing all properties is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: bar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/required" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: bar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/required" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 292 - enum.json: "enum with escaped characters" - "member 1 is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 293 - enum.json: "enum with escaped characters" - "member 2 is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 294 - enum.json: "enum with escaped characters" - "another string is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 295 - enum.json: "enum with false does not match 0" - "false is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 296 - enum.json: "enum with false does not match 0" - "integer zero is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 297 - enum.json: "enum with false does not match 0" - "float zero is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 298 - enum.json: "enum with [false] does not match [0]" - "[false] is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 299 - enum.json: "enum with [false] does not match [0]" - "[0] is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 300 - enum.json: "enum with [false] does not match [0]" - "[0.0] is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 301 - enum.json: "enum with true does not match 1" - "true is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 302 - enum.json: "enum with true does not match 1" - "integer one is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 303 - enum.json: "enum with true does not match 1" - "float one is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 304 - enum.json: "enum with [true] does not match [1]" - "[true] is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 305 - enum.json: "enum with [true] does not match [1]" - "[1] is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 306 - enum.json: "enum with [true] does not match [1]" - "[1.0] is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 307 - enum.json: "enum with 0 does not match false" - "false is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 308 - enum.json: "enum with 0 does not match false" - "integer zero is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 309 - enum.json: "enum with 0 does not match false" - "float zero is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 310 - enum.json: "enum with [0] does not match [false]" - "[false] is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 311 - enum.json: "enum with [0] does not match [false]" - "[0] is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 312 - enum.json: "enum with [0] does not match [false]" - "[0.0] is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 313 - enum.json: "enum with 1 does not match true" - "true is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 314 - enum.json: "enum with 1 does not match true" - "integer one is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 315 - enum.json: "enum with 1 does not match true" - "float one is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 316 - enum.json: "enum with [1] does not match [true]" - "[true] is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 317 - enum.json: "enum with [1] does not match [true]" - "[1] is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 318 - enum.json: "enum with [1] does not match [true]" - "[1.0] is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 319 - enum.json: "nul characters in strings" - "match string with nul" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 320 - enum.json: "nul characters in strings" - "do not match string lacking nul" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 321 - exclusiveMaximum.json: "exclusiveMaximum validation" - "below the exclusiveMaximum is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 322 - exclusiveMaximum.json: "exclusiveMaximum validation" - "boundary point is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is greater than or equal to 3", 173s # "instanceLocation": "", 173s # "keywordLocation": "/exclusiveMaximum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is greater than or equal to 3", 173s # "instanceLocation": "", 173s # "keywordLocation": "/exclusiveMaximum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 323 - exclusiveMaximum.json: "exclusiveMaximum validation" - "above the exclusiveMaximum is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is greater than or equal to 3", 173s # "instanceLocation": "", 173s # "keywordLocation": "/exclusiveMaximum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is greater than or equal to 3", 173s # "instanceLocation": "", 173s # "keywordLocation": "/exclusiveMaximum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 324 - exclusiveMaximum.json: "exclusiveMaximum validation" - "ignores non-numbers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 325 - exclusiveMinimum.json: "exclusiveMinimum validation" - "above the exclusiveMinimum is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 326 - exclusiveMinimum.json: "exclusiveMinimum validation" - "boundary point is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is less than or equal to 1.1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/exclusiveMinimum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is less than or equal to 1.1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/exclusiveMinimum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 327 - exclusiveMinimum.json: "exclusiveMinimum validation" - "below the exclusiveMinimum is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is less than or equal to 1.1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/exclusiveMinimum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is less than or equal to 1.1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/exclusiveMinimum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 328 - exclusiveMinimum.json: "exclusiveMinimum validation" - "ignores non-numbers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 329 - format.json: "email format" - "all string formats ignore integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 330 - format.json: "email format" - "all string formats ignore floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 331 - format.json: "email format" - "all string formats ignore objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 332 - format.json: "email format" - "all string formats ignore arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 333 - format.json: "email format" - "all string formats ignore booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 334 - format.json: "email format" - "all string formats ignore nulls" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 335 - format.json: "email format" - "invalid email string is only an annotation by default" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 336 - format.json: "idn-email format" - "all string formats ignore integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 337 - format.json: "idn-email format" - "all string formats ignore floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 338 - format.json: "idn-email format" - "all string formats ignore objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 339 - format.json: "idn-email format" - "all string formats ignore arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 340 - format.json: "idn-email format" - "all string formats ignore booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 341 - format.json: "idn-email format" - "all string formats ignore nulls" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 342 - format.json: "idn-email format" - "invalid idn-email string is only an annotation by default" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 343 - format.json: "regex format" - "all string formats ignore integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 344 - format.json: "regex format" - "all string formats ignore floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 345 - format.json: "regex format" - "all string formats ignore objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 346 - format.json: "regex format" - "all string formats ignore arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 347 - format.json: "regex format" - "all string formats ignore booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 348 - format.json: "regex format" - "all string formats ignore nulls" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 349 - format.json: "regex format" - "invalid regex string is only an annotation by default" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 350 - format.json: "ipv4 format" - "all string formats ignore integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 351 - format.json: "ipv4 format" - "all string formats ignore floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 352 - format.json: "ipv4 format" - "all string formats ignore objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 353 - format.json: "ipv4 format" - "all string formats ignore arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 354 - format.json: "ipv4 format" - "all string formats ignore booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 355 - format.json: "ipv4 format" - "all string formats ignore nulls" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 356 - format.json: "ipv4 format" - "invalid ipv4 string is only an annotation by default" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 357 - format.json: "ipv6 format" - "all string formats ignore integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 358 - format.json: "ipv6 format" - "all string formats ignore floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 359 - format.json: "ipv6 format" - "all string formats ignore objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 360 - format.json: "ipv6 format" - "all string formats ignore arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 361 - format.json: "ipv6 format" - "all string formats ignore booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 362 - format.json: "ipv6 format" - "all string formats ignore nulls" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 363 - format.json: "ipv6 format" - "invalid ipv6 string is only an annotation by default" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 364 - format.json: "idn-hostname format" - "all string formats ignore integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 365 - format.json: "idn-hostname format" - "all string formats ignore floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 366 - format.json: "idn-hostname format" - "all string formats ignore objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 367 - format.json: "idn-hostname format" - "all string formats ignore arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 368 - format.json: "idn-hostname format" - "all string formats ignore booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 369 - format.json: "idn-hostname format" - "all string formats ignore nulls" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 370 - format.json: "idn-hostname format" - "invalid idn-hostname string is only an annotation by default" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 371 - format.json: "hostname format" - "all string formats ignore integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 372 - format.json: "hostname format" - "all string formats ignore floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 373 - format.json: "hostname format" - "all string formats ignore objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 374 - format.json: "hostname format" - "all string formats ignore arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 375 - format.json: "hostname format" - "all string formats ignore booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 376 - format.json: "hostname format" - "all string formats ignore nulls" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 377 - format.json: "hostname format" - "invalid hostname string is only an annotation by default" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 378 - format.json: "date format" - "all string formats ignore integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 379 - format.json: "date format" - "all string formats ignore floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 380 - format.json: "date format" - "all string formats ignore objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 381 - format.json: "date format" - "all string formats ignore arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 382 - format.json: "date format" - "all string formats ignore booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 383 - format.json: "date format" - "all string formats ignore nulls" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 384 - format.json: "date format" - "invalid date string is only an annotation by default" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 385 - format.json: "date-time format" - "all string formats ignore integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 386 - format.json: "date-time format" - "all string formats ignore floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 387 - format.json: "date-time format" - "all string formats ignore objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 388 - format.json: "date-time format" - "all string formats ignore arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 389 - format.json: "date-time format" - "all string formats ignore booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 390 - format.json: "date-time format" - "all string formats ignore nulls" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 391 - format.json: "date-time format" - "invalid date-time string is only an annotation by default" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 392 - format.json: "time format" - "all string formats ignore integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 393 - format.json: "time format" - "all string formats ignore floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 394 - format.json: "time format" - "all string formats ignore objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 395 - format.json: "time format" - "all string formats ignore arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 396 - format.json: "time format" - "all string formats ignore booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 397 - format.json: "time format" - "all string formats ignore nulls" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 398 - format.json: "time format" - "invalid time string is only an annotation by default" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 399 - format.json: "json-pointer format" - "all string formats ignore integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 400 - format.json: "json-pointer format" - "all string formats ignore floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 401 - format.json: "json-pointer format" - "all string formats ignore objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 402 - format.json: "json-pointer format" - "all string formats ignore arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 403 - format.json: "json-pointer format" - "all string formats ignore booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 404 - format.json: "json-pointer format" - "all string formats ignore nulls" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 405 - format.json: "json-pointer format" - "invalid json-pointer string is only an annotation by default" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 406 - format.json: "relative-json-pointer format" - "all string formats ignore integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 407 - format.json: "relative-json-pointer format" - "all string formats ignore floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 408 - format.json: "relative-json-pointer format" - "all string formats ignore objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 409 - format.json: "relative-json-pointer format" - "all string formats ignore arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 410 - format.json: "relative-json-pointer format" - "all string formats ignore booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 411 - format.json: "relative-json-pointer format" - "all string formats ignore nulls" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 412 - format.json: "relative-json-pointer format" - "invalid relative-json-pointer string is only an annotation by default" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 413 - format.json: "iri format" - "all string formats ignore integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 414 - format.json: "iri format" - "all string formats ignore floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 415 - format.json: "iri format" - "all string formats ignore objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 416 - format.json: "iri format" - "all string formats ignore arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 417 - format.json: "iri format" - "all string formats ignore booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 418 - format.json: "iri format" - "all string formats ignore nulls" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 419 - format.json: "iri format" - "invalid iri string is only an annotation by default" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 420 - format.json: "iri-reference format" - "all string formats ignore integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 421 - format.json: "iri-reference format" - "all string formats ignore floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 422 - format.json: "iri-reference format" - "all string formats ignore objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 423 - format.json: "iri-reference format" - "all string formats ignore arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 424 - format.json: "iri-reference format" - "all string formats ignore booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 425 - format.json: "iri-reference format" - "all string formats ignore nulls" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 426 - format.json: "iri-reference format" - "invalid iri-reference string is only an annotation by default" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 427 - format.json: "uri format" - "all string formats ignore integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 428 - format.json: "uri format" - "all string formats ignore floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 429 - format.json: "uri format" - "all string formats ignore objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 430 - format.json: "uri format" - "all string formats ignore arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 431 - format.json: "uri format" - "all string formats ignore booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 432 - format.json: "uri format" - "all string formats ignore nulls" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 433 - format.json: "uri format" - "invalid uri string is only an annotation by default" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 434 - format.json: "uri-reference format" - "all string formats ignore integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 435 - format.json: "uri-reference format" - "all string formats ignore floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 436 - format.json: "uri-reference format" - "all string formats ignore objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 437 - format.json: "uri-reference format" - "all string formats ignore arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 438 - format.json: "uri-reference format" - "all string formats ignore booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 439 - format.json: "uri-reference format" - "all string formats ignore nulls" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 440 - format.json: "uri-reference format" - "invalid uri-reference string is only an annotation by default" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 441 - format.json: "uri-template format" - "all string formats ignore integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 442 - format.json: "uri-template format" - "all string formats ignore floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 443 - format.json: "uri-template format" - "all string formats ignore objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 444 - format.json: "uri-template format" - "all string formats ignore arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 445 - format.json: "uri-template format" - "all string formats ignore booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 446 - format.json: "uri-template format" - "all string formats ignore nulls" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 447 - format.json: "uri-template format" - "invalid uri-template string is only an annotation by default" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 448 - format.json: "uuid format" - "all string formats ignore integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 449 - format.json: "uuid format" - "all string formats ignore floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 450 - format.json: "uuid format" - "all string formats ignore objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 451 - format.json: "uuid format" - "all string formats ignore arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 452 - format.json: "uuid format" - "all string formats ignore booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 453 - format.json: "uuid format" - "all string formats ignore nulls" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 454 - format.json: "uuid format" - "invalid uuid string is only an annotation by default" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 455 - format.json: "duration format" - "all string formats ignore integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 456 - format.json: "duration format" - "all string formats ignore floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 457 - format.json: "duration format" - "all string formats ignore objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 458 - format.json: "duration format" - "all string formats ignore arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 459 - format.json: "duration format" - "all string formats ignore booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 460 - format.json: "duration format" - "all string formats ignore nulls" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 461 - format.json: "duration format" - "invalid duration string is only an annotation by default" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 462 - if-then-else.json: "ignore if without then or else" - "valid when valid against lone if" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 463 - if-then-else.json: "ignore if without then or else" - "valid when invalid against lone if" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 464 - if-then-else.json: "ignore then without if" - "valid when valid against lone then" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 465 - if-then-else.json: "ignore then without if" - "valid when invalid against lone then" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 466 - if-then-else.json: "ignore else without if" - "valid when valid against lone else" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 467 - if-then-else.json: "ignore else without if" - "valid when invalid against lone else" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 468 - if-then-else.json: "if and then without else" - "valid through then" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 469 - if-then-else.json: "if and then without else" - "invalid through then" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is less than -10", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then/minimum" 173s # }, 173s # { 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is less than -10", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then/minimum" 173s # }, 173s # { 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 470 - if-then-else.json: "if and then without else" - "valid when if test fails" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 471 - if-then-else.json: "if and else without then" - "valid when if test passes" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 472 - if-then-else.json: "if and else without then" - "valid through else" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 473 - if-then-else.json: "if and else without then" - "invalid through else" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/else/multipleOf" 173s # }, 173s # { 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/else" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/else/multipleOf" 173s # }, 173s # { 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/else" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 474 - if-then-else.json: "validate against correct branch, then vs else" - "valid through then" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 475 - if-then-else.json: "validate against correct branch, then vs else" - "invalid through then" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is less than -10", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then/minimum" 173s # }, 173s # { 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is less than -10", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then/minimum" 173s # }, 173s # { 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 476 - if-then-else.json: "validate against correct branch, then vs else" - "valid through else" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 477 - if-then-else.json: "validate against correct branch, then vs else" - "invalid through else" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/else/multipleOf" 173s # }, 173s # { 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/else" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/else/multipleOf" 173s # }, 173s # { 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/else" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 478 - if-then-else.json: "non-interference across combined schemas" - "valid, but would have been invalid through then" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 479 - if-then-else.json: "non-interference across combined schemas" - "valid, but would have been invalid through else" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 480 - if-then-else.json: "if with boolean schema true" - "boolean schema true in if always chooses the then path (valid)" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 481 - if-then-else.json: "if with boolean schema true" - "boolean schema true in if always chooses the then path (invalid)" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then/const" 173s # }, 173s # { 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then/const" 173s # }, 173s # { 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 482 - if-then-else.json: "if with boolean schema false" - "boolean schema false in if always chooses the else path (invalid)" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/else/const" 173s # }, 173s # { 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/else" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/else/const" 173s # }, 173s # { 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/else" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 483 - if-then-else.json: "if with boolean schema false" - "boolean schema false in if always chooses the else path (valid)" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 484 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "yes redirects to then and passes" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 485 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "other redirects to else and passes" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 486 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "no redirects to then and fails" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then/const" 173s # }, 173s # { 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then/const" 173s # }, 173s # { 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/then" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 487 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "invalid redirects to else and fails" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/else/const" 173s # }, 173s # { 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/else" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/else/const" 173s # }, 173s # { 173s # "error": "subschema is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/else" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 488 - infinite-loop-detection.json: "evaluating the same schema location against the same data location twice is not a sign of an infinite loop" - "passing case" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 489 - infinite-loop-detection.json: "evaluating the same schema location against the same data location twice is not a sign of an infinite loop" - "failing case" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/int/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/int/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/allOf/1/additionalProperties/$ref/type" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/additionalProperties" 173s # }, 173s # { 173s # "error": "subschemas 0, 1 are not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/int/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/properties" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 490 - items.json: "a schema given for items" - "valid items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 491 - items.json: "a schema given for items" - "wrong type of items" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/items/type" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/items/type" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 492 - items.json: "a schema given for items" - "ignores non-arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 493 - items.json: "a schema given for items" - "JavaScript pseudo-array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 494 - items.json: "items with boolean schema (true)" - "any array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 495 - items.json: "items with boolean schema (true)" - "empty array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 496 - items.json: "items with boolean schema (false)" - "any non-empty array is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "item not permitted", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/items" 173s # }, 173s # { 173s # "error": "item not permitted", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/items" 173s # }, 173s # { 173s # "error": "item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "item not permitted", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 497 - items.json: "items with boolean schema (false)" - "empty array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 498 - items.json: "items and subitems" - "valid items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 499 - items.json: "items and subitems" - "too many items" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/3", 173s # "keywordLocation": "/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/3", 173s # "keywordLocation": "/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 500 - items.json: "items and subitems" - "too many sub-items" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/item/items", 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/0/2", 173s # "keywordLocation": "/prefixItems/0/$ref/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/item/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/prefixItems/0/$ref/items" 173s # }, 173s # { 173s # "error": "not all items are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/prefixItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/item/items", 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/0/2", 173s # "keywordLocation": "/prefixItems/0/$ref/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/item/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/prefixItems/0/$ref/items" 173s # }, 173s # { 173s # "error": "not all items are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/prefixItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 501 - items.json: "items and subitems" - "wrong item" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/item/type", 173s # "error": "got object, not array", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/prefixItems/0/$ref/type" 173s # }, 173s # { 173s # "error": "not all items are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/prefixItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/item/type", 173s # "error": "got object, not array", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/prefixItems/0/$ref/type" 173s # }, 173s # { 173s # "error": "not all items are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/prefixItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 502 - items.json: "items and subitems" - "wrong sub-item" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/sub-item/required", 173s # "error": "object is missing property: foo", 173s # "instanceLocation": "/0/0", 173s # "keywordLocation": "/prefixItems/0/$ref/prefixItems/0/$ref/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/item/prefixItems", 173s # "error": "not all items are valid", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/prefixItems/0/$ref/prefixItems" 173s # }, 173s # { 173s # "error": "not all items are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/prefixItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/sub-item/required", 173s # "error": "object is missing property: foo", 173s # "instanceLocation": "/0/0", 173s # "keywordLocation": "/prefixItems/0/$ref/prefixItems/0/$ref/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/item/prefixItems", 173s # "error": "not all items are valid", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/prefixItems/0/$ref/prefixItems" 173s # }, 173s # { 173s # "error": "not all items are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/prefixItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 503 - items.json: "items and subitems" - "fewer items is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 504 - items.json: "nested items" - "valid nested array" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 505 - items.json: "nested items" - "nested array with invalid type" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "/0/0/0/0", 173s # "keywordLocation": "/items/items/items/items/type" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/0/0/0", 173s # "keywordLocation": "/items/items/items/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/0/0", 173s # "keywordLocation": "/items/items/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/items/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "/0/0/0/0", 173s # "keywordLocation": "/items/items/items/items/type" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/0/0/0", 173s # "keywordLocation": "/items/items/items/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/0/0", 173s # "keywordLocation": "/items/items/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/items/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 506 - items.json: "nested items" - "not deep enough" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not array", 173s # "instanceLocation": "/0/0/0", 173s # "keywordLocation": "/items/items/items/type" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/0/0", 173s # "keywordLocation": "/items/items/items" 173s # }, 173s # { 173s # "error": "got integer, not array", 173s # "instanceLocation": "/0/1/0", 173s # "keywordLocation": "/items/items/items/type" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/0/1", 173s # "keywordLocation": "/items/items/items" 173s # }, 173s # { 173s # "error": "got integer, not array", 173s # "instanceLocation": "/0/2/0", 173s # "keywordLocation": "/items/items/items/type" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/0/2", 173s # "keywordLocation": "/items/items/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/items/items" 173s # }, 173s # { 173s # "error": "got integer, not array", 173s # "instanceLocation": "/1/0/0", 173s # "keywordLocation": "/items/items/items/type" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/1/0", 173s # "keywordLocation": "/items/items/items" 173s # }, 173s # { 173s # "error": "got integer, not array", 173s # "instanceLocation": "/1/1/0", 173s # "keywordLocation": "/items/items/items/type" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/1/1", 173s # "keywordLocation": "/items/items/items" 173s # }, 173s # { 173s # "error": "got integer, not array", 173s # "instanceLocation": "/1/2/0", 173s # "keywordLocation": "/items/items/items/type" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/1/2", 173s # "keywordLocation": "/items/items/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/items/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not array", 173s # "instanceLocation": "/0/0/0", 173s # "keywordLocation": "/items/items/items/type" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/0/0", 173s # "keywordLocation": "/items/items/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/items/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 507 - items.json: "prefixItems with no additional items allowed" - "empty array" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 508 - items.json: "prefixItems with no additional items allowed" - "fewer number of items present (1)" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 509 - items.json: "prefixItems with no additional items allowed" - "fewer number of items present (2)" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 510 - items.json: "prefixItems with no additional items allowed" - "equal number of items present" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 511 - items.json: "prefixItems with no additional items allowed" - "additional items are not permitted" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/3", 173s # "keywordLocation": "/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/3", 173s # "keywordLocation": "/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 512 - items.json: "items does not look in applicators, valid case" - "prefixItems in allOf does not constrain items, invalid case" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is less than 5", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/items/minimum" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is less than 5", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/items/minimum" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 513 - items.json: "items does not look in applicators, valid case" - "prefixItems in allOf does not constrain items, valid case" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 514 - items.json: "prefixItems validation adjusts the starting index for items" - "valid items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 515 - items.json: "prefixItems validation adjusts the starting index for items" - "wrong type of second item" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/items/type" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/items/type" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 516 - items.json: "items with heterogeneous array" - "heterogeneous invalid instance" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/items" 173s # }, 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 517 - items.json: "items with heterogeneous array" - "valid instance" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 518 - items.json: "items with null instance elements" - "allows null elements" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 519 - maxContains.json: "maxContains without contains is ignored" - "one item valid against lone maxContains" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 520 - maxContains.json: "maxContains without contains is ignored" - "two items still valid against lone maxContains" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 521 - maxContains.json: "maxContains with contains" - "empty data" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 522 - maxContains.json: "maxContains with contains" - "all elements match, valid maxContains" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 523 - maxContains.json: "maxContains with contains" - "all elements match, invalid maxContains" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "array contains more than 1 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "array contains more than 1 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 524 - maxContains.json: "maxContains with contains" - "some elements match, valid maxContains" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 525 - maxContains.json: "maxContains with contains" - "some elements match, invalid maxContains" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "array contains more than 1 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "array contains more than 1 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 526 - maxContains.json: "maxContains with contains, value with a decimal" - "one element matches, valid maxContains" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 527 - maxContains.json: "maxContains with contains, value with a decimal" - "too many elements match, invalid maxContains" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "array contains more than 1 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "array contains more than 1 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 528 - maxContains.json: "minContains < maxContains" - "actual < minContains < maxContains" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # }, 173s # { 173s # "error": "array contains fewer than 1 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 529 - maxContains.json: "minContains < maxContains" - "minContains < actual < maxContains" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 530 - maxContains.json: "minContains < maxContains" - "minContains < maxContains < actual" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "array contains more than 3 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "array contains more than 3 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 531 - maxItems.json: "maxItems validation" - "shorter is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 532 - maxItems.json: "maxItems validation" - "exact length is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 533 - maxItems.json: "maxItems validation" - "too long is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "array has more than 2 items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "array has more than 2 items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 534 - maxItems.json: "maxItems validation" - "ignores non-arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 535 - maxItems.json: "maxItems validation with a decimal" - "shorter is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 536 - maxItems.json: "maxItems validation with a decimal" - "too long is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "array has more than 2 items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "array has more than 2 items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 537 - maxLength.json: "maxLength validation" - "shorter is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 538 - maxLength.json: "maxLength validation" - "exact length is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 539 - maxLength.json: "maxLength validation" - "too long is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "length is greater than 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxLength" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "length is greater than 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxLength" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 540 - maxLength.json: "maxLength validation" - "ignores non-strings" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 541 - maxLength.json: "maxLength validation" - "two graphemes is long enough" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 542 - maxLength.json: "maxLength validation with a decimal" - "shorter is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 543 - maxLength.json: "maxLength validation with a decimal" - "too long is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "length is greater than 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxLength" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "length is greater than 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxLength" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 544 - maxProperties.json: "maxProperties validation" - "shorter is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 545 - maxProperties.json: "maxProperties validation" - "exact length is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 546 - maxProperties.json: "maxProperties validation" - "too long is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object has more than 2 properties", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object has more than 2 properties", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 547 - maxProperties.json: "maxProperties validation" - "ignores arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 548 - maxProperties.json: "maxProperties validation" - "ignores strings" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 549 - maxProperties.json: "maxProperties validation" - "ignores other non-objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 550 - maxProperties.json: "maxProperties validation with a decimal" - "shorter is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 551 - maxProperties.json: "maxProperties validation with a decimal" - "too long is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object has more than 2 properties", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object has more than 2 properties", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 552 - maxProperties.json: "maxProperties = 0 means the object is empty" - "no properties is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 553 - maxProperties.json: "maxProperties = 0 means the object is empty" - "one property is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object has more than 0 property", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object has more than 0 property", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 554 - maximum.json: "maximum validation" - "below the maximum is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 555 - maximum.json: "maximum validation" - "boundary point is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 556 - maximum.json: "maximum validation" - "above the maximum is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is greater than 3", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maximum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is greater than 3", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maximum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 557 - maximum.json: "maximum validation" - "ignores non-numbers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 558 - maximum.json: "maximum validation with unsigned integer" - "below the maximum is invalid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 559 - maximum.json: "maximum validation with unsigned integer" - "boundary point integer is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 560 - maximum.json: "maximum validation with unsigned integer" - "boundary point float is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 561 - maximum.json: "maximum validation with unsigned integer" - "above the maximum is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is greater than 300", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maximum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is greater than 300", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maximum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 562 - minContains.json: "minContains without contains is ignored" - "one item valid against lone minContains" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 563 - minContains.json: "minContains without contains is ignored" - "zero items still valid against lone minContains" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 564 - minContains.json: "minContains=1 with contains" - "empty data" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # }, 173s # { 173s # "error": "array contains fewer than 1 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 565 - minContains.json: "minContains=1 with contains" - "no elements match" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/contains/const" 173s # }, 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # }, 173s # { 173s # "error": "array contains fewer than 1 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/contains/const" 173s # }, 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 566 - minContains.json: "minContains=1 with contains" - "single element matches, valid minContains" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 567 - minContains.json: "minContains=1 with contains" - "some elements match, valid minContains" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 568 - minContains.json: "minContains=1 with contains" - "all elements match, valid minContains" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 569 - minContains.json: "minContains=2 with contains" - "empty data" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # }, 173s # { 173s # "error": "array contains fewer than 2 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 570 - minContains.json: "minContains=2 with contains" - "all elements match, invalid minContains" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "array contains fewer than 2 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "array contains fewer than 2 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 571 - minContains.json: "minContains=2 with contains" - "some elements match, invalid minContains" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "array contains fewer than 2 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "array contains fewer than 2 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 572 - minContains.json: "minContains=2 with contains" - "all elements match, valid minContains (exactly as needed)" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 573 - minContains.json: "minContains=2 with contains" - "all elements match, valid minContains (more than needed)" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 574 - minContains.json: "minContains=2 with contains" - "some elements match, valid minContains" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 575 - minContains.json: "minContains=2 with contains with a decimal value" - "one element matches, invalid minContains" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "array contains fewer than 2 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "array contains fewer than 2 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 576 - minContains.json: "minContains=2 with contains with a decimal value" - "both elements match, valid minContains" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 577 - minContains.json: "maxContains = minContains" - "empty data" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # }, 173s # { 173s # "error": "array contains fewer than 2 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 578 - minContains.json: "maxContains = minContains" - "all elements match, invalid minContains" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "array contains fewer than 2 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "array contains fewer than 2 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 579 - minContains.json: "maxContains = minContains" - "all elements match, invalid maxContains" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "array contains more than 2 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "array contains more than 2 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 580 - minContains.json: "maxContains = minContains" - "all elements match, valid maxContains and minContains" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 581 - minContains.json: "maxContains < minContains" - "empty data" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # }, 173s # { 173s # "error": "array contains fewer than 3 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 582 - minContains.json: "maxContains < minContains" - "invalid minContains" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "array contains fewer than 3 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "array contains fewer than 3 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 583 - minContains.json: "maxContains < minContains" - "invalid maxContains" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "array contains more than 1 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "array contains more than 1 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 584 - minContains.json: "maxContains < minContains" - "invalid maxContains and minContains" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "array contains more than 1 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxContains" 173s # }, 173s # { 173s # "error": "array contains fewer than 3 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "array contains more than 1 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 585 - minContains.json: "minContains = 0" - "empty data" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 586 - minContains.json: "minContains = 0" - "minContains = 0 makes contains always pass" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 587 - minContains.json: "minContains = 0 with maxContains" - "empty data" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 588 - minContains.json: "minContains = 0 with maxContains" - "not more than maxContains" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 589 - minContains.json: "minContains = 0 with maxContains" - "too many" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "array contains more than 1 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "array contains more than 1 matching items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/maxContains" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 590 - minItems.json: "minItems validation" - "longer is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 591 - minItems.json: "minItems validation" - "exact length is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 592 - minItems.json: "minItems validation" - "too short is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "array has fewer than 1 item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "array has fewer than 1 item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 593 - minItems.json: "minItems validation" - "ignores non-arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 594 - minItems.json: "minItems validation with a decimal" - "longer is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 595 - minItems.json: "minItems validation with a decimal" - "too short is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "array has fewer than 1 item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "array has fewer than 1 item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 596 - minLength.json: "minLength validation" - "longer is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 597 - minLength.json: "minLength validation" - "exact length is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 598 - minLength.json: "minLength validation" - "too short is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "length is less than 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minLength" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "length is less than 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minLength" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 599 - minLength.json: "minLength validation" - "ignores non-strings" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 600 - minLength.json: "minLength validation" - "one grapheme is not long enough" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "length is less than 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minLength" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "length is less than 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minLength" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 601 - minLength.json: "minLength validation with a decimal" - "longer is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 602 - minLength.json: "minLength validation with a decimal" - "too short is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "length is less than 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minLength" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "length is less than 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minLength" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 603 - minProperties.json: "minProperties validation" - "longer is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 604 - minProperties.json: "minProperties validation" - "exact length is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 605 - minProperties.json: "minProperties validation" - "too short is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object has fewer than 1 property", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object has fewer than 1 property", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 606 - minProperties.json: "minProperties validation" - "ignores arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 607 - minProperties.json: "minProperties validation" - "ignores strings" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 608 - minProperties.json: "minProperties validation" - "ignores other non-objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 609 - minProperties.json: "minProperties validation with a decimal" - "longer is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 610 - minProperties.json: "minProperties validation with a decimal" - "too short is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object has fewer than 1 property", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object has fewer than 1 property", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 611 - minimum.json: "minimum validation" - "above the minimum is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 612 - minimum.json: "minimum validation" - "boundary point is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 613 - minimum.json: "minimum validation" - "below the minimum is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is less than 1.1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minimum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is less than 1.1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minimum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 614 - minimum.json: "minimum validation" - "ignores non-numbers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 615 - minimum.json: "minimum validation with signed integer" - "negative above the minimum is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 616 - minimum.json: "minimum validation with signed integer" - "positive above the minimum is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 617 - minimum.json: "minimum validation with signed integer" - "boundary point is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 618 - minimum.json: "minimum validation with signed integer" - "boundary point with float is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 619 - minimum.json: "minimum validation with signed integer" - "float below the minimum is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is less than -2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minimum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is less than -2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minimum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 620 - minimum.json: "minimum validation with signed integer" - "int below the minimum is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is less than -2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minimum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is less than -2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minimum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 621 - minimum.json: "minimum validation with signed integer" - "ignores non-numbers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 622 - multipleOf.json: "by int" - "int by int" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 623 - multipleOf.json: "by int" - "int by int fail" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/multipleOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/multipleOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 624 - multipleOf.json: "by int" - "ignores non-numbers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 625 - multipleOf.json: "by number" - "zero is multiple of anything" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 626 - multipleOf.json: "by number" - "4.5 is multiple of 1.5" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 627 - multipleOf.json: "by number" - "35 is not multiple of 1.5" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 1.5", 173s # "instanceLocation": "", 173s # "keywordLocation": "/multipleOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 1.5", 173s # "instanceLocation": "", 173s # "keywordLocation": "/multipleOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 628 - multipleOf.json: "by small number" - "0.0075 is multiple of 0.0001" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 629 - multipleOf.json: "by small number" - "0.00751 is not multiple of 0.0001" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 0.0001", 173s # "instanceLocation": "", 173s # "keywordLocation": "/multipleOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 0.0001", 173s # "instanceLocation": "", 173s # "keywordLocation": "/multipleOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 630 - multipleOf.json: "float division = inf" - "always invalid, but naive implementations may raise an overflow error" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 0.123456789", 173s # "instanceLocation": "", 173s # "keywordLocation": "/multipleOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 0.123456789", 173s # "instanceLocation": "", 173s # "keywordLocation": "/multipleOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 631 - multipleOf.json: "small multiple of large integer" - "any integer is a multiple of 1e-8" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 632 - not.json: "not" - "allowed" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 633 - not.json: "not" - "disallowed" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 634 - not.json: "not multiple types" - "valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 635 - not.json: "not multiple types" - "mismatch" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 636 - not.json: "not multiple types" - "other mismatch" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 637 - not.json: "not more complex schema" - "match" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 638 - not.json: "not more complex schema" - "other match" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 639 - not.json: "not more complex schema" - "mismatch" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 640 - not.json: "forbidden property" - "property present" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/not" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/not" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 641 - not.json: "forbidden property" - "property absent" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 642 - not.json: "forbid everything with empty schema" - "number is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 643 - not.json: "forbid everything with empty schema" - "string is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 644 - not.json: "forbid everything with empty schema" - "boolean true is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 645 - not.json: "forbid everything with empty schema" - "boolean false is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 646 - not.json: "forbid everything with empty schema" - "null is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 647 - not.json: "forbid everything with empty schema" - "object is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 648 - not.json: "forbid everything with empty schema" - "empty object is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 649 - not.json: "forbid everything with empty schema" - "array is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 650 - not.json: "forbid everything with empty schema" - "empty array is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 651 - not.json: "forbid everything with boolean schema true" - "number is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 652 - not.json: "forbid everything with boolean schema true" - "string is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 653 - not.json: "forbid everything with boolean schema true" - "boolean true is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 654 - not.json: "forbid everything with boolean schema true" - "boolean false is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 655 - not.json: "forbid everything with boolean schema true" - "null is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 656 - not.json: "forbid everything with boolean schema true" - "object is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 657 - not.json: "forbid everything with boolean schema true" - "empty object is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 658 - not.json: "forbid everything with boolean schema true" - "array is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 659 - not.json: "forbid everything with boolean schema true" - "empty array is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 660 - not.json: "allow everything with boolean schema false" - "number is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 661 - not.json: "allow everything with boolean schema false" - "string is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 662 - not.json: "allow everything with boolean schema false" - "boolean true is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 663 - not.json: "allow everything with boolean schema false" - "boolean false is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 664 - not.json: "allow everything with boolean schema false" - "null is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 665 - not.json: "allow everything with boolean schema false" - "object is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 666 - not.json: "allow everything with boolean schema false" - "empty object is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 667 - not.json: "allow everything with boolean schema false" - "array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 668 - not.json: "allow everything with boolean schema false" - "empty array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 669 - not.json: "double negation" - "any value is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 670 - not.json: "collect annotations inside a 'not', even if collection is disabled" - "unevaluated property" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 671 - not.json: "collect annotations inside a 'not', even if collection is disabled" - "annotations are still collected inside a 'not'" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/not" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 672 - oneOf.json: "oneOf" - "first oneOf valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 673 - oneOf.json: "oneOf" - "second oneOf valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 674 - oneOf.json: "oneOf" - "both oneOf valid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 675 - oneOf.json: "oneOf" - "neither oneOf valid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got number, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/type" 173s # }, 173s # { 173s # "error": "value is less than 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/minimum" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got number, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/type" 173s # }, 173s # { 173s # "error": "value is less than 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/minimum" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 676 - oneOf.json: "oneOf with base schema" - "mismatch base schema" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # }, 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 677 - oneOf.json: "oneOf with base schema" - "one oneOf valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 678 - oneOf.json: "oneOf with base schema" - "both oneOf valid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 679 - oneOf.json: "oneOf with boolean schemas, all true" - "any value is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1, 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 680 - oneOf.json: "oneOf with boolean schemas, one true" - "any value is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 681 - oneOf.json: "oneOf with boolean schemas, more than one true" - "any value is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 682 - oneOf.json: "oneOf with boolean schemas, all false" - "any value is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0" 173s # }, 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1" 173s # }, 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/2" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0" 173s # }, 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1" 173s # }, 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/2" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 683 - oneOf.json: "oneOf complex types" - "first oneOf valid (complex)" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 684 - oneOf.json: "oneOf complex types" - "second oneOf valid (complex)" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 685 - oneOf.json: "oneOf complex types" - "both oneOf valid (complex)" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 686 - oneOf.json: "oneOf complex types" - "neither oneOf valid (complex)" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/oneOf/0/properties/bar/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/properties" 173s # }, 173s # { 173s # "error": "got integer, not string", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/oneOf/1/properties/foo/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/properties" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/oneOf/0/properties/bar/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/properties" 173s # }, 173s # { 173s # "error": "got integer, not string", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/oneOf/1/properties/foo/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/properties" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 687 - oneOf.json: "oneOf with empty schema" - "one valid - valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 688 - oneOf.json: "oneOf with empty schema" - "both valid - invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 689 - oneOf.json: "oneOf with required" - "both invalid - invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/required" 173s # }, 173s # { 173s # "error": "object is missing properties: foo, baz", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/required" 173s # }, 173s # { 173s # "error": "object is missing properties: foo, baz", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 690 - oneOf.json: "oneOf with required" - "first valid - valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 691 - oneOf.json: "oneOf with required" - "second valid - valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 692 - oneOf.json: "oneOf with required" - "both valid - invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 693 - oneOf.json: "oneOf with missing optional property" - "first oneOf valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 694 - oneOf.json: "oneOf with missing optional property" - "second oneOf valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 695 - oneOf.json: "oneOf with missing optional property" - "both oneOf valid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 696 - oneOf.json: "oneOf with missing optional property" - "neither oneOf valid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: bar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/required" 173s # }, 173s # { 173s # "error": "object is missing property: foo", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: bar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/required" 173s # }, 173s # { 173s # "error": "object is missing property: foo", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 697 - oneOf.json: "nested oneOf, to check validation semantics" - "null is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 698 - oneOf.json: "nested oneOf, to check validation semantics" - "anything non-null is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/oneOf/0/type" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/oneOf" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/oneOf/0/type" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/oneOf" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 699 - pattern.json: "pattern validation" - "a matching pattern is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 700 - pattern.json: "pattern validation" - "a non-matching pattern is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 701 - pattern.json: "pattern validation" - "ignores booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 702 - pattern.json: "pattern validation" - "ignores integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 703 - pattern.json: "pattern validation" - "ignores floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 704 - pattern.json: "pattern validation" - "ignores objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 705 - pattern.json: "pattern validation" - "ignores arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 706 - pattern.json: "pattern validation" - "ignores null" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 707 - pattern.json: "pattern is not anchored" - "matches a substring" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 708 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single valid match is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 709 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple valid matches is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 710 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single invalid match is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/patternProperties/f.*o/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/patternProperties/f.*o/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 711 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple invalid matches is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/patternProperties/f.*o/type" 173s # }, 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/foooooo", 173s # "keywordLocation": "/patternProperties/f.*o/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/patternProperties/f.*o/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 712 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 713 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores strings" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 714 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores other non-objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 715 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a single valid match is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 716 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a simultaneous match is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 717 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "multiple matches is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 718 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to one is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/a", 173s # "keywordLocation": "/patternProperties/a*/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/a", 173s # "keywordLocation": "/patternProperties/a*/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 719 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to the other is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is greater than 20", 173s # "instanceLocation": "/aaaa", 173s # "keywordLocation": "/patternProperties/aaa*/maximum" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is greater than 20", 173s # "instanceLocation": "/aaaa", 173s # "keywordLocation": "/patternProperties/aaa*/maximum" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 720 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to both is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/aaa", 173s # "keywordLocation": "/patternProperties/a*/type" 173s # }, 173s # { 173s # "error": "value is greater than 20", 173s # "instanceLocation": "/aaaa", 173s # "keywordLocation": "/patternProperties/aaa*/maximum" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/aaa", 173s # "keywordLocation": "/patternProperties/a*/type" 173s # }, 173s # { 173s # "error": "value is greater than 20", 173s # "instanceLocation": "/aaaa", 173s # "keywordLocation": "/patternProperties/aaa*/maximum" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 721 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "non recognized members are ignored" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 722 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "recognized members are accounted for" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got null, not boolean", 173s # "instanceLocation": "/a31b", 173s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got null, not boolean", 173s # "instanceLocation": "/a31b", 173s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 723 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 724 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive, 2" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not string", 173s # "instanceLocation": "/a_X_3", 173s # "keywordLocation": "/patternProperties/X_/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not string", 173s # "instanceLocation": "/a_X_3", 173s # "keywordLocation": "/patternProperties/X_/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 725 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema true is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 726 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema false is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/patternProperties/b.*" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/patternProperties/b.*" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 727 - patternProperties.json: "patternProperties with boolean schemas" - "object with both properties is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/patternProperties/b.*" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/patternProperties/b.*" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 728 - patternProperties.json: "patternProperties with boolean schemas" - "object with a property matching both true and false is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "property not permitted", 173s # "instanceLocation": "/foobar", 173s # "keywordLocation": "/patternProperties/b.*" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "property not permitted", 173s # "instanceLocation": "/foobar", 173s # "keywordLocation": "/patternProperties/b.*" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 729 - patternProperties.json: "patternProperties with boolean schemas" - "empty object is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 730 - patternProperties.json: "patternProperties with null valued instance properties" - "allows null values" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 731 - prefixItems.json: "a schema given for prefixItems" - "correct types" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 732 - prefixItems.json: "a schema given for prefixItems" - "wrong types" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/prefixItems/0/type" 173s # }, 173s # { 173s # "error": "got integer, not string", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/prefixItems/1/type" 173s # }, 173s # { 173s # "error": "not all items are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/prefixItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/prefixItems/0/type" 173s # }, 173s # { 173s # "error": "not all items are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/prefixItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 733 - prefixItems.json: "a schema given for prefixItems" - "incomplete array of items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 734 - prefixItems.json: "a schema given for prefixItems" - "array with additional items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 735 - prefixItems.json: "a schema given for prefixItems" - "empty array" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 736 - prefixItems.json: "a schema given for prefixItems" - "JavaScript pseudo-array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 737 - prefixItems.json: "prefixItems with boolean schemas" - "array with one item is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 738 - prefixItems.json: "prefixItems with boolean schemas" - "array with two items is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "item not permitted", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/prefixItems/1" 173s # }, 173s # { 173s # "error": "not all items are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/prefixItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "item not permitted", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/prefixItems/1" 173s # }, 173s # { 173s # "error": "not all items are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/prefixItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 739 - prefixItems.json: "prefixItems with boolean schemas" - "empty array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 740 - prefixItems.json: "additional items are allowed by default" - "only the first item is validated" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 741 - prefixItems.json: "prefixItems with null instance elements" - "allows null elements" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 742 - properties.json: "object properties validation" - "both properties present and valid is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 743 - properties.json: "object properties validation" - "one property invalid is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got object, not string", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got object, not string", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 744 - properties.json: "object properties validation" - "both properties invalid is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got object, not string", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar/type" 173s # }, 173s # { 173s # "error": "got array, not integer", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got object, not string", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 745 - properties.json: "object properties validation" - "doesn't invalidate other properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 746 - properties.json: "object properties validation" - "ignores arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 747 - properties.json: "object properties validation" - "ignores other non-objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 748 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property validates property" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 749 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property invalidates property" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "array has more than 3 items", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/maxItems" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "array has more than 3 items", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/maxItems" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 750 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates property" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "array has fewer than 2 items", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/patternProperties/f.o/minItems" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "array has fewer than 2 items", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/patternProperties/f.o/minItems" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 751 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty validates nonproperty" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 752 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates nonproperty" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "array has fewer than 2 items", 173s # "instanceLocation": "/fxo", 173s # "keywordLocation": "/patternProperties/f.o/minItems" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "array has fewer than 2 items", 173s # "instanceLocation": "/fxo", 173s # "keywordLocation": "/patternProperties/f.o/minItems" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 753 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty ignores property" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 754 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty validates others" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 755 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty invalidates others" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/quux", 173s # "keywordLocation": "/additionalProperties/type" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/quux", 173s # "keywordLocation": "/additionalProperties/type" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 756 - properties.json: "properties with boolean schema" - "no property present is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 757 - properties.json: "properties with boolean schema" - "only 'true' property present is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 758 - properties.json: "properties with boolean schema" - "only 'false' property present is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 759 - properties.json: "properties with boolean schema" - "both properties present is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 760 - properties.json: "properties with escaped characters" - "object with all numbers is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 761 - properties.json: "properties with escaped characters" - "object with strings is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "/foo\tbar", 173s # "keywordLocation": "/properties/foo\tbar/type" 173s # }, 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "/foo\nbar", 173s # "keywordLocation": "/properties/foo\nbar/type" 173s # }, 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "/foo\fbar", 173s # "keywordLocation": "/properties/foo\fbar/type" 173s # }, 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "/foo\rbar", 173s # "keywordLocation": "/properties/foo\rbar/type" 173s # }, 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "/foo\"bar", 173s # "keywordLocation": "/properties/foo\"bar/type" 173s # }, 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "/foo\\bar", 173s # "keywordLocation": "/properties/foo\\bar/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "/foo\tbar", 173s # "keywordLocation": "/properties/foo\tbar/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 762 - properties.json: "properties with null valued instance properties" - "allows null values" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 763 - properties.json: "properties whose names are Javascript object property names" - "ignores arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 764 - properties.json: "properties whose names are Javascript object property names" - "ignores other non-objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 765 - properties.json: "properties whose names are Javascript object property names" - "none of the properties mentioned" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 766 - properties.json: "properties whose names are Javascript object property names" - "__proto__ not valid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "/__proto__", 173s # "keywordLocation": "/properties/__proto__/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "/__proto__", 173s # "keywordLocation": "/properties/__proto__/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 767 - properties.json: "properties whose names are Javascript object property names" - "toString not valid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not string", 173s # "instanceLocation": "/toString/length", 173s # "keywordLocation": "/properties/toString/properties/length/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/toString", 173s # "keywordLocation": "/properties/toString/properties" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not string", 173s # "instanceLocation": "/toString/length", 173s # "keywordLocation": "/properties/toString/properties/length/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/toString", 173s # "keywordLocation": "/properties/toString/properties" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 768 - properties.json: "properties whose names are Javascript object property names" - "constructor not valid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got object, not number", 173s # "instanceLocation": "/constructor", 173s # "keywordLocation": "/properties/constructor/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got object, not number", 173s # "instanceLocation": "/constructor", 173s # "keywordLocation": "/properties/constructor/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 769 - properties.json: "properties whose names are Javascript object property names" - "all present and valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 770 - propertyNames.json: "propertyNames validation" - "all property names valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 771 - propertyNames.json: "propertyNames validation" - "some property names invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "length is greater than 3", 173s # "instanceLocation": "/foobar", 173s # "keywordLocation": "/propertyNames/maxLength" 173s # }, 173s # { 173s # "error": "not all property names are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/propertyNames" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "length is greater than 3", 173s # "instanceLocation": "/foobar", 173s # "keywordLocation": "/propertyNames/maxLength" 173s # }, 173s # { 173s # "error": "not all property names are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/propertyNames" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 772 - propertyNames.json: "propertyNames validation" - "object without properties is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 773 - propertyNames.json: "propertyNames validation" - "ignores arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 774 - propertyNames.json: "propertyNames validation" - "ignores strings" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 775 - propertyNames.json: "propertyNames validation" - "ignores other non-objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 776 - propertyNames.json: "propertyNames with boolean schema true" - "object with any properties is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 777 - propertyNames.json: "propertyNames with boolean schema true" - "empty object is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 778 - propertyNames.json: "propertyNames with boolean schema false" - "object with any properties is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/propertyNames" 173s # }, 173s # { 173s # "error": "not all property names are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/propertyNames" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "subschema is false", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/propertyNames" 173s # }, 173s # { 173s # "error": "not all property names are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/propertyNames" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 779 - propertyNames.json: "propertyNames with boolean schema false" - "empty object is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 780 - ref.json: "root pointer ref" - "match" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 781 - ref.json: "root pointer ref" - "recursive match" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 782 - ref.json: "root pointer ref" - "mismatch" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 783 - ref.json: "root pointer ref" - "recursive mismatch" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/additionalProperties", 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo/bar", 173s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/additionalProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/additionalProperties", 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo/bar", 173s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/additionalProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 784 - ref.json: "relative pointer ref to object" - "match" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 785 - ref.json: "relative pointer ref to object" - "mismatch" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/properties/foo/type", 173s # "error": "got boolean, not integer", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar/$ref/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/properties/foo/type", 173s # "error": "got boolean, not integer", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar/$ref/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 786 - ref.json: "relative pointer ref to array" - "match array" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 787 - ref.json: "relative pointer ref to array" - "mismatch array" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/prefixItems/0/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/prefixItems/1/$ref/type" 173s # }, 173s # { 173s # "error": "not all items are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/prefixItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/prefixItems/0/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/prefixItems/1/$ref/type" 173s # }, 173s # { 173s # "error": "not all items are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/prefixItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 788 - ref.json: "escaped pointer ref" - "slash invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/slash~1field/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "/slash", 173s # "keywordLocation": "/properties/slash/$ref/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/slash~1field/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "/slash", 173s # "keywordLocation": "/properties/slash/$ref/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 789 - ref.json: "escaped pointer ref" - "tilde invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/tilde~0field/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "/tilde", 173s # "keywordLocation": "/properties/tilde/$ref/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/tilde~0field/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "/tilde", 173s # "keywordLocation": "/properties/tilde/$ref/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 790 - ref.json: "escaped pointer ref" - "percent invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/percent%25field/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "/percent", 173s # "keywordLocation": "/properties/percent/$ref/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/percent%25field/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "/percent", 173s # "keywordLocation": "/properties/percent/$ref/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 791 - ref.json: "escaped pointer ref" - "slash valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 792 - ref.json: "escaped pointer ref" - "tilde valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 793 - ref.json: "escaped pointer ref" - "percent valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 794 - ref.json: "nested refs" - "nested ref valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 795 - ref.json: "nested refs" - "nested ref invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/a/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/a/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 796 - ref.json: "ref applies alongside sibling keywords" - "ref valid, maxItems valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 797 - ref.json: "ref applies alongside sibling keywords" - "ref valid, maxItems invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "array has more than 2 items", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/maxItems" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "array has more than 2 items", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/maxItems" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 798 - ref.json: "ref applies alongside sibling keywords" - "ref invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/reffed/type", 173s # "error": "got string, not array", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/reffed/type", 173s # "error": "got string, not array", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 799 - ref.json: "remote ref, containing refs itself" - "remote ref valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 800 - ref.json: "remote ref, containing refs itself" - "remote ref invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/$defs/nonNegativeInteger/minimum", 173s # "error": "value is less than 0", 173s # "instanceLocation": "/minLength", 173s # "keywordLocation": "/$ref/allOf/3/$ref/properties/minLength/$ref/$ref/minimum" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/allOf/3/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/schema#/allOf", 173s # "error": "subschema 3 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/$defs/nonNegativeInteger/minimum", 173s # "error": "value is less than 0", 173s # "instanceLocation": "/minLength", 173s # "keywordLocation": "/$ref/allOf/3/$ref/properties/minLength/$ref/$ref/minimum" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/meta/validation#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/allOf/3/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://json-schema.org/draft/2020-12/schema#/allOf", 173s # "error": "subschema 3 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 801 - ref.json: "property named $ref that is not a reference" - "property named $ref valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 802 - ref.json: "property named $ref that is not a reference" - "property named $ref invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not string", 173s # "instanceLocation": "/$ref", 173s # "keywordLocation": "/properties/$ref/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not string", 173s # "instanceLocation": "/$ref", 173s # "keywordLocation": "/properties/$ref/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 803 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 804 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/is-string/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/$ref", 173s # "keywordLocation": "/properties/$ref/$ref/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/is-string/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/$ref", 173s # "keywordLocation": "/properties/$ref/$ref/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 805 - ref.json: "$ref to boolean schema true" - "any value is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 806 - ref.json: "$ref to boolean schema false" - "any value is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/bool", 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/bool", 173s # "error": "subschema is false", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 807 - ref.json: "Recursive references between schemas" - "valid tree" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 808 - ref.json: "Recursive references between schemas" - "invalid tree" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/node#/properties/value/type", 173s # "error": "got string, not number", 173s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 173s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/node#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/nodes/0/subtree/nodes/0", 173s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties/nodes/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/nodes/0/subtree/nodes", 173s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/nodes/0/subtree", 173s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/node#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/nodes/0", 173s # "keywordLocation": "/properties/nodes/items/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties/nodes/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/nodes", 173s # "keywordLocation": "/properties/nodes/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/node#/properties/value/type", 173s # "error": "got string, not number", 173s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 173s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/node#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/nodes/0/subtree/nodes/0", 173s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties/nodes/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/nodes/0/subtree/nodes", 173s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/nodes/0/subtree", 173s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/node#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/nodes/0", 173s # "keywordLocation": "/properties/nodes/items/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties/nodes/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/nodes", 173s # "keywordLocation": "/properties/nodes/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/tree#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 809 - ref.json: "refs with quote" - "object with numbers is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 810 - ref.json: "refs with quote" - "object with strings is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/foo%22bar/type", 173s # "error": "got string, not number", 173s # "instanceLocation": "/foo\"bar", 173s # "keywordLocation": "/properties/foo\"bar/$ref/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/foo%22bar/type", 173s # "error": "got string, not number", 173s # "instanceLocation": "/foo\"bar", 173s # "keywordLocation": "/properties/foo\"bar/$ref/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 811 - ref.json: "ref creates new scope when adjacent to keywords" - "referenced subschema doesn't see annotations from properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/prop1", 173s # "keywordLocation": "/$ref/unevaluatedProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/prop1", 173s # "keywordLocation": "/$ref/unevaluatedProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/A/unevaluatedProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 812 - ref.json: "naive replacement of $ref with its destination is not correct" - "do not evaluate the $ref inside the enum, matching any string" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 813 - ref.json: "naive replacement of $ref with its destination is not correct" - "do not evaluate the $ref inside the enum, definition exact match" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/enum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 814 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 815 - ref.json: "refs with relative uris and defs" - "invalid on inner field" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/foo/bar", 173s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/foo/bar", 173s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 816 - ref.json: "refs with relative uris and defs" - "invalid on outer field" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/$ref/$ref/properties/bar/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/$ref/$ref/properties/bar/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/$defs/inner/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 817 - ref.json: "refs with relative uris and defs" - "valid on both fields" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 818 - ref.json: "relative refs with absolute uris and defs" - "invalid on inner field" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/foo/bar", 173s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/foo/bar", 173s # "keywordLocation": "/properties/foo/$ref/properties/bar/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 819 - ref.json: "relative refs with absolute uris and defs" - "invalid on outer field" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/$ref/$ref/properties/bar/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/$ref/$ref/properties/bar/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/$defs/inner/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 820 - ref.json: "relative refs with absolute uris and defs" - "valid on both fields" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 821 - ref.json: "$id must be resolved against nearest parent, not just immediate parent" - "number is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 822 - ref.json: "$id must be resolved against nearest parent, not just immediate parent" - "non-number is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 173s # "error": "got string, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 173s # "error": "got string, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 823 - ref.json: "order of evaluation: $id and $ref" - "data is valid against first definition" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 824 - ref.json: "order of evaluation: $id and $ref" - "data is invalid against first definition" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://example.com/draft2020-12/ref-and-id1/int.json#/maximum", 173s # "error": "value is greater than 10", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/maximum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://example.com/draft2020-12/ref-and-id1/int.json#/maximum", 173s # "error": "value is greater than 10", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/maximum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 825 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is valid against first definition" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 826 - ref.json: "order of evaluation: $id and $anchor and $ref" - "data is invalid against first definition" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://example.com/draft2020-12/ref-and-id2/base.json#/$defs/bigint/maximum", 173s # "error": "value is greater than 10", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/maximum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://example.com/draft2020-12/ref-and-id2/base.json#/$defs/bigint/maximum", 173s # "error": "value is greater than 10", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/maximum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 827 - ref.json: "simple URN base URI with $ref via the URN" - "valid under the URN IDed schema" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 828 - ref.json: "simple URN base URI with $ref via the URN" - "invalid under the URN IDed schema" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 173s # "error": "value is less than 30", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/minimum" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 173s # "error": "value is less than 30", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/minimum" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 829 - ref.json: "simple URN base URI with JSON pointer" - "a string is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 830 - ref.json: "simple URN base URI with JSON pointer" - "a non-string is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/$defs/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/$defs/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 831 - ref.json: "URN base URI with NSS" - "a string is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 832 - ref.json: "URN base URI with NSS" - "a non-string is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/$defs/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/$defs/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 833 - ref.json: "URN base URI with r-component" - "a string is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 834 - ref.json: "URN base URI with r-component" - "a non-string is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/$defs/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/$defs/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 835 - ref.json: "URN base URI with q-component" - "a string is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 836 - ref.json: "URN base URI with q-component" - "a non-string is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/$defs/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/$defs/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 837 - ref.json: "URN base URI with URN and JSON pointer ref" - "a string is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 838 - ref.json: "URN base URI with URN and JSON pointer ref" - "a non-string is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/$defs/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/$defs/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 839 - ref.json: "URN base URI with URN and anchor ref" - "a string is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 840 - ref.json: "URN base URI with URN and anchor ref" - "a non-string is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/$defs/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/$defs/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 841 - ref.json: "URN ref with nested pointer ref" - "a string is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 842 - ref.json: "URN ref with nested pointer ref" - "a non-string is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "urn:uuid:deadbeef-4321-ffff-ffff-1234feebdaed#/$defs/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "urn:uuid:deadbeef-4321-ffff-ffff-1234feebdaed#/$defs/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 843 - ref.json: "ref to if" - "a non-integer is invalid due to the $ref" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://example.com/ref/if#/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://example.com/ref/if#/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 844 - ref.json: "ref to if" - "an integer is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 845 - ref.json: "ref to then" - "a non-integer is invalid due to the $ref" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://example.com/ref/then#/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://example.com/ref/then#/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 846 - ref.json: "ref to then" - "an integer is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 847 - ref.json: "ref to else" - "a non-integer is invalid due to the $ref" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://example.com/ref/else#/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://example.com/ref/else#/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 848 - ref.json: "ref to else" - "an integer is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 849 - ref.json: "ref with absolute-path-reference" - "a string is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 850 - ref.json: "ref with absolute-path-reference" - "an integer is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 851 - ref.json: "$id with file URI still resolves pointers - *nix" - "number is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 852 - ref.json: "$id with file URI still resolves pointers - *nix" - "non-number is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "file:///folder/file.json#/$defs/foo/type", 173s # "error": "got string, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "file:///folder/file.json#/$defs/foo/type", 173s # "error": "got string, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 853 - ref.json: "$id with file URI still resolves pointers - windows" - "number is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 854 - ref.json: "$id with file URI still resolves pointers - windows" - "non-number is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/$defs/foo/type", 173s # "error": "got string, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/$defs/foo/type", 173s # "error": "got string, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 855 - ref.json: "empty tokens in $ref json-pointer" - "number is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 856 - ref.json: "empty tokens in $ref json-pointer" - "non-number is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs//$defs//type", 173s # "error": "got string, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/$ref/type" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs//$defs//type", 173s # "error": "got string, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/$ref/type" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 857 - refRemote.json: "remote ref" - "remote ref valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 858 - refRemote.json: "remote ref" - "remote ref invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 859 - refRemote.json: "fragment within remote ref" - "remote fragment valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 860 - refRemote.json: "fragment within remote ref" - "remote fragment invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/subSchemas.json#/$defs/integer/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/subSchemas.json#/$defs/integer/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 861 - refRemote.json: "anchor within remote ref" - "remote anchor valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 862 - refRemote.json: "anchor within remote ref" - "remote anchor invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/locationIndependentIdentifier.json#/$defs/A/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/locationIndependentIdentifier.json#/$defs/A/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 863 - refRemote.json: "ref within remote ref" - "ref within ref valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 864 - refRemote.json: "ref within remote ref" - "ref within ref invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/subSchemas.json#/$defs/integer/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/subSchemas.json#/$defs/integer/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 865 - refRemote.json: "base URI change" - "base URI change ref valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 866 - refRemote.json: "base URI change" - "base URI change ref invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "/0/0", 173s # "keywordLocation": "/items/items/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/baseUriChange/#/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/items/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/#/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "/0/0", 173s # "keywordLocation": "/items/items/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/baseUriChange/#/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/items/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/#/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 867 - refRemote.json: "base URI change - change folder" - "number is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 868 - refRemote.json: "base URI change - change folder" - "string is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "/list/0", 173s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/baseUriChangeFolder/#/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/list", 173s # "keywordLocation": "/properties/list/$ref/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/scope_change_defs1.json#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "/list/0", 173s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/baseUriChangeFolder/#/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/list", 173s # "keywordLocation": "/properties/list/$ref/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/scope_change_defs1.json#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 869 - refRemote.json: "base URI change - change folder in subschema" - "number is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 870 - refRemote.json: "base URI change - change folder in subschema" - "string is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "/list/0", 173s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/baseUriChangeFolderInSubschema/#/$defs/bar/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/list", 173s # "keywordLocation": "/properties/list/$ref/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/scope_change_defs2.json#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "/list/0", 173s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/baseUriChangeFolderInSubschema/#/$defs/bar/items", 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "/list", 173s # "keywordLocation": "/properties/list/$ref/items" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/scope_change_defs2.json#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 871 - refRemote.json: "root ref in remote ref" - "string is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 872 - refRemote.json: "root ref in remote ref" - "null is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 873 - refRemote.json: "root ref in remote ref" - "object is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/name-defs.json#/$defs/orNull/anyOf/0/type", 173s # "error": "got object, not null", 173s # "instanceLocation": "/name", 173s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/name-defs.json#/type", 173s # "error": "got object, not string", 173s # "instanceLocation": "/name", 173s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/name-defs.json#/$defs/orNull/anyOf", 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "/name", 173s # "keywordLocation": "/properties/name/$ref/anyOf" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/object#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/name-defs.json#/$defs/orNull/anyOf/0/type", 173s # "error": "got object, not null", 173s # "instanceLocation": "/name", 173s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/name-defs.json#/type", 173s # "error": "got object, not string", 173s # "instanceLocation": "/name", 173s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/name-defs.json#/$defs/orNull/anyOf", 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "/name", 173s # "keywordLocation": "/properties/name/$ref/anyOf" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/object#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 874 - refRemote.json: "remote ref with ref to defs" - "invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/ref-and-defs.json#/$defs/inner/properties/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/$ref/$ref/properties/bar/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/ref-and-defs.json#/$defs/inner/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/ref-and-defs.json#/$defs/inner/properties/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/$ref/$ref/properties/bar/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/ref-and-defs.json#/$defs/inner/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 875 - refRemote.json: "remote ref with ref to defs" - "valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 876 - refRemote.json: "Location-independent identifier in remote ref" - "integer is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 877 - refRemote.json: "Location-independent identifier in remote ref" - "string is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/locationIndependentIdentifier.json#/$defs/A/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/locationIndependentIdentifier.json#/$defs/A/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 878 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "number is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/name/foo", 173s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/foo-ref-string.json#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/name", 173s # "keywordLocation": "/properties/name/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/some-id#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "/name/foo", 173s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/foo-ref-string.json#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/name", 173s # "keywordLocation": "/properties/name/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/some-id#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 879 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "string is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 880 - refRemote.json: "remote HTTP ref with different $id" - "number is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/real-id-ref-string.json#/$defs/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/real-id-ref-string.json#/$defs/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 881 - refRemote.json: "remote HTTP ref with different $id" - "string is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 882 - refRemote.json: "remote HTTP ref with different URN $id" - "number is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "urn:uuid:feebdaed-ffff-0000-ffff-0000deadbeef#/$defs/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "urn:uuid:feebdaed-ffff-0000-ffff-0000deadbeef#/$defs/bar/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 883 - refRemote.json: "remote HTTP ref with different URN $id" - "string is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 884 - refRemote.json: "remote HTTP ref with nested absolute ref" - "number is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/the-nested-id.json#/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/the-nested-id.json#/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 885 - refRemote.json: "remote HTTP ref with nested absolute ref" - "string is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 886 - refRemote.json: "$ref to $ref finds detached $anchor" - "number is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 887 - refRemote.json: "$ref to $ref finds detached $anchor" - "non-number is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/detached-ref.json#/$defs/detached/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/detached-ref.json#/$defs/detached/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/$ref/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 888 - required.json: "required validation" - "present required property is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 889 - required.json: "required validation" - "non-present required property is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo", 173s # "instanceLocation": "", 173s # "keywordLocation": "/required" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing property: foo", 173s # "instanceLocation": "", 173s # "keywordLocation": "/required" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 890 - required.json: "required validation" - "ignores arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 891 - required.json: "required validation" - "ignores strings" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 892 - required.json: "required validation" - "ignores other non-objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 893 - required.json: "required default validation" - "not required by default" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 894 - required.json: "required with empty array" - "property not required" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 895 - required.json: "required with escaped characters" - "object with all properties present is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 896 - required.json: "required with escaped characters" - "object with some properties missing is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/required" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 173s # "instanceLocation": "", 173s # "keywordLocation": "/required" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 897 - required.json: "required properties whose names are Javascript object property names" - "ignores arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 898 - required.json: "required properties whose names are Javascript object property names" - "ignores other non-objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 899 - required.json: "required properties whose names are Javascript object property names" - "none of the properties mentioned" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing properties: __proto__, toString, constructor", 173s # "instanceLocation": "", 173s # "keywordLocation": "/required" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing properties: __proto__, toString, constructor", 173s # "instanceLocation": "", 173s # "keywordLocation": "/required" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 900 - required.json: "required properties whose names are Javascript object property names" - "__proto__ present" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing properties: toString, constructor", 173s # "instanceLocation": "", 173s # "keywordLocation": "/required" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing properties: toString, constructor", 173s # "instanceLocation": "", 173s # "keywordLocation": "/required" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 901 - required.json: "required properties whose names are Javascript object property names" - "toString present" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing properties: __proto__, constructor", 173s # "instanceLocation": "", 173s # "keywordLocation": "/required" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing properties: __proto__, constructor", 173s # "instanceLocation": "", 173s # "keywordLocation": "/required" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 902 - required.json: "required properties whose names are Javascript object property names" - "constructor present" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing properties: __proto__, toString", 173s # "instanceLocation": "", 173s # "keywordLocation": "/required" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "object is missing properties: __proto__, toString", 173s # "instanceLocation": "", 173s # "keywordLocation": "/required" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 903 - required.json: "required properties whose names are Javascript object property names" - "all present" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 904 - type.json: "integer type matches integers" - "an integer is an integer" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 905 - type.json: "integer type matches integers" - "a float with zero fractional part is an integer" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 906 - type.json: "integer type matches integers" - "a float is not an integer" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got number, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got number, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 907 - type.json: "integer type matches integers" - "a string is not an integer" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 908 - type.json: "integer type matches integers" - "a string is still not an integer, even if it looks like one" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 909 - type.json: "integer type matches integers" - "an object is not an integer" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got object, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got object, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 910 - type.json: "integer type matches integers" - "an array is not an integer" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got array, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got array, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 911 - type.json: "integer type matches integers" - "a boolean is not an integer" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got boolean, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got boolean, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 912 - type.json: "integer type matches integers" - "null is not an integer" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got null, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/integer.json#/type", 173s # "error": "got null, not integer", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 913 - type.json: "number type matches numbers" - "an integer is a number" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 914 - type.json: "number type matches numbers" - "a float with zero fractional part is a number (and an integer)" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 915 - type.json: "number type matches numbers" - "a float is a number" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 916 - type.json: "number type matches numbers" - "a string is not a number" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 917 - type.json: "number type matches numbers" - "a string is still not a number, even if it looks like one" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 918 - type.json: "number type matches numbers" - "an object is not a number" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got object, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got object, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 919 - type.json: "number type matches numbers" - "an array is not a number" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got array, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got array, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 920 - type.json: "number type matches numbers" - "a boolean is not a number" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got boolean, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got boolean, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 921 - type.json: "number type matches numbers" - "null is not a number" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got null, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got null, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 922 - type.json: "string type matches strings" - "1 is not a string" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 923 - type.json: "string type matches strings" - "a float is not a string" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 173s # "error": "got number, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 173s # "error": "got number, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 924 - type.json: "string type matches strings" - "a string is a string" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 925 - type.json: "string type matches strings" - "a string is still a string, even if it looks like a number" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 926 - type.json: "string type matches strings" - "an empty string is still a string" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 927 - type.json: "string type matches strings" - "an object is not a string" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 173s # "error": "got object, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 173s # "error": "got object, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 928 - type.json: "string type matches strings" - "an array is not a string" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 173s # "error": "got array, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 173s # "error": "got array, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 929 - type.json: "string type matches strings" - "a boolean is not a string" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 173s # "error": "got boolean, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 173s # "error": "got boolean, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 930 - type.json: "string type matches strings" - "null is not a string" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 173s # "error": "got null, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 173s # "error": "got null, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 931 - type.json: "object type matches objects" - "an integer is not an object" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not object", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not object", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 932 - type.json: "object type matches objects" - "a float is not an object" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got number, not object", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got number, not object", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 933 - type.json: "object type matches objects" - "a string is not an object" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not object", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not object", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 934 - type.json: "object type matches objects" - "an object is an object" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 935 - type.json: "object type matches objects" - "an array is not an object" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got array, not object", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got array, not object", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 936 - type.json: "object type matches objects" - "a boolean is not an object" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got boolean, not object", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got boolean, not object", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 937 - type.json: "object type matches objects" - "null is not an object" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got null, not object", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got null, not object", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 938 - type.json: "array type matches arrays" - "an integer is not an array" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not array", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not array", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 939 - type.json: "array type matches arrays" - "a float is not an array" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got number, not array", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got number, not array", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 940 - type.json: "array type matches arrays" - "a string is not an array" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not array", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not array", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 941 - type.json: "array type matches arrays" - "an object is not an array" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got object, not array", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got object, not array", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 942 - type.json: "array type matches arrays" - "an array is an array" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 943 - type.json: "array type matches arrays" - "a boolean is not an array" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got boolean, not array", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got boolean, not array", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 944 - type.json: "array type matches arrays" - "null is not an array" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got null, not array", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got null, not array", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 945 - type.json: "boolean type matches booleans" - "an integer is not a boolean" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not boolean", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not boolean", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 946 - type.json: "boolean type matches booleans" - "zero is not a boolean" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not boolean", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not boolean", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 947 - type.json: "boolean type matches booleans" - "a float is not a boolean" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got number, not boolean", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got number, not boolean", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 948 - type.json: "boolean type matches booleans" - "a string is not a boolean" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not boolean", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not boolean", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 949 - type.json: "boolean type matches booleans" - "an empty string is not a boolean" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not boolean", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not boolean", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 950 - type.json: "boolean type matches booleans" - "an object is not a boolean" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got object, not boolean", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got object, not boolean", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 951 - type.json: "boolean type matches booleans" - "an array is not a boolean" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got array, not boolean", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got array, not boolean", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 952 - type.json: "boolean type matches booleans" - "true is a boolean" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 953 - type.json: "boolean type matches booleans" - "false is a boolean" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 954 - type.json: "boolean type matches booleans" - "null is not a boolean" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got null, not boolean", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got null, not boolean", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 955 - type.json: "null type matches only the null object" - "an integer is not null" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 956 - type.json: "null type matches only the null object" - "a float is not null" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got number, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got number, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 957 - type.json: "null type matches only the null object" - "zero is not null" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 958 - type.json: "null type matches only the null object" - "a string is not null" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 959 - type.json: "null type matches only the null object" - "an empty string is not null" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 960 - type.json: "null type matches only the null object" - "an object is not null" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got object, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got object, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 961 - type.json: "null type matches only the null object" - "an array is not null" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got array, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got array, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 962 - type.json: "null type matches only the null object" - "true is not null" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got boolean, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got boolean, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 963 - type.json: "null type matches only the null object" - "false is not null" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got boolean, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got boolean, not null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 964 - type.json: "null type matches only the null object" - "null is null" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 965 - type.json: "multiple types can be specified in an array" - "an integer is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 966 - type.json: "multiple types can be specified in an array" - "a string is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 967 - type.json: "multiple types can be specified in an array" - "a float is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got number, not one of integer, string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got number, not one of integer, string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 968 - type.json: "multiple types can be specified in an array" - "an object is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got object, not one of integer, string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got object, not one of integer, string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 969 - type.json: "multiple types can be specified in an array" - "an array is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got array, not one of integer, string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got array, not one of integer, string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 970 - type.json: "multiple types can be specified in an array" - "a boolean is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got boolean, not one of integer, string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got boolean, not one of integer, string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 971 - type.json: "multiple types can be specified in an array" - "null is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got null, not one of integer, string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got null, not one of integer, string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 972 - type.json: "type as array with one item" - "string is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 973 - type.json: "type as array with one item" - "number is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not one of string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not one of string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 974 - type.json: "type: array or object" - "array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 975 - type.json: "type: array or object" - "object is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 976 - type.json: "type: array or object" - "number is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not one of array, object", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not one of array, object", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 977 - type.json: "type: array or object" - "string is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not one of array, object", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not one of array, object", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 978 - type.json: "type: array or object" - "null is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got null, not one of array, object", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got null, not one of array, object", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 979 - type.json: "type: array, object or null" - "array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 980 - type.json: "type: array, object or null" - "object is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 981 - type.json: "type: array, object or null" - "null is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 982 - type.json: "type: array, object or null" - "number is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not one of array, object, null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not one of array, object, null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 983 - type.json: "type: array, object or null" - "string is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not one of array, object, null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not one of array, object, null", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 984 - unevaluatedItems.json: "unevaluatedItems true" - "with no unevaluated items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 985 - unevaluatedItems.json: "unevaluatedItems true" - "with unevaluated items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 986 - unevaluatedItems.json: "unevaluatedItems false" - "with no unevaluated items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 987 - unevaluatedItems.json: "unevaluatedItems false" - "with unevaluated items" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 988 - unevaluatedItems.json: "unevaluatedItems as schema" - "with no unevaluated items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 989 - unevaluatedItems.json: "unevaluatedItems as schema" - "with valid unevaluated items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 990 - unevaluatedItems.json: "unevaluatedItems as schema" - "with invalid unevaluated items" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not string", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/unevaluatedItems/type" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not string", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/unevaluatedItems/type" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 991 - unevaluatedItems.json: "unevaluatedItems with uniform items" - "unevaluatedItems doesn't apply" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 992 - unevaluatedItems.json: "unevaluatedItems with tuple" - "with no unevaluated items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 993 - unevaluatedItems.json: "unevaluatedItems with tuple" - "with unevaluated items" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 994 - unevaluatedItems.json: "unevaluatedItems with items and prefixItems" - "unevaluatedItems doesn't apply" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 995 - unevaluatedItems.json: "unevaluatedItems with items" - "valid under items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 996 - unevaluatedItems.json: "unevaluatedItems with items" - "invalid under items" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/items/type" 173s # }, 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/items/type" 173s # }, 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/items/type" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/items/type" 173s # }, 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/items/type" 173s # }, 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/items/type" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 997 - unevaluatedItems.json: "unevaluatedItems with nested tuple" - "with no unevaluated items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 998 - unevaluatedItems.json: "unevaluatedItems with nested tuple" - "with unevaluated items" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 999 - unevaluatedItems.json: "unevaluatedItems with nested items" - "with only (valid) additional items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1000 - unevaluatedItems.json: "unevaluatedItems with nested items" - "with no additional items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1001 - unevaluatedItems.json: "unevaluatedItems with nested items" - "with invalid additional item" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not boolean", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/unevaluatedItems/type" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not boolean", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/unevaluatedItems/type" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1002 - unevaluatedItems.json: "unevaluatedItems with nested prefixItems and items" - "with no additional items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1003 - unevaluatedItems.json: "unevaluatedItems with nested prefixItems and items" - "with additional items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1004 - unevaluatedItems.json: "unevaluatedItems with nested unevaluatedItems" - "with no additional items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1005 - unevaluatedItems.json: "unevaluatedItems with nested unevaluatedItems" - "with additional items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1006 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when one schema matches and has no unevaluated items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1007 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when one schema matches and has unevaluated items" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1008 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when two schemas match and has no unevaluated items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1009 - unevaluatedItems.json: "unevaluatedItems with anyOf" - "when two schemas match and has unevaluated items" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/3", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/3", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1010 - unevaluatedItems.json: "unevaluatedItems with oneOf" - "with no unevaluated items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1011 - unevaluatedItems.json: "unevaluatedItems with oneOf" - "with unevaluated items" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1012 - unevaluatedItems.json: "unevaluatedItems with not" - "with unevaluated items" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1013 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if matches and it has no unevaluated items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1014 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if matches and it has unevaluated items" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/3", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/3", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1015 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if doesn't match and it has no unevaluated items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1016 - unevaluatedItems.json: "unevaluatedItems with if/then/else" - "when if doesn't match and it has unevaluated items" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/4", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/4", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1017 - unevaluatedItems.json: "unevaluatedItems with boolean schemas" - "with no unevaluated items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1018 - unevaluatedItems.json: "unevaluatedItems with boolean schemas" - "with unevaluated items" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1019 - unevaluatedItems.json: "unevaluatedItems with $ref" - "with no unevaluated items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1020 - unevaluatedItems.json: "unevaluatedItems with $ref" - "with unevaluated items" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1021 - unevaluatedItems.json: "unevaluatedItems before $ref" - "with no unevaluated items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1022 - unevaluatedItems.json: "unevaluatedItems before $ref" - "with unevaluated items" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1023 - unevaluatedItems.json: "unevaluatedItems with $dynamicRef" - "with no unevaluated items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1024 - unevaluatedItems.json: "unevaluatedItems with $dynamicRef" - "with unevaluated items" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-dynamic-ref/baseSchema#/unevaluatedItems", 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/$ref/unevaluatedItems" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-dynamic-ref/baseSchema#/unevaluatedItems", 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-dynamic-ref/baseSchema#/unevaluatedItems", 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/$ref/unevaluatedItems" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://example.com/unevaluated-items-with-dynamic-ref/baseSchema#/unevaluatedItems", 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1025 - unevaluatedItems.json: "unevaluatedItems can't see inside cousins" - "always fails" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/allOf/1/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/allOf/1/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1026 - unevaluatedItems.json: "item is evaluated in an uncle schema to unevaluatedItems" - "no extra items" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1027 - unevaluatedItems.json: "item is evaluated in an uncle schema to unevaluatedItems" - "uncle keyword evaluation is not significant" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/foo/1", 173s # "keywordLocation": "/properties/foo/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/unevaluatedItems" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/foo/1", 173s # "keywordLocation": "/properties/foo/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/unevaluatedItems" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1028 - unevaluatedItems.json: "unevaluatedItems depends on adjacent contains" - "second item is evaluated by contains" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1029 - unevaluatedItems.json: "unevaluatedItems depends on adjacent contains" - "contains fails, second item is not evaluated" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not string", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/contains/type" 173s # }, 173s # { 173s # "error": "got integer, not string", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/contains/type" 173s # }, 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # }, 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got integer, not string", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/contains/type" 173s # }, 173s # { 173s # "error": "got integer, not string", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/contains/type" 173s # }, 173s # { 173s # "error": "subschema is not valid against any item", 173s # "instanceLocation": "", 173s # "keywordLocation": "/contains" 173s # }, 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1030 - unevaluatedItems.json: "unevaluatedItems depends on adjacent contains" - "contains passes, second item is not evaluated" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1031 - unevaluatedItems.json: "unevaluatedItems depends on multiple nested contains" - "5 not evaluated, passes unevaluatedItems" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1032 - unevaluatedItems.json: "unevaluatedItems depends on multiple nested contains" - "7 not evaluated, fails unevaluatedItems" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 5", 173s # "instanceLocation": "/3", 173s # "keywordLocation": "/unevaluatedItems/multipleOf" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is not a multiple of 5", 173s # "instanceLocation": "/3", 173s # "keywordLocation": "/unevaluatedItems/multipleOf" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1033 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "empty array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1034 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "only a's are valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1035 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "a's and b's are valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1036 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "a's, b's and c's are valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1037 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "only b's are invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1038 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "only c's are invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1039 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "only b's and c's are invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/3", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/4", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/1", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/3", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/4", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1040 - unevaluatedItems.json: "unevaluatedItems and contains interact to control item dependency relationship" - "only a's and c's are invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/4", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/4", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1041 - unevaluatedItems.json: "non-array instances are valid" - "ignores booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1042 - unevaluatedItems.json: "non-array instances are valid" - "ignores integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1043 - unevaluatedItems.json: "non-array instances are valid" - "ignores floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1044 - unevaluatedItems.json: "non-array instances are valid" - "ignores objects" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1045 - unevaluatedItems.json: "non-array instances are valid" - "ignores strings" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1046 - unevaluatedItems.json: "non-array instances are valid" - "ignores null" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1047 - unevaluatedItems.json: "unevaluatedItems with null instance elements" - "allows null elements" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1048 - unevaluatedItems.json: "unevaluatedItems can see annotations from if without then and else" - "valid in case if is evaluated" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1049 - unevaluatedItems.json: "unevaluatedItems can see annotations from if without then and else" - "invalid in case if is evaluated" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/0", 173s # "keywordLocation": "/unevaluatedItems" 173s # }, 173s # { 173s # "error": "subschema is not valid against all additional items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 1050 - unevaluatedProperties.json: "unevaluatedProperties true" - "with no unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1051 - unevaluatedProperties.json: "unevaluatedProperties true" - "with unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1052 - unevaluatedProperties.json: "unevaluatedProperties schema" - "with no unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1053 - unevaluatedProperties.json: "unevaluatedProperties schema" - "with valid unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1054 - unevaluatedProperties.json: "unevaluatedProperties schema" - "with invalid unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "length is less than 3", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/unevaluatedProperties/minLength" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "length is less than 3", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/unevaluatedProperties/minLength" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1055 - unevaluatedProperties.json: "unevaluatedProperties false" - "with no unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1056 - unevaluatedProperties.json: "unevaluatedProperties false" - "with unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1057 - unevaluatedProperties.json: "unevaluatedProperties with adjacent properties" - "with no unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1058 - unevaluatedProperties.json: "unevaluatedProperties with adjacent properties" - "with unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1059 - unevaluatedProperties.json: "unevaluatedProperties with adjacent patternProperties" - "with no unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1060 - unevaluatedProperties.json: "unevaluatedProperties with adjacent patternProperties" - "with unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1061 - unevaluatedProperties.json: "unevaluatedProperties with adjacent additionalProperties" - "with no additional properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1062 - unevaluatedProperties.json: "unevaluatedProperties with adjacent additionalProperties" - "with additional properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1063 - unevaluatedProperties.json: "unevaluatedProperties with nested properties" - "with no additional properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1064 - unevaluatedProperties.json: "unevaluatedProperties with nested properties" - "with additional properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1065 - unevaluatedProperties.json: "unevaluatedProperties with nested patternProperties" - "with no additional properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1066 - unevaluatedProperties.json: "unevaluatedProperties with nested patternProperties" - "with additional properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1067 - unevaluatedProperties.json: "unevaluatedProperties with nested additionalProperties" - "with no additional properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1068 - unevaluatedProperties.json: "unevaluatedProperties with nested additionalProperties" - "with additional properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1069 - unevaluatedProperties.json: "unevaluatedProperties with nested unevaluatedProperties" - "with no nested unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1070 - unevaluatedProperties.json: "unevaluatedProperties with nested unevaluatedProperties" - "with nested unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1071 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when one matches and has no unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1072 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when one matches and has unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1073 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when two match and has no unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1074 - unevaluatedProperties.json: "unevaluatedProperties with anyOf" - "when two match and has unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/quux", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/quux", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1075 - unevaluatedProperties.json: "unevaluatedProperties with oneOf" - "with no unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1076 - unevaluatedProperties.json: "unevaluatedProperties with oneOf" - "with unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/quux", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/quux", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1077 - unevaluatedProperties.json: "unevaluatedProperties with not" - "with unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1078 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is true and has no unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1079 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is true and has unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1080 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is false and has no unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1081 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else" - "when if is false and has unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1082 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is true and has no unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1083 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is true and has unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1084 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is false and has no unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1085 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, then not defined" - "when if is false and has unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1086 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is true and has no unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1087 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is true and has unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1088 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is false and has no unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1089 - unevaluatedProperties.json: "unevaluatedProperties with if/then/else, else not defined" - "when if is false and has unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1090 - unevaluatedProperties.json: "unevaluatedProperties with dependentSchemas" - "with no unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1091 - unevaluatedProperties.json: "unevaluatedProperties with dependentSchemas" - "with unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1092 - unevaluatedProperties.json: "unevaluatedProperties with boolean schemas" - "with no unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1093 - unevaluatedProperties.json: "unevaluatedProperties with boolean schemas" - "with unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1094 - unevaluatedProperties.json: "unevaluatedProperties with $ref" - "with no unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1095 - unevaluatedProperties.json: "unevaluatedProperties with $ref" - "with unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1096 - unevaluatedProperties.json: "unevaluatedProperties before $ref" - "with no unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1097 - unevaluatedProperties.json: "unevaluatedProperties before $ref" - "with unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1098 - unevaluatedProperties.json: "unevaluatedProperties with $dynamicRef" - "with no unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1099 - unevaluatedProperties.json: "unevaluatedProperties with $dynamicRef" - "with unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-dynamic-ref/baseSchema#/unevaluatedProperties", 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/$ref/unevaluatedProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-dynamic-ref/baseSchema#/unevaluatedProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-dynamic-ref/baseSchema#/unevaluatedProperties", 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/baz", 173s # "keywordLocation": "/$ref/unevaluatedProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://example.com/unevaluated-properties-with-dynamic-ref/baseSchema#/unevaluatedProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1100 - unevaluatedProperties.json: "unevaluatedProperties can't see inside cousins" - "always fails" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/allOf/1/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/allOf/1/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1101 - unevaluatedProperties.json: "unevaluatedProperties can't see inside cousins (reverse order)" - "always fails" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1102 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties outside" - "with no nested unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1103 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties outside" - "with nested unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1104 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties inside" - "with no nested unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1105 - unevaluatedProperties.json: "nested unevaluatedProperties, outer false, inner true, properties inside" - "with nested unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1106 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties outside" - "with no nested unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1107 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties outside" - "with nested unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1108 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties inside" - "with no nested unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1109 - unevaluatedProperties.json: "nested unevaluatedProperties, outer true, inner false, properties inside" - "with nested unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1110 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, true with properties" - "with no nested unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/allOf/1/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/allOf/1/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1111 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, true with properties" - "with nested unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/allOf/1/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/allOf/1/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/allOf/1/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/allOf/1/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1112 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, false with properties" - "with no nested unevaluated properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1113 - unevaluatedProperties.json: "cousin unevaluatedProperties, true and false, false with properties" - "with nested unevaluated properties" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/allOf/1/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/allOf/1/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/1/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "subschema 1 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1114 - unevaluatedProperties.json: "property is evaluated in an uncle schema to unevaluatedProperties" - "no extra properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1115 - unevaluatedProperties.json: "property is evaluated in an uncle schema to unevaluatedProperties" - "uncle keyword evaluation is not significant" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo/faz", 173s # "keywordLocation": "/properties/foo/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo/faz", 173s # "keywordLocation": "/properties/foo/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/properties/foo/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1116 - unevaluatedProperties.json: "in-place applicator siblings, allOf has unevaluated" - "base case: both properties present" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1117 - unevaluatedProperties.json: "in-place applicator siblings, allOf has unevaluated" - "in place applicator siblings, bar is missing" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1118 - unevaluatedProperties.json: "in-place applicator siblings, allOf has unevaluated" - "in place applicator siblings, foo is missing" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "subschema 0 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1119 - unevaluatedProperties.json: "in-place applicator siblings, anyOf has unevaluated" - "base case: both properties present" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1120 - unevaluatedProperties.json: "in-place applicator siblings, anyOf has unevaluated" - "in place applicator siblings, bar is missing" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1121 - unevaluatedProperties.json: "in-place applicator siblings, anyOf has unevaluated" - "in place applicator siblings, foo is missing" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1122 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Empty is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1123 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Single is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1124 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Unevaluated on 1st level is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/y", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/y", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1125 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Nested is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1126 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Unevaluated on 2nd level is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/unevaluatedProperties", 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/x/y", 173s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/unevaluatedProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "/x", 173s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/unevaluatedProperties", 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/x/y", 173s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/unevaluatedProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "/x", 173s # "keywordLocation": "/properties/x/$ref/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1127 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Deep nested is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1128 - unevaluatedProperties.json: "unevaluatedProperties + single cyclic ref" - "Unevaluated on 3rd level is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/unevaluatedProperties", 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/x/x/y", 173s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/unevaluatedProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "/x/x", 173s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/x", 173s # "keywordLocation": "/properties/x/$ref/properties" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/unevaluatedProperties", 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/x/x/y", 173s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/unevaluatedProperties", 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "/x/x", 173s # "keywordLocation": "/properties/x/$ref/properties/x/$ref/unevaluatedProperties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/x", 173s # "keywordLocation": "/properties/x/$ref/properties" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1129 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "Empty is invalid (no x or y)" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/two/required", 173s # "error": "object is missing property: x", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 173s # }, 173s # { 173s # "error": "object is missing property: y", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/2/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/2/oneOf" 173s # }, 173s # { 173s # "error": "subschema 2 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/two/required", 173s # "error": "object is missing property: x", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 173s # }, 173s # { 173s # "error": "object is missing property: y", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/2/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/2/oneOf" 173s # }, 173s # { 173s # "error": "subschema 2 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1130 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b are invalid (no x or y)" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/two/required", 173s # "error": "object is missing property: x", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 173s # }, 173s # { 173s # "error": "object is missing property: y", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/2/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/2/oneOf" 173s # }, 173s # { 173s # "error": "subschema 2 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/two/required", 173s # "error": "object is missing property: x", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/2/oneOf/0/$ref/required" 173s # }, 173s # { 173s # "error": "object is missing property: y", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/2/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/2/oneOf" 173s # }, 173s # { 173s # "error": "subschema 2 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1131 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "x and y are invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/2/oneOf" 173s # }, 173s # { 173s # "error": "subschema 2 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/x", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/y", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/2/oneOf" 173s # }, 173s # { 173s # "error": "subschema 2 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/x", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/y", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1132 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and x are valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1133 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and y are valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1134 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b and x are valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1135 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b and y are valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1136 - unevaluatedProperties.json: "unevaluatedProperties + ref inside allOf / oneOf" - "a and b and x and y are invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/2/oneOf" 173s # }, 173s # { 173s # "error": "subschema 2 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/x", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/y", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf/2/oneOf" 173s # }, 173s # { 173s # "error": "subschema 2 is not valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/allOf" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/x", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/y", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1137 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "Empty is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/two/oneOf/0/required", 173s # "error": "object is missing property: c", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/0/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/two/oneOf/1/required", 173s # "error": "object is missing property: d", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/1/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 173s # "error": "object is missing property: b", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 173s # "error": "object is missing property: xx", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 173s # "error": "object is missing property: all", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf" 173s # }, 173s # { 173s # "error": "object is missing property: a", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/two/oneOf/0/required", 173s # "error": "object is missing property: c", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/0/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/two/oneOf/1/required", 173s # "error": "object is missing property: d", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf/1/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 173s # "error": "object is missing property: b", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 173s # "error": "object is missing property: xx", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 173s # "error": "object is missing property: all", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf" 173s # }, 173s # { 173s # "error": "object is missing property: a", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1138 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1139 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "b is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1140 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "c is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1141 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "d is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1142 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a + b is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1143 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a + c is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1144 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "a + d is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1145 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "b + c is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf" 173s # }, 173s # { 173s # "error": "object is missing property: a", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/b", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/c", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf" 173s # }, 173s # { 173s # "error": "object is missing property: a", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/b", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/c", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1146 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "b + d is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf" 173s # }, 173s # { 173s # "error": "object is missing property: a", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/b", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/d", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf" 173s # }, 173s # { 173s # "error": "object is missing property: a", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/b", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/d", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1147 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "c + d is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 173s # "error": "object is missing property: b", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 173s # "error": "object is missing property: xx", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 173s # "error": "object is missing property: all", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf" 173s # }, 173s # { 173s # "error": "object is missing property: a", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/c", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/d", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/two/oneOf", 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf/0/$ref/oneOf" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf/1/required", 173s # "error": "object is missing property: b", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf/1/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf/2/required", 173s # "error": "object is missing property: xx", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf/2/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf/3/required", 173s # "error": "object is missing property: all", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf/3/required" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf" 173s # }, 173s # { 173s # "error": "object is missing property: a", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/c", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/d", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1148 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1149 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + foox is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1150 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + foo is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1151 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + a is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1152 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + b is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 173s # "error": "multiple subschemas are valid: 1, 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf" 173s # }, 173s # { 173s # "error": "object is missing property: a", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/b", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/xx", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 173s # "error": "multiple subschemas are valid: 1, 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf" 173s # }, 173s # { 173s # "error": "object is missing property: a", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/b", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/xx", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1153 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + c is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 173s # "error": "multiple subschemas are valid: 0, 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf" 173s # }, 173s # { 173s # "error": "object is missing property: a", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/c", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/xx", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 173s # "error": "multiple subschemas are valid: 0, 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf" 173s # }, 173s # { 173s # "error": "object is missing property: a", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/c", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/xx", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1154 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "xx + d is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 173s # "error": "multiple subschemas are valid: 0, 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf" 173s # }, 173s # { 173s # "error": "object is missing property: a", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/d", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/xx", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/one/oneOf", 173s # "error": "multiple subschemas are valid: 0, 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/0/$ref/oneOf" 173s # }, 173s # { 173s # "error": "object is missing property: a", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf/1/required" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/d", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/xx", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1155 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "all is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1156 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "all + foo is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1157 - unevaluatedProperties.json: "dynamic evalation inside nested refs" - "all + a is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "multiple subschemas are valid: 0, 1", 173s # "instanceLocation": "", 173s # "keywordLocation": "/oneOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1158 - unevaluatedProperties.json: "non-object instances are valid" - "ignores booleans" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1159 - unevaluatedProperties.json: "non-object instances are valid" - "ignores integers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1160 - unevaluatedProperties.json: "non-object instances are valid" - "ignores floats" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1161 - unevaluatedProperties.json: "non-object instances are valid" - "ignores arrays" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1162 - unevaluatedProperties.json: "non-object instances are valid" - "ignores strings" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1163 - unevaluatedProperties.json: "non-object instances are valid" - "ignores null" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1164 - unevaluatedProperties.json: "unevaluatedProperties with null valued instance properties" - "allows null valued properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1165 - unevaluatedProperties.json: "unevaluatedProperties not affected by propertyNames" - "allows only number properties" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1166 - unevaluatedProperties.json: "unevaluatedProperties not affected by propertyNames" - "string property is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "/a", 173s # "keywordLocation": "/unevaluatedProperties/type" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "/a", 173s # "keywordLocation": "/unevaluatedProperties/type" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1167 - unevaluatedProperties.json: "unevaluatedProperties can see annotations from if without then and else" - "valid in case if is evaluated" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1168 - unevaluatedProperties.json: "unevaluatedProperties can see annotations from if without then and else" - "invalid in case if is evaluated" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1169 - unevaluatedProperties.json: "dependentSchemas with unevaluatedProperties" - "unevaluatedProperties doesn't consider dependentSchemas" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/foo", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1170 - unevaluatedProperties.json: "dependentSchemas with unevaluatedProperties" - "unevaluatedProperties doesn't see bar when foo2 is absent" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/unevaluatedProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/unevaluatedProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1171 - unevaluatedProperties.json: "dependentSchemas with unevaluatedProperties" - "unevaluatedProperties sees bar when foo2 is present" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 1172 - uniqueItems.json: "uniqueItems validation" - "unique array of integers is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1173 - uniqueItems.json: "uniqueItems validation" - "non-unique array of integers is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1174 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two integers is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 2 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 2 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1175 - uniqueItems.json: "uniqueItems validation" - "numbers are unique if mathematically unequal" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1176 - uniqueItems.json: "uniqueItems validation" - "false is not equal to zero" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1177 - uniqueItems.json: "uniqueItems validation" - "true is not equal to one" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1178 - uniqueItems.json: "uniqueItems validation" - "unique array of strings is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1179 - uniqueItems.json: "uniqueItems validation" - "non-unique array of strings is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 2 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 2 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1180 - uniqueItems.json: "uniqueItems validation" - "unique array of objects is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1181 - uniqueItems.json: "uniqueItems validation" - "non-unique array of objects is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1182 - uniqueItems.json: "uniqueItems validation" - "property order of array of objects is ignored" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1183 - uniqueItems.json: "uniqueItems validation" - "unique array of nested objects is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1184 - uniqueItems.json: "uniqueItems validation" - "non-unique array of nested objects is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1185 - uniqueItems.json: "uniqueItems validation" - "unique array of arrays is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1186 - uniqueItems.json: "uniqueItems validation" - "non-unique array of arrays is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1187 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two arrays is invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 2 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 2 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1188 - uniqueItems.json: "uniqueItems validation" - "1 and true are unique" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1189 - uniqueItems.json: "uniqueItems validation" - "0 and false are unique" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1190 - uniqueItems.json: "uniqueItems validation" - "[1] and [true] are unique" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1191 - uniqueItems.json: "uniqueItems validation" - "[0] and [false] are unique" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1192 - uniqueItems.json: "uniqueItems validation" - "nested [1] and [true] are unique" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1193 - uniqueItems.json: "uniqueItems validation" - "nested [0] and [false] are unique" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1194 - uniqueItems.json: "uniqueItems validation" - "unique heterogeneous types are valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1195 - uniqueItems.json: "uniqueItems validation" - "non-unique heterogeneous types are invalid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 4 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 4 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1196 - uniqueItems.json: "uniqueItems validation" - "different objects are unique" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1197 - uniqueItems.json: "uniqueItems validation" - "objects are non-unique despite key order" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1198 - uniqueItems.json: "uniqueItems validation" - "{"a": false} and {"a": 0} are unique" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1199 - uniqueItems.json: "uniqueItems validation" - "{"a": true} and {"a": 1} are unique" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1200 - uniqueItems.json: "uniqueItems with an array of items" - "[false, true] from items array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1201 - uniqueItems.json: "uniqueItems with an array of items" - "[true, false] from items array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1202 - uniqueItems.json: "uniqueItems with an array of items" - "[false, false] from items array is not valid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1203 - uniqueItems.json: "uniqueItems with an array of items" - "[true, true] from items array is not valid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1204 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [false, true] is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1205 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [true, false] is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1206 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [false, true] is not valid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 2 and 3 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 2 and 3 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1207 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [true, false] is not valid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 2 and 3 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 2 and 3 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1208 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1209 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1210 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, false] from items array is not valid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1211 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, true] from items array is not valid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "items at indices 0 and 1 are not unique", 173s # "instanceLocation": "", 173s # "keywordLocation": "/uniqueItems" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1212 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1213 - uniqueItems.json: "uniqueItems=false validation" - "unique array of integers is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1214 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of integers is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1215 - uniqueItems.json: "uniqueItems=false validation" - "numbers are unique if mathematically unequal" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1216 - uniqueItems.json: "uniqueItems=false validation" - "false is not equal to zero" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1217 - uniqueItems.json: "uniqueItems=false validation" - "true is not equal to one" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1218 - uniqueItems.json: "uniqueItems=false validation" - "unique array of objects is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1219 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of objects is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1220 - uniqueItems.json: "uniqueItems=false validation" - "unique array of nested objects is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1221 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of nested objects is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1222 - uniqueItems.json: "uniqueItems=false validation" - "unique array of arrays is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1223 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of arrays is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1224 - uniqueItems.json: "uniqueItems=false validation" - "1 and true are unique" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1225 - uniqueItems.json: "uniqueItems=false validation" - "0 and false are unique" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1226 - uniqueItems.json: "uniqueItems=false validation" - "unique heterogeneous types are valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1227 - uniqueItems.json: "uniqueItems=false validation" - "non-unique heterogeneous types are valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1228 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, true] from items array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1229 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, false] from items array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1230 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, false] from items array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1231 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, true] from items array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1232 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [false, true] is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1233 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [true, false] is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1234 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [false, true] is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1235 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [true, false] is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1236 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1237 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1238 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, false] from items array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1239 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, true] from items array is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1240 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional item not permitted", 173s # "instanceLocation": "/2", 173s # "keywordLocation": "/items" 173s # }, 173s # { 173s # "error": "subschema is not valid against all items", 173s # "instanceLocation": "", 173s # "keywordLocation": "/items" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 1241 - vocabulary.json: "schema that uses custom metaschema with with no validation vocabulary" - "applicator vocabulary still works" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties/badProperty", 173s # "error": "property not permitted", 173s # "instanceLocation": "/badProperty", 173s # "keywordLocation": "/properties/badProperty" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties/badProperty", 173s # "error": "property not permitted", 173s # "instanceLocation": "/badProperty", 173s # "keywordLocation": "/properties/badProperty" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://schema/using/no/validation#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1242 - vocabulary.json: "schema that uses custom metaschema with with no validation vocabulary" - "no validation: valid number" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1243 - vocabulary.json: "schema that uses custom metaschema with with no validation vocabulary" - "no validation: invalid number, but it still validates" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1244 - vocabulary.json: "ignore unrecognized optional vocabulary" - "string value" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not number", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1245 - vocabulary.json: "ignore unrecognized optional vocabulary" - "number value" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 1246 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "exact match to enum, and type matches" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1247 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "in implementations that strip $anchor, this may match either $def" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/$ref/enum" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 173s # "error": "got object, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/1/$ref/type" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/$ref/enum" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 173s # "error": "got object, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/1/$ref/type" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1248 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "match $ref to $anchor" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1249 - optional/anchor.json: "$anchor inside an enum is not a real identifier" - "no match on enum or $ref to $anchor" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/$ref/enum" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/1/$ref/type" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/anchor_in_enum/enum", 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/$ref/enum" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/real_identifier_in_schema/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/1/$ref/type" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 1250 - optional/bignum.json: "integer" - "a bignum is an integer" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1251 - optional/bignum.json: "integer" - "a negative bignum is an integer" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1252 - optional/bignum.json: "number" - "a bignum is a number" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1253 - optional/bignum.json: "number" - "a negative bignum is a number" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1254 - optional/bignum.json: "string" - "a bignum is not a string" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "http://localhost:1234/draft2020-12/nested/string.json#/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/type" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1255 - optional/bignum.json: "maximum integer comparison" - "comparison works for high numbers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1256 - optional/bignum.json: "float comparison with high precision" - "comparison works for high numbers" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 173s # "instanceLocation": "", 173s # "keywordLocation": "/exclusiveMaximum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 173s # "instanceLocation": "", 173s # "keywordLocation": "/exclusiveMaximum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1257 - optional/bignum.json: "minimum integer comparison" - "comparison works for very negative numbers" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1258 - optional/bignum.json: "float comparison with high precision on negative numbers" - "comparison works for very negative numbers" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 173s # "instanceLocation": "", 173s # "keywordLocation": "/exclusiveMinimum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 173s # "instanceLocation": "", 173s # "keywordLocation": "/exclusiveMinimum" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 1259 - optional/cross-draft.json: "refs to historic drafts are processed as historic drafts" - "first item not a string is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 1260 - optional/dependencies-compatibility.json: "single dependency" - "neither" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1261 - optional/dependencies-compatibility.json: "single dependency" - "nondependant" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1262 - optional/dependencies-compatibility.json: "single dependency" - "with dependency" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1263 - optional/dependencies-compatibility.json: "single dependency" - "missing dependency" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "{\"bar\":2}" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"bar\":[\"foo\"]}}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1264 - optional/dependencies-compatibility.json: "single dependency" - "ignores arrays" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1265 - optional/dependencies-compatibility.json: "single dependency" - "ignores strings" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1266 - optional/dependencies-compatibility.json: "single dependency" - "ignores other non-objects" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1267 - optional/dependencies-compatibility.json: "empty dependents" - "empty object" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1268 - optional/dependencies-compatibility.json: "empty dependents" - "object with one property" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1269 - optional/dependencies-compatibility.json: "empty dependents" - "non-object is valid" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1270 - optional/dependencies-compatibility.json: "multiple dependents required" - "neither" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1271 - optional/dependencies-compatibility.json: "multiple dependents required" - "nondependants" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1272 - optional/dependencies-compatibility.json: "multiple dependents required" - "with dependencies" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1273 - optional/dependencies-compatibility.json: "multiple dependents required" - "missing dependency" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "{\"foo\":1,\"quux\":2}" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"quux\":[\"foo\",\"bar\"]}}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1274 - optional/dependencies-compatibility.json: "multiple dependents required" - "missing other dependency" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "{\"bar\":1,\"quux\":2}" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"quux\":[\"foo\",\"bar\"]}}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1275 - optional/dependencies-compatibility.json: "multiple dependents required" - "missing both dependencies" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "{\"quux\":1}" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"quux\":[\"foo\",\"bar\"]}}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1276 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "CRLF" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1277 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "quoted quotes" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1278 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "CRLF missing dependent" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "{\"foo\":2,\"foo\\nbar\":1}" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"foo\\nbar\":[\"foo\\rbar\"],\"foo\\\"bar\":[\"foo'bar\"]}}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1279 - optional/dependencies-compatibility.json: "dependencies with escaped characters" - "quoted quotes missing dependent" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "{\"foo\\\"bar\":2}" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"foo\\nbar\":[\"foo\\rbar\"],\"foo\\\"bar\":[\"foo'bar\"]}}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1280 - optional/dependencies-compatibility.json: "single schema dependency" - "valid" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1281 - optional/dependencies-compatibility.json: "single schema dependency" - "no dependency" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1282 - optional/dependencies-compatibility.json: "single schema dependency" - "wrong type" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "{\"bar\":2,\"foo\":\"quux\"}" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"bar\":{\"properties\":{\"bar\":{\"type\":\"integer\"},\"foo\":{\"type\":\"integer\"}}}}}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1283 - optional/dependencies-compatibility.json: "single schema dependency" - "wrong type other" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "{\"bar\":\"quux\",\"foo\":2}" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"bar\":{\"properties\":{\"bar\":{\"type\":\"integer\"},\"foo\":{\"type\":\"integer\"}}}}}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1284 - optional/dependencies-compatibility.json: "single schema dependency" - "wrong type both" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "{\"bar\":\"quux\",\"foo\":\"quux\"}" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"bar\":{\"properties\":{\"bar\":{\"type\":\"integer\"},\"foo\":{\"type\":\"integer\"}}}}}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1285 - optional/dependencies-compatibility.json: "single schema dependency" - "ignores arrays" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1286 - optional/dependencies-compatibility.json: "single schema dependency" - "ignores strings" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1287 - optional/dependencies-compatibility.json: "single schema dependency" - "ignores other non-objects" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1288 - optional/dependencies-compatibility.json: "boolean subschemas" - "object with property having schema true is valid" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1289 - optional/dependencies-compatibility.json: "boolean subschemas" - "object with property having schema false is invalid" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "{\"bar\":2}" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"bar\":false,\"foo\":true}}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1290 - optional/dependencies-compatibility.json: "boolean subschemas" - "object with both properties is invalid" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "{\"bar\":2,\"foo\":1}" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"bar\":false,\"foo\":true}}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1291 - optional/dependencies-compatibility.json: "boolean subschemas" - "empty object is valid" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1292 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted tab" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1293 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted quote" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "{\"foo'bar\":{\"foo\\\"bar\":1}}" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"foo\\tbar\":{\"minProperties\":4},\"foo'bar\":{\"required\":[\"foo\\\"bar\"]}}}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1294 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted tab invalid under dependent schema" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "{\"a\":2,\"foo\\tbar\":1}" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"foo\\tbar\":{\"minProperties\":4},\"foo'bar\":{\"required\":[\"foo\\\"bar\"]}}}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1295 - optional/dependencies-compatibility.json: "schema dependencies with escaped characters" - "quoted quote invalid under dependent schema" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "{\"foo'bar\":1}" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"dependencies\":{\"foo\\tbar\":{\"minProperties\":4},\"foo'bar\":{\"required\":[\"foo\\\"bar\"]}}}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s # 173s ok 1296 - optional/dynamicRef.json: "$dynamicRef skips over intermediate resources - pointer reference across resource boundary" - "integer property passes" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1297 - optional/dynamicRef.json: "$dynamicRef skips over intermediate resources - pointer reference across resource boundary" - "string property fails" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/optional/item#/$defs/defaultContent/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "/bar-item/content", 173s # "keywordLocation": "/properties/bar-item/$ref/properties/content/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/optional/item#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/bar-item", 173s # "keywordLocation": "/properties/bar-item/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/optional/main#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/optional/item#/$defs/defaultContent/type", 173s # "error": "got string, not integer", 173s # "instanceLocation": "/bar-item/content", 173s # "keywordLocation": "/properties/bar-item/$ref/properties/content/$dynamicRef/type" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/optional/item#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "/bar-item", 173s # "keywordLocation": "/properties/bar-item/$ref/properties" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://test.json-schema.org/dynamic-ref-skips-intermediate-resource/optional/main#/properties", 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/properties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 1298 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches in Python, but not in ECMA 262" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1299 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1300 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "does not match" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1301 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "matches" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1302 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "does not match" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1303 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "matches" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1304 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "does not match" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1305 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "matches" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1306 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "ASCII zero matches" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1307 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "NKO DIGIT ZERO does not match (unlike e.g. Python)" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "\"߀\"" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1308 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "NKO DIGIT ZERO (as \u escape) does not match" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "\"߀\"" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1309 - optional/ecmascript-regex.json: "ECMA 262 \D matches everything but ascii digits" - "ASCII zero does not match" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false # 173s 1..1 173s } 173s ok 1310 - optional/ecmascript-regex.json: "ECMA 262 \D matches everything but ascii digits" - "NKO DIGIT ZERO matches (unlike e.g. Python)" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected true; got false 173s # data: "\"߀\"" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s 1..1 173s } 173s ok 1311 - optional/ecmascript-regex.json: "ECMA 262 \D matches everything but ascii digits" - "NKO DIGIT ZERO (as \u escape) matches" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected true; got false 173s # data: "\"߀\"" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s 1..1 173s } 173s ok 1312 - optional/ecmascript-regex.json: "ECMA 262 \w matches ascii letters only" - "ASCII 'a' matches" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true # 173s 1..1 173s } 173s ok 1313 - optional/ecmascript-regex.json: "ECMA 262 \w matches ascii letters only" - "latin-1 e-acute does not match (unlike e.g. Python)" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "\"é\"" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\w$\",\"type\":\"string\"}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1314 - optional/ecmascript-regex.json: "ECMA 262 \W matches everything but ascii letters" - "ASCII 'a' does not match" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false # 173s 1..1 173s } 173s ok 1315 - optional/ecmascript-regex.json: "ECMA 262 \W matches everything but ascii letters" - "latin-1 e-acute matches (unlike e.g. Python)" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected true; got false 173s # data: "\"é\"" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\W$\",\"type\":\"string\"}" 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s 1..1 173s } 173s ok 1316 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "ASCII space matches" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1317 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Character tabulation matches" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1318 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Line tabulation matches" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1319 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Form feed matches" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1320 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "latin-1 non-breaking-space matches" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1321 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "zero-width whitespace matches" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected true; got false 173s # data: "\"\"" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\s$\",\"type\":\"string\"}" 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s 1..1 173s } 173s ok 1322 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "line feed matches (line terminator)" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1323 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "paragraph separator matches (line terminator)" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1324 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "EM SPACE matches (Space_Separator)" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1325 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace control does not match" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1326 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace does not match" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1327 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "ASCII space does not match" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1328 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Character tabulation does not match" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1329 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Line tabulation does not match" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1330 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Form feed does not match" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1331 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "latin-1 non-breaking-space does not match" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1332 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "zero-width whitespace does not match" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "\"\"" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\S$\",\"type\":\"string\"}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1333 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "line feed does not match (line terminator)" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1334 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "paragraph separator does not match (line terminator)" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1335 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "EM SPACE does not match (Space_Separator)" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1336 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace control matches" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1337 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace matches" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1338 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "ascii character in json string" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1339 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "literal unicode character in json string" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1340 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode character in hex format in string" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1341 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode matching is case-sensitive" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1342 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1343 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "literal unicode character in json string" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "\"Les hivers de mon enfance étaient des saisons longues, longues. Nous vivions en trois lieux: l'école, l'église et la patinoire; mais la vraie vie était sur la patinoire.\"" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"\\\\wcole\"}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1344 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "unicode character in hex format in string" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "\"Les hivers de mon enfance étaient des saisons longues, longues. Nous vivions en trois lieux: l'école, l'église et la patinoire; mais la vraie vie était sur la patinoire.\"" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"\\\\wcole\"}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1345 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1346 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "literal unicode character in json string" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1347 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "unicode character in hex format in string" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1348 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "ascii characters match" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1349 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii digits" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1350 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii non-digits" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1351 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "\"৪২\"" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"pattern\":\"^\\\\d+$\"}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1352 - optional/ecmascript-regex.json: "\a is not an ECMA 262 control escape" - "when used as a pattern" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "\"\\\\a\"" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"format\":\"regex\"}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1353 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii digits" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1354 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii non-digits" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1355 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1356 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "ascii character in json string" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1357 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "literal unicode character in json string" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1358 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode character in hex format in string" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1359 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode matching is case-sensitive" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/L'ÉCOLE", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/L'ÉCOLE", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1360 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1361 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "literal unicode character in json string" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "{\"l'école\":\"pas de vraie vie\"}" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1362 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "unicode character in hex format in string" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "{\"l'école\":\"pas de vraie vie\"}" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1363 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/L'ÉCOLE", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/L'ÉCOLE", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1364 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "literal unicode character in json string" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/l'école", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/l'école", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1365 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "unicode character in hex format in string" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/l'école", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/l'école", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1366 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "ascii characters match" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1367 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii digits" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1368 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii non-digits" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/-%#", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/-%#", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1369 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected false; got true 173s # data: "{\"৪২\":\"khajit has wares if you have coin\"}" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"additionalProperties\":false,\"patternProperties\":{\"^\\\\d+$\":true},\"type\":\"object\"}" 173s # result: { 173s # "valid": true 173s # } 173s 1..1 173s } 173s ok 1370 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii digits" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1371 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii non-digits" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/-%#", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "additional property not permitted", 173s # "instanceLocation": "/-%#", 173s # "keywordLocation": "/additionalProperties" 173s # }, 173s # { 173s # "error": "not all additional properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/additionalProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1372 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 1373 - optional/float-overflow.json: "all integers are multiples of 0.5, if overflow is handled" - "valid if optional overflow handling is implemented" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 1374 - optional/format-assertion.json: "schema that uses custom metaschema with format-assertion: false" - "format-assertion: false: valid string" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1375 - optional/format-assertion.json: "schema that uses custom metaschema with format-assertion: false" - "format-assertion: false: invalid string" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://schema/using/format-assertion/false#/format", 173s # "error": "not a valid ipv4", 173s # "instanceLocation": "", 173s # "keywordLocation": "/format" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://schema/using/format-assertion/false#/format", 173s # "error": "not a valid ipv4", 173s # "instanceLocation": "", 173s # "keywordLocation": "/format" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1376 - optional/format-assertion.json: "schema that uses custom metaschema with format-assertion: true" - "format-assertion: true: valid string" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1377 - optional/format-assertion.json: "schema that uses custom metaschema with format-assertion: true" - "format-assertion: true: invalid string" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://schema/using/format-assertion/true#/format", 173s # "error": "not a valid ipv4", 173s # "instanceLocation": "", 173s # "keywordLocation": "/format" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "https://schema/using/format-assertion/true#/format", 173s # "error": "not a valid ipv4", 173s # "instanceLocation": "", 173s # "keywordLocation": "/format" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 1378 - optional/id.json: "$id inside an enum is not a real identifier" - "exact match to enum, and type matches" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1379 - optional/id.json: "$id inside an enum is not a real identifier" - "match $ref to $id" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1380 - optional/id.json: "$id inside an enum is not a real identifier" - "no match on enum or $ref to $id" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/id_in_enum/enum", 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/$ref/enum" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://localhost:1234/draft2020-12/id/my_identifier.json#/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/1/$ref/type" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/id_in_enum/enum", 173s # "error": "value does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/$ref/enum" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://localhost:1234/draft2020-12/id/my_identifier.json#/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/1/$ref/type" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 1381 - optional/no-schema.json: "validation without $schema" - "a 3-character string is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1382 - optional/no-schema.json: "validation without $schema" - "a 1-character string is not valid" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "length is less than 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minLength" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "length is less than 2", 173s # "instanceLocation": "", 173s # "keywordLocation": "/minLength" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1383 - optional/no-schema.json: "validation without $schema" - "a non-string is valid" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s # 173s ok 1384 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches empty" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1385 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches single" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1386 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches two" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1387 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1388 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1389 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one ASCII" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1390 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two ASCII" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "pattern does not match", 173s # "instanceLocation": "", 173s # "keywordLocation": "/pattern" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1391 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches empty" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1392 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches single" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1393 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches two" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1394 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match one" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/🐲", 173s # "keywordLocation": "/patternProperties/^🐲*$/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/🐲", 173s # "keywordLocation": "/patternProperties/^🐲*$/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1395 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match two" { 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/🐲🐲", 173s # "keywordLocation": "/patternProperties/^🐲*$/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "got string, not integer", 173s # "instanceLocation": "/🐲🐲", 173s # "keywordLocation": "/patternProperties/^🐲*$/type" 173s # }, 173s # { 173s # "error": "not all properties are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/patternProperties" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s ok 1396 - optional/refOfUnknownKeyword.json: "reference of a root arbitrary keyword " - "match" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar/$ref" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar/$ref" 173s # } 173s # ], 173s # "valid": false 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected true; got false 173s # data: "{\"bar\":3}" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"properties\":{\"bar\":{\"$ref\":\"#/unknown-keyword\"}},\"unknown-keyword\":{\"type\":\"integer\"}}" 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar/$ref" 173s # } 173s # ], 173s # "valid": false 173s # } 173s 1..1 173s } 173s ok 1397 - optional/refOfUnknownKeyword.json: "reference of a root arbitrary keyword " - "mismatch" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar/$ref" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "EXCEPTION: bad reference to #/unknown-keyword: not a schema", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar/$ref" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false # 173s 1..1 173s } 173s ok 1398 - optional/refOfUnknownKeyword.json: "reference of an arbitrary keyword of a sub-schema" - "match" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar/$ref" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar/$ref" 173s # } 173s # ], 173s # "valid": false 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected true; got false 173s # data: "{\"bar\":3}" 173s # schema: "{\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"properties\":{\"bar\":{\"$ref\":\"#/properties/foo/unknown-keyword\"},\"foo\":{\"unknown-keyword\":{\"type\":\"integer\"}}}}" 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar/$ref" 173s # } 173s # ], 173s # "valid": false 173s # } 173s 1..1 173s } 173s ok 1399 - optional/refOfUnknownKeyword.json: "reference of an arbitrary keyword of a sub-schema" - "mismatch" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "errors": [ 173s # { 173s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar/$ref" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "error": "EXCEPTION: bad reference to #/properties/foo/unknown-keyword: not a schema", 173s # "instanceLocation": "/bar", 173s # "keywordLocation": "/properties/bar/$ref" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false # 173s 1..1 173s } 173s ok 1400 - optional/refOfUnknownKeyword.json: "reference internals of known non-applicator" - "match" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "/base#/$ref", 173s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "/base#/$ref", 173s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref" 173s # } 173s # ], 173s # "valid": false 173s # } 173s not ok 1 - evaluation result is incorrect # 173s # Failed test (with amnesty) 'evaluation result is incorrect' 173s # at t/zzz-acceptance-draft2020-12.t line 51. 173s # expected true; got false 173s # data: "\"a string\"" 173s # schema: "{\"$id\":\"/base\",\"$ref\":\"#/examples/0\",\"$schema\":\"https://json-schema.org/draft/2020-12/schema\",\"examples\":[{\"type\":\"string\"}]}" 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "/base#/$ref", 173s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref" 173s # } 173s # ], 173s # "valid": false 173s # } 173s 1..1 173s } 173s ok 1401 - optional/refOfUnknownKeyword.json: "reference internals of known non-applicator" - "mismatch" { # TODO Test marked TODO via "todo_tests" 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "/base#/$ref", 173s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "/base#/$ref", 173s # "error": "EXCEPTION: bad reference to /base#/examples/0: not a schema", 173s # "instanceLocation": "", 173s # "keywordLocation": "/$ref" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false # 173s 1..1 173s } 173s # 173s ok 1402 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches second anyOf, which has a real schema in it" { 173s # result: { 173s # "valid": true 173s # } 173s # short-circuited result: { 173s # "valid": true 173s # } 173s ok 1 - test passes: data is valid: true 173s 1..1 173s } 173s ok 1403 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in first anyOf" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/$ref/not" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/1/$ref/not" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://localhost:1234/draft2020-12/unknownKeyword/my_identifier.json#/type", 173s # "error": "got null, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/2/$ref/type" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/$ref/not" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/1/$ref/not" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://localhost:1234/draft2020-12/unknownKeyword/my_identifier.json#/type", 173s # "error": "got null, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/2/$ref/type" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s ok 1404 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in third anyOf" { 173s # result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/$ref/not" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/1/$ref/not" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://localhost:1234/draft2020-12/unknownKeyword/my_identifier.json#/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/2/$ref/type" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s # short-circuited result: { 173s # "errors": [ 173s # { 173s # "absoluteKeywordLocation": "#/$defs/id_in_unknown0/not", 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/0/$ref/not" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "#/$defs/id_in_unknown1/not", 173s # "error": "subschema is valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/1/$ref/not" 173s # }, 173s # { 173s # "absoluteKeywordLocation": "https://localhost:1234/draft2020-12/unknownKeyword/my_identifier.json#/type", 173s # "error": "got integer, not string", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf/2/$ref/type" 173s # }, 173s # { 173s # "error": "no subschemas are valid", 173s # "instanceLocation": "", 173s # "keywordLocation": "/anyOf" 173s # } 173s # ], 173s # "valid": false 173s # } 173s ok 1 - test passes: data is valid: false 173s 1..1 173s } 173s # 173s # 173s # generated with: Test::JSON::Schema::Acceptance 1.026 173s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 173s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 173s # specification version: draft2020-12 173s # optional tests included: yes 173s # skipping directory: optional/format 173s # 173s # filename pass todo-fail fail 173s # --------------------------------------------------------------- 173s # additionalProperties.json 21 0 0 173s # allOf.json 30 0 0 173s # anchor.json 8 0 0 173s # anyOf.json 18 0 0 173s # boolean_schema.json 18 0 0 173s # const.json 50 0 0 173s # contains.json 21 0 0 173s # content.json 18 0 0 173s # default.json 7 0 0 173s # defs.json 2 0 0 173s # dependentRequired.json 20 0 0 173s # dependentSchemas.json 20 0 0 173s # dynamicRef.json 42 0 0 173s # enum.json 45 0 0 173s # exclusiveMaximum.json 4 0 0 173s # exclusiveMinimum.json 4 0 0 173s # format.json 133 0 0 173s # if-then-else.json 26 0 0 173s # infinite-loop-detection.json 2 0 0 173s # items.json 29 0 0 173s # maxContains.json 12 0 0 173s # maxItems.json 6 0 0 173s # maxLength.json 7 0 0 173s # maxProperties.json 10 0 0 173s # maximum.json 8 0 0 173s # minContains.json 28 0 0 173s # minItems.json 6 0 0 173s # minLength.json 7 0 0 173s # minProperties.json 8 0 0 173s # minimum.json 11 0 0 173s # multipleOf.json 10 0 0 173s # not.json 40 0 0 173s # oneOf.json 27 0 0 173s # pattern.json 9 0 0 173s # patternProperties.json 23 0 0 173s # prefixItems.json 11 0 0 173s # properties.json 28 0 0 173s # propertyNames.json 10 0 0 173s # ref.json 77 0 0 173s # refRemote.json 31 0 0 173s # required.json 16 0 0 173s # type.json 80 0 0 173s # unevaluatedItems.json 66 0 0 173s # unevaluatedProperties.json 122 0 0 173s # uniqueItems.json 69 0 0 173s # vocabulary.json 5 0 0 173s # optional/anchor.json 4 0 0 173s # optional/bignum.json 9 0 0 173s # optional/cross-draft.json 1 0 0 173s # optional/dependencies-compatibility.json 22 14 0 173s # optional/dynamicRef.json 2 0 0 173s # optional/ecmascript-regex.json 60 15 0 173s # optional/float-overflow.json 1 0 0 173s # optional/format-assertion.json 4 0 0 173s # optional/id.json 3 0 0 173s # optional/no-schema.json 3 0 0 173s # optional/non-bmp-regex.json 12 0 0 173s # optional/refOfUnknownKeyword.json 3 3 0 173s # optional/unknownKeyword.json 3 0 0 173s # --------------------------------------------------------------- 173s # TOTAL 1372 32 0 173s # 173s # Congratulations, all non-optional tests are passing! 173s # 173s ok 1405 - no leaks in the main evaluator object 173s ok 1406 - no leaks in the short-circuiting evaluator object 173s 1..1406 173s ok 174s t/zzz-acceptance-draft4-format.t ........ 174s # AUTHOR_TESTING: 174s # AUTOMATED_TESTING: 1 174s # EXTENDED_TESTING: 174s # NO_TODO: 174s # TEST_DIR: 174s # NO_SHORT_CIRCUIT: 174s # 174s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft4/optional/format against draft4... 174s # 174s ok 1 - date-time.json: "validation of date-time strings" - "all string formats ignore integers" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 2 - date-time.json: "validation of date-time strings" - "all string formats ignore floats" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 3 - date-time.json: "validation of date-time strings" - "all string formats ignore objects" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 4 - date-time.json: "validation of date-time strings" - "all string formats ignore arrays" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 5 - date-time.json: "validation of date-time strings" - "all string formats ignore booleans" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 6 - date-time.json: "validation of date-time strings" - "all string formats ignore nulls" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 7 - date-time.json: "validation of date-time strings" - "a valid date-time string" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 8 - date-time.json: "validation of date-time strings" - "a valid date-time string without second fraction" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 9 - date-time.json: "validation of date-time strings" - "a valid date-time string with plus offset" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 10 - date-time.json: "validation of date-time strings" - "a valid date-time string with minus offset" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 11 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, UTC" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 12 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, with minus offset" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 13 - date-time.json: "validation of date-time strings" - "an invalid date-time past leap second, UTC" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 14 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong minute, UTC" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 15 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong hour, UTC" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 16 - date-time.json: "validation of date-time strings" - "an invalid day in date-time string" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 17 - date-time.json: "validation of date-time strings" - "an invalid offset in date-time string" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 18 - date-time.json: "validation of date-time strings" - "an invalid closing Z after time-zone offset" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 19 - date-time.json: "validation of date-time strings" - "an invalid date-time string" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 20 - date-time.json: "validation of date-time strings" - "case-insensitive T and Z" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 21 - date-time.json: "validation of date-time strings" - "only RFC3339 not all of ISO 8601 are valid" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 22 - date-time.json: "validation of date-time strings" - "invalid non-padded month dates" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 23 - date-time.json: "validation of date-time strings" - "invalid non-padded day dates" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 24 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in date portion" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 25 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in time portion" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid date-time", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s # 174s ok 26 - email.json: "validation of e-mail addresses" - "all string formats ignore integers" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 27 - email.json: "validation of e-mail addresses" - "all string formats ignore floats" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 28 - email.json: "validation of e-mail addresses" - "all string formats ignore objects" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 29 - email.json: "validation of e-mail addresses" - "all string formats ignore arrays" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 30 - email.json: "validation of e-mail addresses" - "all string formats ignore booleans" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 31 - email.json: "validation of e-mail addresses" - "all string formats ignore nulls" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 32 - email.json: "validation of e-mail addresses" - "a valid e-mail address" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 33 - email.json: "validation of e-mail addresses" - "an invalid e-mail address" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid email", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid email", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 34 - email.json: "validation of e-mail addresses" - "tilde in local part is valid" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 35 - email.json: "validation of e-mail addresses" - "tilde before local part is valid" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 36 - email.json: "validation of e-mail addresses" - "tilde after local part is valid" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 37 - email.json: "validation of e-mail addresses" - "dot before local part is not valid" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid email", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid email", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 38 - email.json: "validation of e-mail addresses" - "dot after local part is not valid" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid email", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid email", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 39 - email.json: "validation of e-mail addresses" - "two separated dots inside local part are valid" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 40 - email.json: "validation of e-mail addresses" - "two subsequent dots inside local part are not valid" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid email", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid email", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s # 174s ok 41 - hostname.json: "validation of host names" - "all string formats ignore integers" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 42 - hostname.json: "validation of host names" - "all string formats ignore floats" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 43 - hostname.json: "validation of host names" - "all string formats ignore objects" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 44 - hostname.json: "validation of host names" - "all string formats ignore arrays" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 45 - hostname.json: "validation of host names" - "all string formats ignore booleans" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 46 - hostname.json: "validation of host names" - "all string formats ignore nulls" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 47 - hostname.json: "validation of host names" - "a valid host name" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 48 - hostname.json: "validation of host names" - "a valid punycoded IDN hostname" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 49 - hostname.json: "validation of host names" - "a host name starting with an illegal character" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 50 - hostname.json: "validation of host names" - "a host name containing illegal characters" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 51 - hostname.json: "validation of host names" - "a host name with a component too long" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 52 - hostname.json: "validation of host names" - "starts with hyphen" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 53 - hostname.json: "validation of host names" - "ends with hyphen" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 54 - hostname.json: "validation of host names" - "starts with underscore" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 55 - hostname.json: "validation of host names" - "ends with underscore" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 56 - hostname.json: "validation of host names" - "contains underscore" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 57 - hostname.json: "validation of host names" - "maximum label length" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 58 - hostname.json: "validation of host names" - "exceeds maximum label length" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 59 - hostname.json: "validation of host names" - "single label" { # TODO Test marked TODO via "todo_tests" 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s not ok 1 - evaluation result is incorrect # 174s # Failed test (with amnesty) 'evaluation result is incorrect' 174s # at t/zzz-acceptance-draft4-format.t line 65. 174s # expected true; got false 174s # data: "\"hostname\"" 174s # schema: "{\"format\":\"hostname\"}" 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s 1..1 174s } 174s ok 60 - hostname.json: "validation of host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s not ok 1 - evaluation result is incorrect # 174s # Failed test (with amnesty) 'evaluation result is incorrect' 174s # at t/zzz-acceptance-draft4-format.t line 65. 174s # expected true; got false 174s # data: "\"host-name\"" 174s # schema: "{\"format\":\"hostname\"}" 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s 1..1 174s } 174s ok 61 - hostname.json: "validation of host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s not ok 1 - evaluation result is incorrect # 174s # Failed test (with amnesty) 'evaluation result is incorrect' 174s # at t/zzz-acceptance-draft4-format.t line 65. 174s # expected true; got false 174s # data: "\"h0stn4me\"" 174s # schema: "{\"format\":\"hostname\"}" 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s 1..1 174s } 174s ok 62 - hostname.json: "validation of host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s not ok 1 - evaluation result is incorrect # 174s # Failed test (with amnesty) 'evaluation result is incorrect' 174s # at t/zzz-acceptance-draft4-format.t line 65. 174s # expected true; got false 174s # data: "\"hostnam3\"" 174s # schema: "{\"format\":\"hostname\"}" 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid hostname", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s 1..1 174s } 174s # 174s ok 63 - ipv4.json: "validation of IP addresses" - "all string formats ignore integers" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 64 - ipv4.json: "validation of IP addresses" - "all string formats ignore floats" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 65 - ipv4.json: "validation of IP addresses" - "all string formats ignore objects" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 66 - ipv4.json: "validation of IP addresses" - "all string formats ignore arrays" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 67 - ipv4.json: "validation of IP addresses" - "all string formats ignore booleans" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 68 - ipv4.json: "validation of IP addresses" - "all string formats ignore nulls" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 69 - ipv4.json: "validation of IP addresses" - "a valid IP address" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 70 - ipv4.json: "validation of IP addresses" - "an IP address with too many components" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv4", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv4", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 71 - ipv4.json: "validation of IP addresses" - "an IP address with out-of-range values" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv4", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv4", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 72 - ipv4.json: "validation of IP addresses" - "an IP address without 4 components" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv4", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv4", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 73 - ipv4.json: "validation of IP addresses" - "an IP address as an integer" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv4", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv4", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 74 - ipv4.json: "validation of IP addresses" - "an IP address as an integer (decimal)" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv4", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv4", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 75 - ipv4.json: "validation of IP addresses" - "invalid leading zeroes, as they are treated as octals" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv4", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv4", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 76 - ipv4.json: "validation of IP addresses" - "value without leading zero is valid" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 77 - ipv4.json: "validation of IP addresses" - "invalid non-ASCII '২' (a Bengali 2)" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv4", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv4", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 78 - ipv4.json: "validation of IP addresses" - "netmask is not a part of ipv4 address" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv4", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv4", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s # 174s ok 79 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore integers" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 80 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore floats" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 81 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore objects" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 82 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore arrays" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 83 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore booleans" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 84 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore nulls" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 85 - ipv6.json: "validation of IPv6 addresses" - "a valid IPv6 address" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 86 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with out-of-range values" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 87 - ipv6.json: "validation of IPv6 addresses" - "trailing 4 hex symbols is valid" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 88 - ipv6.json: "validation of IPv6 addresses" - "trailing 5 hex symbols is invalid" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 89 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with too many components" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 90 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address containing illegal characters" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 91 - ipv6.json: "validation of IPv6 addresses" - "no digits is valid" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 92 - ipv6.json: "validation of IPv6 addresses" - "leading colons is valid" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 93 - ipv6.json: "validation of IPv6 addresses" - "trailing colons is valid" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 94 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet is invalid" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 95 - ipv6.json: "validation of IPv6 addresses" - "missing trailing octet is invalid" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 96 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet with omitted octets later" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 97 - ipv6.json: "validation of IPv6 addresses" - "single set of double colons in the middle is valid" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 98 - ipv6.json: "validation of IPv6 addresses" - "two sets of double colons is invalid" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 99 - ipv6.json: "validation of IPv6 addresses" - "mixed format with the ipv4 section as decimal octets" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 100 - ipv6.json: "validation of IPv6 addresses" - "mixed format with double colons between the sections" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 101 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with octet out of range" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 102 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with a hex octet" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 103 - ipv6.json: "validation of IPv6 addresses" - "mixed format with leading double colons (ipv4-mapped ipv6 address)" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 104 - ipv6.json: "validation of IPv6 addresses" - "triple colons is invalid" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 105 - ipv6.json: "validation of IPv6 addresses" - "8 octets" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 106 - ipv6.json: "validation of IPv6 addresses" - "insufficient octets without double colons" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 107 - ipv6.json: "validation of IPv6 addresses" - "no colons is invalid" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 108 - ipv6.json: "validation of IPv6 addresses" - "ipv4 is not ipv6" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 109 - ipv6.json: "validation of IPv6 addresses" - "ipv4 segment must have 4 octets" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 110 - ipv6.json: "validation of IPv6 addresses" - "leading whitespace is invalid" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 111 - ipv6.json: "validation of IPv6 addresses" - "trailing whitespace is invalid" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 112 - ipv6.json: "validation of IPv6 addresses" - "netmask is not a part of ipv6 address" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 113 - ipv6.json: "validation of IPv6 addresses" - "zone id is not a part of ipv6 address" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 114 - ipv6.json: "validation of IPv6 addresses" - "a long valid ipv6" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 115 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, first" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 116 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, second" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 117 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4)" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 118 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4) in the IPv4 portion" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid ipv6", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s # 174s ok 119 - unknown.json: "unknown format" - "unknown formats ignore integers" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 120 - unknown.json: "unknown format" - "unknown formats ignore floats" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 121 - unknown.json: "unknown format" - "unknown formats ignore objects" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 122 - unknown.json: "unknown format" - "unknown formats ignore arrays" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 123 - unknown.json: "unknown format" - "unknown formats ignore booleans" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 124 - unknown.json: "unknown format" - "unknown formats ignore nulls" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 125 - unknown.json: "unknown format" - "unknown formats ignore strings" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s # 174s ok 126 - uri.json: "validation of URIs" - "all string formats ignore integers" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 127 - uri.json: "validation of URIs" - "all string formats ignore floats" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 128 - uri.json: "validation of URIs" - "all string formats ignore objects" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 129 - uri.json: "validation of URIs" - "all string formats ignore arrays" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 130 - uri.json: "validation of URIs" - "all string formats ignore booleans" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 131 - uri.json: "validation of URIs" - "all string formats ignore nulls" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 132 - uri.json: "validation of URIs" - "a valid URL with anchor tag" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 133 - uri.json: "validation of URIs" - "a valid URL with anchor tag and parentheses" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 134 - uri.json: "validation of URIs" - "a valid URL with URL-encoded stuff" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 135 - uri.json: "validation of URIs" - "a valid puny-coded URL " { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 136 - uri.json: "validation of URIs" - "a valid URL with many special characters" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 137 - uri.json: "validation of URIs" - "a valid URL based on IPv4" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 138 - uri.json: "validation of URIs" - "a valid URL with ftp scheme" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 139 - uri.json: "validation of URIs" - "a valid URL for a simple text file" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 140 - uri.json: "validation of URIs" - "a valid URL " { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 141 - uri.json: "validation of URIs" - "a valid mailto URI" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 142 - uri.json: "validation of URIs" - "a valid newsgroup URI" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 143 - uri.json: "validation of URIs" - "a valid tel URI" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 144 - uri.json: "validation of URIs" - "a valid URN" { 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s ok 1 - test passes: data is valid: true 174s 1..1 174s } 174s ok 145 - uri.json: "validation of URIs" - "an invalid protocol-relative URI Reference" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid uri", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid uri", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 146 - uri.json: "validation of URIs" - "an invalid relative URI Reference" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid uri", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid uri", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 147 - uri.json: "validation of URIs" - "an invalid URI" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid uri", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid uri", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 148 - uri.json: "validation of URIs" - "an invalid URI though valid URI reference" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid uri", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid uri", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 149 - uri.json: "validation of URIs" - "an invalid URI with spaces" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid uri", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid uri", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 150 - uri.json: "validation of URIs" - "an invalid URI with spaces and missing scheme" { 174s # result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid uri", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s # short-circuited result: { 174s # "errors": [ 174s # { 174s # "error": "not a valid uri", 174s # "instanceLocation": "", 174s # "keywordLocation": "/format" 174s # } 174s # ], 174s # "valid": false 174s # } 174s ok 1 - test passes: data is valid: false 174s 1..1 174s } 174s ok 151 - uri.json: "validation of URIs" - "an invalid URI with comma in scheme" { # TODO Test marked TODO via "todo_tests" 174s # result: { 174s # "valid": true 174s # } 174s # short-circuited result: { 174s # "valid": true 174s # } 174s not ok 1 - evaluation result is incorrect # 174s # Failed test (with amnesty) 'evaluation result is incorrect' 174s # at t/zzz-acceptance-draft4-format.t line 65. 174s # expected false; got true 174s # data: "\"bar,baz:foo\"" 174s # schema: "{\"format\":\"uri\"}" 174s # result: { 174s # "valid": true 174s # } 174s 1..1 174s } 174s # 174s # 174s # generated with: Test::JSON::Schema::Acceptance 1.026 174s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 174s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 174s # specification version: draft4 174s # using custom test directory: /optional/format 174s # optional tests included: yes 174s # 174s # filename pass todo-fail fail 174s # --------------------------------------------------------------- 174s # date-time.json 25 0 0 174s # email.json 15 0 0 174s # hostname.json 18 4 0 174s # ipv4.json 16 0 0 174s # ipv6.json 40 0 0 174s # unknown.json 7 0 0 174s # uri.json 25 1 0 174s # --------------------------------------------------------------- 174s # TOTAL 146 5 0 174s # 174s # Congratulations, all non-optional tests are passing! 174s # 174s ok 152 - no leaks in the main evaluator object 174s ok 153 - no leaks in the short-circuiting evaluator object 174s 1..153 174s ok 177s t/zzz-acceptance-draft4.t ............... 177s # AUTHOR_TESTING: 177s # AUTOMATED_TESTING: 1 177s # EXTENDED_TESTING: 177s # NO_TODO: 177s # TEST_DIR: 177s # NO_SHORT_CIRCUIT: 177s # 177s # adding resources from /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/remotes with the base URI "http://localhost:1234"... 177s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft4 against draft4... 177s # 177s ok 1 - additionalItems.json: "additionalItems as schema" - "additional items match schema" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 2 - additionalItems.json: "additionalItems as schema" - "additional items do not match schema" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/3", 177s # "keywordLocation": "/additionalItems/type" 177s # }, 177s # { 177s # "error": "subschema is not valid against all additional items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/3", 177s # "keywordLocation": "/additionalItems/type" 177s # }, 177s # { 177s # "error": "subschema is not valid against all additional items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 3 - additionalItems.json: "when items is schema, additionalItems does nothing" - "all items match schema" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 4 - additionalItems.json: "array of items with no additionalItems permitted" - "empty array" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 5 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (1)" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 6 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (2)" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 7 - additionalItems.json: "array of items with no additionalItems permitted" - "equal number of items present" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 8 - additionalItems.json: "array of items with no additionalItems permitted" - "additional items are not permitted" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "additional item not permitted", 177s # "instanceLocation": "/3", 177s # "keywordLocation": "/additionalItems" 177s # }, 177s # { 177s # "error": "subschema is not valid against all additional items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "additional item not permitted", 177s # "instanceLocation": "/3", 177s # "keywordLocation": "/additionalItems" 177s # }, 177s # { 177s # "error": "subschema is not valid against all additional items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 9 - additionalItems.json: "additionalItems as false without items" - "items defaults to empty schema so everything is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 10 - additionalItems.json: "additionalItems as false without items" - "ignores non-arrays" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 11 - additionalItems.json: "additionalItems are allowed by default" - "only the first item is validated" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 12 - additionalItems.json: "additionalItems does not look in applicators, valid case" - "items defined in allOf are not examined" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 13 - additionalItems.json: "additionalItems does not look in applicators, invalid case" - "items defined in allOf are not examined" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not boolean", 177s # "instanceLocation": "/1", 177s # "keywordLocation": "/additionalItems/type" 177s # }, 177s # { 177s # "error": "subschema is not valid against all additional items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not boolean", 177s # "instanceLocation": "/1", 177s # "keywordLocation": "/additionalItems/type" 177s # }, 177s # { 177s # "error": "subschema is not valid against all additional items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 14 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "valid items" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 15 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "wrong type of second item" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/1", 177s # "keywordLocation": "/additionalItems/type" 177s # }, 177s # { 177s # "error": "subschema is not valid against all additional items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/1", 177s # "keywordLocation": "/additionalItems/type" 177s # }, 177s # { 177s # "error": "subschema is not valid against all additional items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 16 - additionalItems.json: "additionalItems with heterogeneous array" - "heterogeneous invalid instance" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "additional item not permitted", 177s # "instanceLocation": "/1", 177s # "keywordLocation": "/additionalItems" 177s # }, 177s # { 177s # "error": "additional item not permitted", 177s # "instanceLocation": "/2", 177s # "keywordLocation": "/additionalItems" 177s # }, 177s # { 177s # "error": "subschema is not valid against all additional items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "additional item not permitted", 177s # "instanceLocation": "/1", 177s # "keywordLocation": "/additionalItems" 177s # }, 177s # { 177s # "error": "subschema is not valid against all additional items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 17 - additionalItems.json: "additionalItems with heterogeneous array" - "valid instance" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 18 - additionalItems.json: "additionalItems with null instance elements" - "allows null elements" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s # 177s ok 19 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "no additional properties is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 20 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "an additional property is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/quux", 177s # "keywordLocation": "/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/quux", 177s # "keywordLocation": "/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 21 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores arrays" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 22 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores strings" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 23 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores other non-objects" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 24 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "patternProperties are not additional properties" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 25 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "matching the pattern is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 26 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "not matching the pattern is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/élmény", 177s # "keywordLocation": "/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/élmény", 177s # "keywordLocation": "/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 27 - additionalProperties.json: "additionalProperties with schema" - "no additional properties is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 28 - additionalProperties.json: "additionalProperties with schema" - "an additional valid property is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 29 - additionalProperties.json: "additionalProperties with schema" - "an additional invalid property is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not boolean", 177s # "instanceLocation": "/quux", 177s # "keywordLocation": "/additionalProperties/type" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not boolean", 177s # "instanceLocation": "/quux", 177s # "keywordLocation": "/additionalProperties/type" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 30 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional valid property is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 31 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional invalid property is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not boolean", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/additionalProperties/type" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not boolean", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/additionalProperties/type" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 32 - additionalProperties.json: "additionalProperties are allowed by default" - "additional properties are allowed" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 33 - additionalProperties.json: "additionalProperties does not look in applicators" - "properties defined in allOf are not examined" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not boolean", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/additionalProperties/type" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not boolean", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/additionalProperties/type" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 34 - additionalProperties.json: "additionalProperties with null valued instance properties" - "allows null values" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s # 177s ok 35 - allOf.json: "allOf" - "allOf" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 36 - allOf.json: "allOf" - "mismatch second" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: bar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/required" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: bar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/required" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 37 - allOf.json: "allOf" - "mismatch first" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: foo", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/1/required" 177s # }, 177s # { 177s # "error": "subschema 1 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: foo", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/1/required" 177s # }, 177s # { 177s # "error": "subschema 1 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 38 - allOf.json: "allOf" - "wrong type" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/bar", 177s # "keywordLocation": "/allOf/0/properties/bar/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/properties" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/bar", 177s # "keywordLocation": "/allOf/0/properties/bar/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/properties" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 39 - allOf.json: "allOf with base schema" - "valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 40 - allOf.json: "allOf with base schema" - "mismatch base schema" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: bar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/required" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: bar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/required" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 41 - allOf.json: "allOf with base schema" - "mismatch first allOf" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: foo", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/required" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: foo", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/required" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 42 - allOf.json: "allOf with base schema" - "mismatch second allOf" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: baz", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/1/required" 177s # }, 177s # { 177s # "error": "subschema 1 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: baz", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/1/required" 177s # }, 177s # { 177s # "error": "subschema 1 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 43 - allOf.json: "allOf with base schema" - "mismatch both" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: foo", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/required" 177s # }, 177s # { 177s # "error": "object is missing property: baz", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/1/required" 177s # }, 177s # { 177s # "error": "subschemas 0, 1 are not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: foo", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/required" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 44 - allOf.json: "allOf simple types" - "valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 45 - allOf.json: "allOf simple types" - "mismatch one" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is greater than 30", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/maximum" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is greater than 30", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/maximum" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 46 - allOf.json: "allOf with one empty schema" - "any data is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 47 - allOf.json: "allOf with two empty schemas" - "any data is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 48 - allOf.json: "allOf with the first empty schema" - "number is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 49 - allOf.json: "allOf with the first empty schema" - "string is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/1/type" 177s # }, 177s # { 177s # "error": "subschema 1 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/1/type" 177s # }, 177s # { 177s # "error": "subschema 1 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 50 - allOf.json: "allOf with the last empty schema" - "number is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 51 - allOf.json: "allOf with the last empty schema" - "string is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/type" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/type" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 52 - allOf.json: "nested allOf, to check validation semantics" - "null is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 53 - allOf.json: "nested allOf, to check validation semantics" - "anything non-null is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/allOf/0/type" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/allOf" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/allOf/0/type" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/allOf" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 54 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: false" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is not a multiple of 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/multipleOf" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # }, 177s # { 177s # "error": "value is not a multiple of 3", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/0/multipleOf" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf" 177s # }, 177s # { 177s # "error": "value is not a multiple of 5", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/0/multipleOf" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is not a multiple of 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/multipleOf" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 55 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: true" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is not a multiple of 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/multipleOf" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # }, 177s # { 177s # "error": "value is not a multiple of 3", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/0/multipleOf" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is not a multiple of 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/multipleOf" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 56 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: false" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is not a multiple of 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/multipleOf" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # }, 177s # { 177s # "error": "value is not a multiple of 5", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/0/multipleOf" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is not a multiple of 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/multipleOf" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 57 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: true" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is not a multiple of 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/multipleOf" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is not a multiple of 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/multipleOf" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 58 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: false" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is not a multiple of 3", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/0/multipleOf" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf" 177s # }, 177s # { 177s # "error": "value is not a multiple of 5", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/0/multipleOf" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is not a multiple of 3", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/0/multipleOf" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 59 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: true" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is not a multiple of 3", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/0/multipleOf" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is not a multiple of 3", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/0/multipleOf" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 60 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: false" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is not a multiple of 5", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/0/multipleOf" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is not a multiple of 5", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/0/multipleOf" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 61 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: true" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s # 177s ok 62 - anyOf.json: "anyOf" - "first anyOf valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 63 - anyOf.json: "anyOf" - "second anyOf valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 64 - anyOf.json: "anyOf" - "both anyOf valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 65 - anyOf.json: "anyOf" - "neither anyOf valid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got number, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/0/type" 177s # }, 177s # { 177s # "error": "value is less than 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/1/minimum" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got number, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/0/type" 177s # }, 177s # { 177s # "error": "value is less than 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/1/minimum" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 66 - anyOf.json: "anyOf with base schema" - "mismatch base schema" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 67 - anyOf.json: "anyOf with base schema" - "one anyOf valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 68 - anyOf.json: "anyOf with base schema" - "both anyOf invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "length is greater than 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/0/maxLength" 177s # }, 177s # { 177s # "error": "length is less than 4", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/1/minLength" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "length is greater than 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/0/maxLength" 177s # }, 177s # { 177s # "error": "length is less than 4", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/1/minLength" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 69 - anyOf.json: "anyOf complex types" - "first anyOf valid (complex)" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 70 - anyOf.json: "anyOf complex types" - "second anyOf valid (complex)" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 71 - anyOf.json: "anyOf complex types" - "both anyOf valid (complex)" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 72 - anyOf.json: "anyOf complex types" - "neither anyOf valid (complex)" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/bar", 177s # "keywordLocation": "/anyOf/0/properties/bar/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/0/properties" 177s # }, 177s # { 177s # "error": "got integer, not string", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/anyOf/1/properties/foo/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/1/properties" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/bar", 177s # "keywordLocation": "/anyOf/0/properties/bar/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/0/properties" 177s # }, 177s # { 177s # "error": "got integer, not string", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/anyOf/1/properties/foo/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/1/properties" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 73 - anyOf.json: "anyOf with one empty schema" - "string is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 74 - anyOf.json: "anyOf with one empty schema" - "number is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 75 - anyOf.json: "nested anyOf, to check validation semantics" - "null is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 76 - anyOf.json: "nested anyOf, to check validation semantics" - "anything non-null is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/0/anyOf/0/type" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/0/anyOf" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/0/anyOf/0/type" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/0/anyOf" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s # 177s ok 77 - default.json: "invalid type for default" - "valid when property is specified" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 78 - default.json: "invalid type for default" - "still valid when the invalid default is used" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 79 - default.json: "invalid string value for default" - "valid when property is specified" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 80 - default.json: "invalid string value for default" - "still valid when the invalid default is used" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 81 - default.json: "the default keyword does not do anything if the property is missing" - "an explicit property value is checked against maximum (passing)" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 82 - default.json: "the default keyword does not do anything if the property is missing" - "an explicit property value is checked against maximum (failing)" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is greater than 3", 177s # "instanceLocation": "/alpha", 177s # "keywordLocation": "/properties/alpha/maximum" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is greater than 3", 177s # "instanceLocation": "/alpha", 177s # "keywordLocation": "/properties/alpha/maximum" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 83 - default.json: "the default keyword does not do anything if the property is missing" - "missing properties are not filled in with the default" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s # 177s ok 84 - definitions.json: "validate definition against metaschema" - "valid definition schema" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 85 - definitions.json: "validate definition against metaschema" - "invalid definition schema" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/definitions/simpleTypes/enum", 177s # "error": "value does not match", 177s # "instanceLocation": "/definitions/foo/type", 177s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/0/$ref/enum" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties/type/anyOf/1/type", 177s # "error": "got integer, not array", 177s # "instanceLocation": "/definitions/foo/type", 177s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/1/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties/type/anyOf", 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "/definitions/foo/type", 177s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties", 177s # "error": "not all properties are valid", 177s # "instanceLocation": "/definitions/foo", 177s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties/definitions/additionalProperties", 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "/definitions", 177s # "keywordLocation": "/$ref/properties/definitions/additionalProperties" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties", 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/$ref/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/definitions/simpleTypes/enum", 177s # "error": "value does not match", 177s # "instanceLocation": "/definitions/foo/type", 177s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/0/$ref/enum" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties/type/anyOf/1/type", 177s # "error": "got integer, not array", 177s # "instanceLocation": "/definitions/foo/type", 177s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/1/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties/type/anyOf", 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "/definitions/foo/type", 177s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties", 177s # "error": "not all properties are valid", 177s # "instanceLocation": "/definitions/foo", 177s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties/definitions/additionalProperties", 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "/definitions", 177s # "keywordLocation": "/$ref/properties/definitions/additionalProperties" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties", 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/$ref/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s # 177s ok 86 - dependencies.json: "dependencies" - "neither" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 87 - dependencies.json: "dependencies" - "nondependant" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 88 - dependencies.json: "dependencies" - "with dependency" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 89 - dependencies.json: "dependencies" - "missing dependency" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: foo", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/bar" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: foo", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/bar" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 90 - dependencies.json: "dependencies" - "ignores arrays" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 91 - dependencies.json: "dependencies" - "ignores strings" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 92 - dependencies.json: "dependencies" - "ignores other non-objects" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 93 - dependencies.json: "multiple dependencies" - "neither" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 94 - dependencies.json: "multiple dependencies" - "nondependants" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 95 - dependencies.json: "multiple dependencies" - "with dependencies" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 96 - dependencies.json: "multiple dependencies" - "missing dependency" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: bar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/quux" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: bar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/quux" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 97 - dependencies.json: "multiple dependencies" - "missing other dependency" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: foo", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/quux" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: foo", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/quux" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 98 - dependencies.json: "multiple dependencies" - "missing both dependencies" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing properties: foo, bar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/quux" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing properties: foo, bar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/quux" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 99 - dependencies.json: "multiple dependencies subschema" - "valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 100 - dependencies.json: "multiple dependencies subschema" - "no dependency" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 101 - dependencies.json: "multiple dependencies subschema" - "wrong type" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/dependencies/bar/properties/foo/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/bar/properties" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/dependencies/bar/properties/foo/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/bar/properties" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 102 - dependencies.json: "multiple dependencies subschema" - "wrong type other" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/bar", 177s # "keywordLocation": "/dependencies/bar/properties/bar/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/bar/properties" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/bar", 177s # "keywordLocation": "/dependencies/bar/properties/bar/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/bar/properties" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 103 - dependencies.json: "multiple dependencies subschema" - "wrong type both" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/bar", 177s # "keywordLocation": "/dependencies/bar/properties/bar/type" 177s # }, 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/dependencies/bar/properties/foo/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/bar/properties" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/bar", 177s # "keywordLocation": "/dependencies/bar/properties/bar/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/bar/properties" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 104 - dependencies.json: "dependencies with escaped characters" - "valid object 1" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 105 - dependencies.json: "dependencies with escaped characters" - "valid object 2" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 106 - dependencies.json: "dependencies with escaped characters" - "valid object 3" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 107 - dependencies.json: "dependencies with escaped characters" - "invalid object 1" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: foo\rbar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/foo\nbar" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: foo\rbar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/foo\nbar" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 108 - dependencies.json: "dependencies with escaped characters" - "invalid object 2" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object has fewer than 4 properties", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/foo\tbar/minProperties" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object has fewer than 4 properties", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/foo\tbar/minProperties" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 109 - dependencies.json: "dependencies with escaped characters" - "invalid object 3" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: foo\"bar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/foo'bar/required" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: foo\"bar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/foo'bar/required" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 110 - dependencies.json: "dependencies with escaped characters" - "invalid object 4" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: foo'bar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/foo\"bar" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: foo'bar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/foo\"bar" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 111 - dependencies.json: "dependent subschema incompatible with root" - "matches root" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/dependencies/foo/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/foo/additionalProperties" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/dependencies/foo/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/foo/additionalProperties" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 112 - dependencies.json: "dependent subschema incompatible with root" - "matches dependency" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 113 - dependencies.json: "dependent subschema incompatible with root" - "matches both" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/dependencies/foo/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/foo/additionalProperties" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/dependencies/foo/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies/foo/additionalProperties" 177s # }, 177s # { 177s # "error": "not all dependencies are satisfied", 177s # "instanceLocation": "", 177s # "keywordLocation": "/dependencies" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 114 - dependencies.json: "dependent subschema incompatible with root" - "no dependency" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s # 177s ok 115 - enum.json: "simple enum validation" - "one of the enum is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 116 - enum.json: "simple enum validation" - "something else is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 117 - enum.json: "heterogeneous enum validation" - "one of the enum is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 118 - enum.json: "heterogeneous enum validation" - "something else is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 119 - enum.json: "heterogeneous enum validation" - "objects are deep compared" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match (from enum 0 at '': wrong type: object vs integer; from enum 1 at '': wrong type: object vs string; from enum 2 at '': wrong type: object vs array; from enum 3 at '': wrong type: object vs boolean; from enum 4 at '/foo': wrong type: boolean vs integer)", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match (from enum 0 at '': wrong type: object vs integer; from enum 1 at '': wrong type: object vs string; from enum 2 at '': wrong type: object vs array; from enum 3 at '': wrong type: object vs boolean; from enum 4 at '/foo': wrong type: boolean vs integer)", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 120 - enum.json: "heterogeneous enum validation" - "valid object matches" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 121 - enum.json: "heterogeneous enum validation" - "extra properties in object is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 122 - enum.json: "heterogeneous enum-with-null validation" - "null is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 123 - enum.json: "heterogeneous enum-with-null validation" - "number is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 124 - enum.json: "heterogeneous enum-with-null validation" - "something else is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 125 - enum.json: "enums in properties" - "both properties are valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 126 - enum.json: "enums in properties" - "wrong foo value" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/properties/foo/enum" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/properties/foo/enum" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 127 - enum.json: "enums in properties" - "wrong bar value" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "/bar", 177s # "keywordLocation": "/properties/bar/enum" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "/bar", 177s # "keywordLocation": "/properties/bar/enum" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 128 - enum.json: "enums in properties" - "missing optional property is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 129 - enum.json: "enums in properties" - "missing required property is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: bar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/required" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: bar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/required" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 130 - enum.json: "enums in properties" - "missing all properties is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: bar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/required" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: bar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/required" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 131 - enum.json: "enum with escaped characters" - "member 1 is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 132 - enum.json: "enum with escaped characters" - "member 2 is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 133 - enum.json: "enum with escaped characters" - "another string is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 134 - enum.json: "enum with false does not match 0" - "false is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 135 - enum.json: "enum with false does not match 0" - "integer zero is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 136 - enum.json: "enum with false does not match 0" - "float zero is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 137 - enum.json: "enum with [false] does not match [0]" - "[false] is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 138 - enum.json: "enum with [false] does not match [0]" - "[0] is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 139 - enum.json: "enum with [false] does not match [0]" - "[0.0] is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 140 - enum.json: "enum with true does not match 1" - "true is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 141 - enum.json: "enum with true does not match 1" - "integer one is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 142 - enum.json: "enum with true does not match 1" - "float one is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 143 - enum.json: "enum with [true] does not match [1]" - "[true] is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 144 - enum.json: "enum with [true] does not match [1]" - "[1] is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 145 - enum.json: "enum with [true] does not match [1]" - "[1.0] is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 146 - enum.json: "enum with 0 does not match false" - "false is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 147 - enum.json: "enum with 0 does not match false" - "integer zero is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 148 - enum.json: "enum with 0 does not match false" - "float zero is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 149 - enum.json: "enum with [0] does not match [false]" - "[false] is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 150 - enum.json: "enum with [0] does not match [false]" - "[0] is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 151 - enum.json: "enum with [0] does not match [false]" - "[0.0] is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 152 - enum.json: "enum with 1 does not match true" - "true is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 153 - enum.json: "enum with 1 does not match true" - "integer one is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 154 - enum.json: "enum with 1 does not match true" - "float one is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 155 - enum.json: "enum with [1] does not match [true]" - "[true] is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 156 - enum.json: "enum with [1] does not match [true]" - "[1] is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 157 - enum.json: "enum with [1] does not match [true]" - "[1.0] is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 158 - enum.json: "nul characters in strings" - "match string with nul" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 159 - enum.json: "nul characters in strings" - "do not match string lacking nul" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s # 177s ok 160 - format.json: "email format" - "all string formats ignore integers" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 161 - format.json: "email format" - "all string formats ignore floats" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 162 - format.json: "email format" - "all string formats ignore objects" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 163 - format.json: "email format" - "all string formats ignore arrays" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 164 - format.json: "email format" - "all string formats ignore booleans" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 165 - format.json: "email format" - "all string formats ignore nulls" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 166 - format.json: "ipv4 format" - "all string formats ignore integers" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 167 - format.json: "ipv4 format" - "all string formats ignore floats" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 168 - format.json: "ipv4 format" - "all string formats ignore objects" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 169 - format.json: "ipv4 format" - "all string formats ignore arrays" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 170 - format.json: "ipv4 format" - "all string formats ignore booleans" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 171 - format.json: "ipv4 format" - "all string formats ignore nulls" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 172 - format.json: "ipv6 format" - "all string formats ignore integers" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 173 - format.json: "ipv6 format" - "all string formats ignore floats" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 174 - format.json: "ipv6 format" - "all string formats ignore objects" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 175 - format.json: "ipv6 format" - "all string formats ignore arrays" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 176 - format.json: "ipv6 format" - "all string formats ignore booleans" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 177 - format.json: "ipv6 format" - "all string formats ignore nulls" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 178 - format.json: "hostname format" - "all string formats ignore integers" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 179 - format.json: "hostname format" - "all string formats ignore floats" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 180 - format.json: "hostname format" - "all string formats ignore objects" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 181 - format.json: "hostname format" - "all string formats ignore arrays" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 182 - format.json: "hostname format" - "all string formats ignore booleans" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 183 - format.json: "hostname format" - "all string formats ignore nulls" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 184 - format.json: "date-time format" - "all string formats ignore integers" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 185 - format.json: "date-time format" - "all string formats ignore floats" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 186 - format.json: "date-time format" - "all string formats ignore objects" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 187 - format.json: "date-time format" - "all string formats ignore arrays" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 188 - format.json: "date-time format" - "all string formats ignore booleans" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 189 - format.json: "date-time format" - "all string formats ignore nulls" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 190 - format.json: "uri format" - "all string formats ignore integers" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 191 - format.json: "uri format" - "all string formats ignore floats" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 192 - format.json: "uri format" - "all string formats ignore objects" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 193 - format.json: "uri format" - "all string formats ignore arrays" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 194 - format.json: "uri format" - "all string formats ignore booleans" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 195 - format.json: "uri format" - "all string formats ignore nulls" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s # 177s ok 196 - infinite-loop-detection.json: "evaluating the same schema location against the same data location twice is not a sign of an infinite loop" - "passing case" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 197 - infinite-loop-detection.json: "evaluating the same schema location against the same data location twice is not a sign of an infinite loop" - "failing case" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/int/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/properties" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "#/definitions/int/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/allOf/1/additionalProperties/$ref/type" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/1/additionalProperties" 177s # }, 177s # { 177s # "error": "subschemas 0, 1 are not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/int/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/properties" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s # 177s ok 198 - items.json: "a schema given for items" - "valid items" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 199 - items.json: "a schema given for items" - "wrong type of items" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/1", 177s # "keywordLocation": "/items/type" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/items" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/1", 177s # "keywordLocation": "/items/type" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/items" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 200 - items.json: "a schema given for items" - "ignores non-arrays" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 201 - items.json: "a schema given for items" - "JavaScript pseudo-array is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 202 - items.json: "an array of schemas for items" - "correct types" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 203 - items.json: "an array of schemas for items" - "wrong types" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/0", 177s # "keywordLocation": "/items/0/type" 177s # }, 177s # { 177s # "error": "got integer, not string", 177s # "instanceLocation": "/1", 177s # "keywordLocation": "/items/1/type" 177s # }, 177s # { 177s # "error": "not all items are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/items" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/0", 177s # "keywordLocation": "/items/0/type" 177s # }, 177s # { 177s # "error": "not all items are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/items" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 204 - items.json: "an array of schemas for items" - "incomplete array of items" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 205 - items.json: "an array of schemas for items" - "array with additional items" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 206 - items.json: "an array of schemas for items" - "empty array" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 207 - items.json: "an array of schemas for items" - "JavaScript pseudo-array is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 208 - items.json: "items and subitems" - "valid items" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 209 - items.json: "items and subitems" - "too many items" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "additional item not permitted", 177s # "instanceLocation": "/3", 177s # "keywordLocation": "/additionalItems" 177s # }, 177s # { 177s # "error": "subschema is not valid against all additional items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "additional item not permitted", 177s # "instanceLocation": "/3", 177s # "keywordLocation": "/additionalItems" 177s # }, 177s # { 177s # "error": "subschema is not valid against all additional items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 210 - items.json: "items and subitems" - "too many sub-items" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 177s # "error": "additional item not permitted", 177s # "instanceLocation": "/0/2", 177s # "keywordLocation": "/items/0/$ref/additionalItems" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 177s # "error": "subschema is not valid against all additional items", 177s # "instanceLocation": "/0", 177s # "keywordLocation": "/items/0/$ref/additionalItems" 177s # }, 177s # { 177s # "error": "not all items are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/items" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 177s # "error": "additional item not permitted", 177s # "instanceLocation": "/0/2", 177s # "keywordLocation": "/items/0/$ref/additionalItems" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 177s # "error": "subschema is not valid against all additional items", 177s # "instanceLocation": "/0", 177s # "keywordLocation": "/items/0/$ref/additionalItems" 177s # }, 177s # { 177s # "error": "not all items are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/items" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 211 - items.json: "items and subitems" - "wrong item" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/item/type", 177s # "error": "got object, not array", 177s # "instanceLocation": "/0", 177s # "keywordLocation": "/items/0/$ref/type" 177s # }, 177s # { 177s # "error": "not all items are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/items" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/item/type", 177s # "error": "got object, not array", 177s # "instanceLocation": "/0", 177s # "keywordLocation": "/items/0/$ref/type" 177s # }, 177s # { 177s # "error": "not all items are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/items" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 212 - items.json: "items and subitems" - "wrong sub-item" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/sub-item/required", 177s # "error": "object is missing property: foo", 177s # "instanceLocation": "/0/0", 177s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "#/definitions/item/items", 177s # "error": "not all items are valid", 177s # "instanceLocation": "/0", 177s # "keywordLocation": "/items/0/$ref/items" 177s # }, 177s # { 177s # "error": "not all items are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/items" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/sub-item/required", 177s # "error": "object is missing property: foo", 177s # "instanceLocation": "/0/0", 177s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "#/definitions/item/items", 177s # "error": "not all items are valid", 177s # "instanceLocation": "/0", 177s # "keywordLocation": "/items/0/$ref/items" 177s # }, 177s # { 177s # "error": "not all items are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/items" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 213 - items.json: "items and subitems" - "fewer items is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 214 - items.json: "nested items" - "valid nested array" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 215 - items.json: "nested items" - "nested array with invalid type" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not number", 177s # "instanceLocation": "/0/0/0/0", 177s # "keywordLocation": "/items/items/items/items/type" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/0/0/0", 177s # "keywordLocation": "/items/items/items/items" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/0/0", 177s # "keywordLocation": "/items/items/items" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/0", 177s # "keywordLocation": "/items/items" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/items" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not number", 177s # "instanceLocation": "/0/0/0/0", 177s # "keywordLocation": "/items/items/items/items/type" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/0/0/0", 177s # "keywordLocation": "/items/items/items/items" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/0/0", 177s # "keywordLocation": "/items/items/items" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/0", 177s # "keywordLocation": "/items/items" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/items" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 216 - items.json: "nested items" - "not deep enough" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not array", 177s # "instanceLocation": "/0/0/0", 177s # "keywordLocation": "/items/items/items/type" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/0/0", 177s # "keywordLocation": "/items/items/items" 177s # }, 177s # { 177s # "error": "got integer, not array", 177s # "instanceLocation": "/0/1/0", 177s # "keywordLocation": "/items/items/items/type" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/0/1", 177s # "keywordLocation": "/items/items/items" 177s # }, 177s # { 177s # "error": "got integer, not array", 177s # "instanceLocation": "/0/2/0", 177s # "keywordLocation": "/items/items/items/type" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/0/2", 177s # "keywordLocation": "/items/items/items" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/0", 177s # "keywordLocation": "/items/items" 177s # }, 177s # { 177s # "error": "got integer, not array", 177s # "instanceLocation": "/1/0/0", 177s # "keywordLocation": "/items/items/items/type" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/1/0", 177s # "keywordLocation": "/items/items/items" 177s # }, 177s # { 177s # "error": "got integer, not array", 177s # "instanceLocation": "/1/1/0", 177s # "keywordLocation": "/items/items/items/type" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/1/1", 177s # "keywordLocation": "/items/items/items" 177s # }, 177s # { 177s # "error": "got integer, not array", 177s # "instanceLocation": "/1/2/0", 177s # "keywordLocation": "/items/items/items/type" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/1/2", 177s # "keywordLocation": "/items/items/items" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/1", 177s # "keywordLocation": "/items/items" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/items" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not array", 177s # "instanceLocation": "/0/0/0", 177s # "keywordLocation": "/items/items/items/type" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/0/0", 177s # "keywordLocation": "/items/items/items" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/0", 177s # "keywordLocation": "/items/items" 177s # }, 177s # { 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/items" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 217 - items.json: "items with null instance elements" - "allows null elements" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 218 - items.json: "array-form items with null instance elements" - "allows null elements" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s # 177s ok 219 - maxItems.json: "maxItems validation" - "shorter is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 220 - maxItems.json: "maxItems validation" - "exact length is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 221 - maxItems.json: "maxItems validation" - "too long is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "array has more than 2 items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/maxItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "array has more than 2 items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/maxItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 222 - maxItems.json: "maxItems validation" - "ignores non-arrays" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s # 177s ok 223 - maxLength.json: "maxLength validation" - "shorter is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 224 - maxLength.json: "maxLength validation" - "exact length is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 225 - maxLength.json: "maxLength validation" - "too long is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "length is greater than 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/maxLength" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "length is greater than 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/maxLength" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 226 - maxLength.json: "maxLength validation" - "ignores non-strings" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 227 - maxLength.json: "maxLength validation" - "two graphemes is long enough" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s # 177s ok 228 - maxProperties.json: "maxProperties validation" - "shorter is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 229 - maxProperties.json: "maxProperties validation" - "exact length is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 230 - maxProperties.json: "maxProperties validation" - "too long is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object has more than 2 properties", 177s # "instanceLocation": "", 177s # "keywordLocation": "/maxProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object has more than 2 properties", 177s # "instanceLocation": "", 177s # "keywordLocation": "/maxProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 231 - maxProperties.json: "maxProperties validation" - "ignores arrays" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 232 - maxProperties.json: "maxProperties validation" - "ignores strings" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 233 - maxProperties.json: "maxProperties validation" - "ignores other non-objects" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 234 - maxProperties.json: "maxProperties = 0 means the object is empty" - "no properties is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 235 - maxProperties.json: "maxProperties = 0 means the object is empty" - "one property is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object has more than 0 property", 177s # "instanceLocation": "", 177s # "keywordLocation": "/maxProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object has more than 0 property", 177s # "instanceLocation": "", 177s # "keywordLocation": "/maxProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s # 177s ok 236 - maximum.json: "maximum validation" - "below the maximum is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 237 - maximum.json: "maximum validation" - "boundary point is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 238 - maximum.json: "maximum validation" - "above the maximum is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is greater than 3", 177s # "instanceLocation": "", 177s # "keywordLocation": "/maximum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is greater than 3", 177s # "instanceLocation": "", 177s # "keywordLocation": "/maximum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 239 - maximum.json: "maximum validation" - "ignores non-numbers" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 240 - maximum.json: "maximum validation with unsigned integer" - "below the maximum is invalid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 241 - maximum.json: "maximum validation with unsigned integer" - "boundary point integer is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 242 - maximum.json: "maximum validation with unsigned integer" - "boundary point float is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 243 - maximum.json: "maximum validation with unsigned integer" - "above the maximum is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is greater than 300", 177s # "instanceLocation": "", 177s # "keywordLocation": "/maximum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is greater than 300", 177s # "instanceLocation": "", 177s # "keywordLocation": "/maximum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 244 - maximum.json: "maximum validation (explicit false exclusivity)" - "below the maximum is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 245 - maximum.json: "maximum validation (explicit false exclusivity)" - "boundary point is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 246 - maximum.json: "maximum validation (explicit false exclusivity)" - "above the maximum is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is greater than 3", 177s # "instanceLocation": "", 177s # "keywordLocation": "/maximum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is greater than 3", 177s # "instanceLocation": "", 177s # "keywordLocation": "/maximum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 247 - maximum.json: "maximum validation (explicit false exclusivity)" - "ignores non-numbers" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 248 - maximum.json: "exclusiveMaximum validation" - "below the maximum is still valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 249 - maximum.json: "exclusiveMaximum validation" - "boundary point is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is greater than or equal to 3", 177s # "instanceLocation": "", 177s # "keywordLocation": "/maximum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is greater than or equal to 3", 177s # "instanceLocation": "", 177s # "keywordLocation": "/maximum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s # 177s ok 250 - minItems.json: "minItems validation" - "longer is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 251 - minItems.json: "minItems validation" - "exact length is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 252 - minItems.json: "minItems validation" - "too short is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "array has fewer than 1 item", 177s # "instanceLocation": "", 177s # "keywordLocation": "/minItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "array has fewer than 1 item", 177s # "instanceLocation": "", 177s # "keywordLocation": "/minItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 253 - minItems.json: "minItems validation" - "ignores non-arrays" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s # 177s ok 254 - minLength.json: "minLength validation" - "longer is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 255 - minLength.json: "minLength validation" - "exact length is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 256 - minLength.json: "minLength validation" - "too short is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "length is less than 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/minLength" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "length is less than 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/minLength" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 257 - minLength.json: "minLength validation" - "ignores non-strings" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 258 - minLength.json: "minLength validation" - "one grapheme is not long enough" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "length is less than 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/minLength" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "length is less than 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/minLength" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s # 177s ok 259 - minProperties.json: "minProperties validation" - "longer is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 260 - minProperties.json: "minProperties validation" - "exact length is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 261 - minProperties.json: "minProperties validation" - "too short is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object has fewer than 1 property", 177s # "instanceLocation": "", 177s # "keywordLocation": "/minProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object has fewer than 1 property", 177s # "instanceLocation": "", 177s # "keywordLocation": "/minProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 262 - minProperties.json: "minProperties validation" - "ignores arrays" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 263 - minProperties.json: "minProperties validation" - "ignores strings" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 264 - minProperties.json: "minProperties validation" - "ignores other non-objects" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s # 177s ok 265 - minimum.json: "minimum validation" - "above the minimum is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 266 - minimum.json: "minimum validation" - "boundary point is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 267 - minimum.json: "minimum validation" - "below the minimum is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is less than 1.1", 177s # "instanceLocation": "", 177s # "keywordLocation": "/minimum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is less than 1.1", 177s # "instanceLocation": "", 177s # "keywordLocation": "/minimum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 268 - minimum.json: "minimum validation" - "ignores non-numbers" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 269 - minimum.json: "minimum validation (explicit false exclusivity)" - "above the minimum is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 270 - minimum.json: "minimum validation (explicit false exclusivity)" - "boundary point is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 271 - minimum.json: "minimum validation (explicit false exclusivity)" - "below the minimum is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is less than 1.1", 177s # "instanceLocation": "", 177s # "keywordLocation": "/minimum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is less than 1.1", 177s # "instanceLocation": "", 177s # "keywordLocation": "/minimum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 272 - minimum.json: "minimum validation (explicit false exclusivity)" - "ignores non-numbers" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 273 - minimum.json: "exclusiveMinimum validation" - "above the minimum is still valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 274 - minimum.json: "exclusiveMinimum validation" - "boundary point is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is less than or equal to 1.1", 177s # "instanceLocation": "", 177s # "keywordLocation": "/minimum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is less than or equal to 1.1", 177s # "instanceLocation": "", 177s # "keywordLocation": "/minimum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 275 - minimum.json: "minimum validation with signed integer" - "negative above the minimum is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 276 - minimum.json: "minimum validation with signed integer" - "positive above the minimum is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 277 - minimum.json: "minimum validation with signed integer" - "boundary point is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 278 - minimum.json: "minimum validation with signed integer" - "boundary point with float is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 279 - minimum.json: "minimum validation with signed integer" - "float below the minimum is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is less than -2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/minimum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is less than -2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/minimum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 280 - minimum.json: "minimum validation with signed integer" - "int below the minimum is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is less than -2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/minimum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is less than -2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/minimum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 281 - minimum.json: "minimum validation with signed integer" - "ignores non-numbers" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s # 177s ok 282 - multipleOf.json: "by int" - "int by int" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 283 - multipleOf.json: "by int" - "int by int fail" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is not a multiple of 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/multipleOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is not a multiple of 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/multipleOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 284 - multipleOf.json: "by int" - "ignores non-numbers" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 285 - multipleOf.json: "by number" - "zero is multiple of anything" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 286 - multipleOf.json: "by number" - "4.5 is multiple of 1.5" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 287 - multipleOf.json: "by number" - "35 is not multiple of 1.5" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is not a multiple of 1.5", 177s # "instanceLocation": "", 177s # "keywordLocation": "/multipleOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is not a multiple of 1.5", 177s # "instanceLocation": "", 177s # "keywordLocation": "/multipleOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 288 - multipleOf.json: "by small number" - "0.0075 is multiple of 0.0001" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 289 - multipleOf.json: "by small number" - "0.00751 is not multiple of 0.0001" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is not a multiple of 0.0001", 177s # "instanceLocation": "", 177s # "keywordLocation": "/multipleOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is not a multiple of 0.0001", 177s # "instanceLocation": "", 177s # "keywordLocation": "/multipleOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 290 - multipleOf.json: "float division = inf" - "invalid, but naive implementations may raise an overflow error" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got number, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # }, 177s # { 177s # "error": "value is not a multiple of 0.123456789", 177s # "instanceLocation": "", 177s # "keywordLocation": "/multipleOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got number, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 291 - multipleOf.json: "small multiple of large integer" - "any integer is a multiple of 1e-8" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s # 177s ok 292 - not.json: "not" - "allowed" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 293 - not.json: "not" - "disallowed" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 294 - not.json: "not multiple types" - "valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 295 - not.json: "not multiple types" - "mismatch" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 296 - not.json: "not multiple types" - "other mismatch" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 297 - not.json: "not more complex schema" - "match" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 298 - not.json: "not more complex schema" - "other match" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 299 - not.json: "not more complex schema" - "mismatch" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 300 - not.json: "forbidden property" - "property present" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/properties/foo/not" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/properties/foo/not" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 301 - not.json: "forbidden property" - "property absent" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 302 - not.json: "forbid everything with empty schema" - "number is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 303 - not.json: "forbid everything with empty schema" - "string is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 304 - not.json: "forbid everything with empty schema" - "boolean true is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 305 - not.json: "forbid everything with empty schema" - "boolean false is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 306 - not.json: "forbid everything with empty schema" - "null is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 307 - not.json: "forbid everything with empty schema" - "object is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 308 - not.json: "forbid everything with empty schema" - "empty object is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 309 - not.json: "forbid everything with empty schema" - "array is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 310 - not.json: "forbid everything with empty schema" - "empty array is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "subschema is valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/not" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 311 - not.json: "double negation" - "any value is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s # 177s ok 312 - oneOf.json: "oneOf" - "first oneOf valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 313 - oneOf.json: "oneOf" - "second oneOf valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 314 - oneOf.json: "oneOf" - "both oneOf valid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "multiple subschemas are valid: 0, 1", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "multiple subschemas are valid: 0, 1", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 315 - oneOf.json: "oneOf" - "neither oneOf valid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got number, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/0/type" 177s # }, 177s # { 177s # "error": "value is less than 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/1/minimum" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got number, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/0/type" 177s # }, 177s # { 177s # "error": "value is less than 2", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/1/minimum" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 316 - oneOf.json: "oneOf with base schema" - "mismatch base schema" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # }, 177s # { 177s # "error": "multiple subschemas are valid: 0, 1", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 317 - oneOf.json: "oneOf with base schema" - "one oneOf valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 318 - oneOf.json: "oneOf with base schema" - "both oneOf valid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "multiple subschemas are valid: 0, 1", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "multiple subschemas are valid: 0, 1", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 319 - oneOf.json: "oneOf complex types" - "first oneOf valid (complex)" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 320 - oneOf.json: "oneOf complex types" - "second oneOf valid (complex)" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 321 - oneOf.json: "oneOf complex types" - "both oneOf valid (complex)" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "multiple subschemas are valid: 0, 1", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "multiple subschemas are valid: 0, 1", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 322 - oneOf.json: "oneOf complex types" - "neither oneOf valid (complex)" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/bar", 177s # "keywordLocation": "/oneOf/0/properties/bar/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/0/properties" 177s # }, 177s # { 177s # "error": "got integer, not string", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/oneOf/1/properties/foo/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/1/properties" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/bar", 177s # "keywordLocation": "/oneOf/0/properties/bar/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/0/properties" 177s # }, 177s # { 177s # "error": "got integer, not string", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/oneOf/1/properties/foo/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/1/properties" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 323 - oneOf.json: "oneOf with empty schema" - "one valid - valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 324 - oneOf.json: "oneOf with empty schema" - "both valid - invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "multiple subschemas are valid: 0, 1", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "multiple subschemas are valid: 0, 1", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 325 - oneOf.json: "oneOf with required" - "both invalid - invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: foo", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/0/required" 177s # }, 177s # { 177s # "error": "object is missing properties: foo, baz", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/1/required" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: foo", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/0/required" 177s # }, 177s # { 177s # "error": "object is missing properties: foo, baz", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/1/required" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 326 - oneOf.json: "oneOf with required" - "first valid - valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 327 - oneOf.json: "oneOf with required" - "second valid - valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 328 - oneOf.json: "oneOf with required" - "both valid - invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "multiple subschemas are valid: 0, 1", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "multiple subschemas are valid: 0, 1", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 329 - oneOf.json: "oneOf with missing optional property" - "first oneOf valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 330 - oneOf.json: "oneOf with missing optional property" - "second oneOf valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 331 - oneOf.json: "oneOf with missing optional property" - "both oneOf valid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "multiple subschemas are valid: 0, 1", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "multiple subschemas are valid: 0, 1", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 332 - oneOf.json: "oneOf with missing optional property" - "neither oneOf valid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: bar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/0/required" 177s # }, 177s # { 177s # "error": "object is missing property: foo", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/1/required" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: bar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/0/required" 177s # }, 177s # { 177s # "error": "object is missing property: foo", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/1/required" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 333 - oneOf.json: "nested oneOf, to check validation semantics" - "null is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 334 - oneOf.json: "nested oneOf, to check validation semantics" - "anything non-null is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/0/oneOf/0/type" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/0/oneOf" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/0/oneOf/0/type" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf/0/oneOf" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/oneOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s # 177s ok 335 - pattern.json: "pattern validation" - "a matching pattern is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 336 - pattern.json: "pattern validation" - "a non-matching pattern is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 337 - pattern.json: "pattern validation" - "ignores booleans" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 338 - pattern.json: "pattern validation" - "ignores integers" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 339 - pattern.json: "pattern validation" - "ignores floats" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 340 - pattern.json: "pattern validation" - "ignores objects" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 341 - pattern.json: "pattern validation" - "ignores arrays" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 342 - pattern.json: "pattern validation" - "ignores null" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 343 - pattern.json: "pattern is not anchored" - "matches a substring" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s # 177s ok 344 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single valid match is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 345 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple valid matches is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 346 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single invalid match is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/patternProperties/f.*o/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/patternProperties/f.*o/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 347 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple invalid matches is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/patternProperties/f.*o/type" 177s # }, 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/foooooo", 177s # "keywordLocation": "/patternProperties/f.*o/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/patternProperties/f.*o/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 348 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores arrays" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 349 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores strings" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 350 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores other non-objects" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 351 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a single valid match is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 352 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a simultaneous match is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 353 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "multiple matches is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 354 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to one is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/a", 177s # "keywordLocation": "/patternProperties/a*/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/a", 177s # "keywordLocation": "/patternProperties/a*/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 355 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to the other is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is greater than 20", 177s # "instanceLocation": "/aaaa", 177s # "keywordLocation": "/patternProperties/aaa*/maximum" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is greater than 20", 177s # "instanceLocation": "/aaaa", 177s # "keywordLocation": "/patternProperties/aaa*/maximum" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 356 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to both is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/aaa", 177s # "keywordLocation": "/patternProperties/a*/type" 177s # }, 177s # { 177s # "error": "value is greater than 20", 177s # "instanceLocation": "/aaaa", 177s # "keywordLocation": "/patternProperties/aaa*/maximum" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/aaa", 177s # "keywordLocation": "/patternProperties/a*/type" 177s # }, 177s # { 177s # "error": "value is greater than 20", 177s # "instanceLocation": "/aaaa", 177s # "keywordLocation": "/patternProperties/aaa*/maximum" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 357 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "non recognized members are ignored" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 358 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "recognized members are accounted for" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got null, not boolean", 177s # "instanceLocation": "/a31b", 177s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got null, not boolean", 177s # "instanceLocation": "/a31b", 177s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 359 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 360 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive, 2" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not string", 177s # "instanceLocation": "/a_X_3", 177s # "keywordLocation": "/patternProperties/X_/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not string", 177s # "instanceLocation": "/a_X_3", 177s # "keywordLocation": "/patternProperties/X_/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 361 - patternProperties.json: "patternProperties with null valued instance properties" - "allows null values" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s # 177s ok 362 - properties.json: "object properties validation" - "both properties present and valid is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 363 - properties.json: "object properties validation" - "one property invalid is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got object, not string", 177s # "instanceLocation": "/bar", 177s # "keywordLocation": "/properties/bar/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got object, not string", 177s # "instanceLocation": "/bar", 177s # "keywordLocation": "/properties/bar/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 364 - properties.json: "object properties validation" - "both properties invalid is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got object, not string", 177s # "instanceLocation": "/bar", 177s # "keywordLocation": "/properties/bar/type" 177s # }, 177s # { 177s # "error": "got array, not integer", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/properties/foo/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got object, not string", 177s # "instanceLocation": "/bar", 177s # "keywordLocation": "/properties/bar/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 365 - properties.json: "object properties validation" - "doesn't invalidate other properties" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 366 - properties.json: "object properties validation" - "ignores arrays" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 367 - properties.json: "object properties validation" - "ignores other non-objects" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 368 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property validates property" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 369 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property invalidates property" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "array has more than 3 items", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/properties/foo/maxItems" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "array has more than 3 items", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/properties/foo/maxItems" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 370 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates property" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "array has fewer than 2 items", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/patternProperties/f.o/minItems" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "array has fewer than 2 items", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/patternProperties/f.o/minItems" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 371 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty validates nonproperty" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 372 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates nonproperty" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "array has fewer than 2 items", 177s # "instanceLocation": "/fxo", 177s # "keywordLocation": "/patternProperties/f.o/minItems" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "array has fewer than 2 items", 177s # "instanceLocation": "/fxo", 177s # "keywordLocation": "/patternProperties/f.o/minItems" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 373 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty ignores property" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 374 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty validates others" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 375 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty invalidates others" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/quux", 177s # "keywordLocation": "/additionalProperties/type" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/quux", 177s # "keywordLocation": "/additionalProperties/type" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 376 - properties.json: "properties with escaped characters" - "object with all numbers is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 377 - properties.json: "properties with escaped characters" - "object with strings is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not number", 177s # "instanceLocation": "/foo\tbar", 177s # "keywordLocation": "/properties/foo\tbar/type" 177s # }, 177s # { 177s # "error": "got string, not number", 177s # "instanceLocation": "/foo\nbar", 177s # "keywordLocation": "/properties/foo\nbar/type" 177s # }, 177s # { 177s # "error": "got string, not number", 177s # "instanceLocation": "/foo\fbar", 177s # "keywordLocation": "/properties/foo\fbar/type" 177s # }, 177s # { 177s # "error": "got string, not number", 177s # "instanceLocation": "/foo\rbar", 177s # "keywordLocation": "/properties/foo\rbar/type" 177s # }, 177s # { 177s # "error": "got string, not number", 177s # "instanceLocation": "/foo\"bar", 177s # "keywordLocation": "/properties/foo\"bar/type" 177s # }, 177s # { 177s # "error": "got string, not number", 177s # "instanceLocation": "/foo\\bar", 177s # "keywordLocation": "/properties/foo\\bar/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not number", 177s # "instanceLocation": "/foo\tbar", 177s # "keywordLocation": "/properties/foo\tbar/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 378 - properties.json: "properties with null valued instance properties" - "allows null values" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 379 - properties.json: "properties whose names are Javascript object property names" - "ignores arrays" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 380 - properties.json: "properties whose names are Javascript object property names" - "ignores other non-objects" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 381 - properties.json: "properties whose names are Javascript object property names" - "none of the properties mentioned" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 382 - properties.json: "properties whose names are Javascript object property names" - "__proto__ not valid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not number", 177s # "instanceLocation": "/__proto__", 177s # "keywordLocation": "/properties/__proto__/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not number", 177s # "instanceLocation": "/__proto__", 177s # "keywordLocation": "/properties/__proto__/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 383 - properties.json: "properties whose names are Javascript object property names" - "toString not valid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not string", 177s # "instanceLocation": "/toString/length", 177s # "keywordLocation": "/properties/toString/properties/length/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "/toString", 177s # "keywordLocation": "/properties/toString/properties" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not string", 177s # "instanceLocation": "/toString/length", 177s # "keywordLocation": "/properties/toString/properties/length/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "/toString", 177s # "keywordLocation": "/properties/toString/properties" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 384 - properties.json: "properties whose names are Javascript object property names" - "constructor not valid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got object, not number", 177s # "instanceLocation": "/constructor", 177s # "keywordLocation": "/properties/constructor/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got object, not number", 177s # "instanceLocation": "/constructor", 177s # "keywordLocation": "/properties/constructor/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 385 - properties.json: "properties whose names are Javascript object property names" - "all present and valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s # 177s ok 386 - ref.json: "root pointer ref" - "match" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 387 - ref.json: "root pointer ref" - "recursive match" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 388 - ref.json: "root pointer ref" - "mismatch" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/bar", 177s # "keywordLocation": "/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/bar", 177s # "keywordLocation": "/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 389 - ref.json: "root pointer ref" - "recursive mismatch" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/additionalProperties", 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/foo/bar", 177s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "#/additionalProperties", 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/additionalProperties", 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/foo/bar", 177s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "#/additionalProperties", 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 390 - ref.json: "relative pointer ref to object" - "match" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 391 - ref.json: "relative pointer ref to object" - "mismatch" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/properties/foo/type", 177s # "error": "got boolean, not integer", 177s # "instanceLocation": "/bar", 177s # "keywordLocation": "/properties/bar/$ref/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/properties/foo/type", 177s # "error": "got boolean, not integer", 177s # "instanceLocation": "/bar", 177s # "keywordLocation": "/properties/bar/$ref/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 392 - ref.json: "relative pointer ref to array" - "match array" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 393 - ref.json: "relative pointer ref to array" - "mismatch array" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/items/0/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "/1", 177s # "keywordLocation": "/items/1/$ref/type" 177s # }, 177s # { 177s # "error": "not all items are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/items" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/items/0/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "/1", 177s # "keywordLocation": "/items/1/$ref/type" 177s # }, 177s # { 177s # "error": "not all items are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/items" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 394 - ref.json: "escaped pointer ref" - "slash invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/slash~1field/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "/slash", 177s # "keywordLocation": "/properties/slash/$ref/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/slash~1field/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "/slash", 177s # "keywordLocation": "/properties/slash/$ref/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 395 - ref.json: "escaped pointer ref" - "tilde invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/tilde~0field/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "/tilde", 177s # "keywordLocation": "/properties/tilde/$ref/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/tilde~0field/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "/tilde", 177s # "keywordLocation": "/properties/tilde/$ref/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 396 - ref.json: "escaped pointer ref" - "percent invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/percent%25field/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "/percent", 177s # "keywordLocation": "/properties/percent/$ref/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/percent%25field/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "/percent", 177s # "keywordLocation": "/properties/percent/$ref/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 397 - ref.json: "escaped pointer ref" - "slash valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 398 - ref.json: "escaped pointer ref" - "tilde valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 399 - ref.json: "escaped pointer ref" - "percent valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 400 - ref.json: "nested refs" - "nested ref valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 401 - ref.json: "nested refs" - "nested ref invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/a/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/$ref/$ref/$ref/type" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/a/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/$ref/$ref/$ref/type" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 402 - ref.json: "ref overrides any sibling keywords" - "ref valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 403 - ref.json: "ref overrides any sibling keywords" - "ref valid, maxItems ignored" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 404 - ref.json: "ref overrides any sibling keywords" - "ref invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/reffed/type", 177s # "error": "got string, not array", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/properties/foo/$ref/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/reffed/type", 177s # "error": "got string, not array", 177s # "instanceLocation": "/foo", 177s # "keywordLocation": "/properties/foo/$ref/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 405 - ref.json: "$ref prevents a sibling id from changing the base uri" - "$ref resolves to /definitions/base_foo, data does not validate" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/foo.json#/type", 177s # "error": "got string, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/$ref/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/#/allOf", 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/foo.json#/type", 177s # "error": "got string, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/$ref/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/#/allOf", 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 406 - ref.json: "$ref prevents a sibling id from changing the base uri" - "$ref resolves to /definitions/base_foo, data validates" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 407 - ref.json: "remote ref, containing refs itself" - "remote ref valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 408 - ref.json: "remote ref, containing refs itself" - "remote ref invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger/minimum", 177s # "error": "value is less than 0", 177s # "instanceLocation": "/minLength", 177s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf/0/$ref/minimum" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0/allOf", 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "/minLength", 177s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties", 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/$ref/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/definitions/positiveInteger/minimum", 177s # "error": "value is less than 0", 177s # "instanceLocation": "/minLength", 177s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf/0/$ref/minimum" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0/allOf", 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "/minLength", 177s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://json-schema.org/draft-04/schema#/properties", 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/$ref/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 409 - ref.json: "property named $ref that is not a reference" - "property named $ref valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 410 - ref.json: "property named $ref that is not a reference" - "property named $ref invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not string", 177s # "instanceLocation": "/$ref", 177s # "keywordLocation": "/properties/$ref/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not string", 177s # "instanceLocation": "/$ref", 177s # "keywordLocation": "/properties/$ref/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 411 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 412 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/is-string/type", 177s # "error": "got integer, not string", 177s # "instanceLocation": "/$ref", 177s # "keywordLocation": "/properties/$ref/$ref/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/is-string/type", 177s # "error": "got integer, not string", 177s # "instanceLocation": "/$ref", 177s # "keywordLocation": "/properties/$ref/$ref/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 413 - ref.json: "Recursive references between schemas" - "valid tree" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 414 - ref.json: "Recursive references between schemas" - "invalid tree" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties/value/type", 177s # "error": "got string, not number", 177s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 177s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 177s # "error": "not all properties are valid", 177s # "instanceLocation": "/nodes/0/subtree/nodes/0", 177s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/nodes/0/subtree/nodes", 177s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 177s # "error": "not all properties are valid", 177s # "instanceLocation": "/nodes/0/subtree", 177s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 177s # "error": "not all properties are valid", 177s # "instanceLocation": "/nodes/0", 177s # "keywordLocation": "/properties/nodes/items/$ref/properties" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/nodes", 177s # "keywordLocation": "/properties/nodes/items" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties/value/type", 177s # "error": "got string, not number", 177s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 177s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 177s # "error": "not all properties are valid", 177s # "instanceLocation": "/nodes/0/subtree/nodes/0", 177s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/nodes/0/subtree/nodes", 177s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 177s # "error": "not all properties are valid", 177s # "instanceLocation": "/nodes/0/subtree", 177s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 177s # "error": "not all properties are valid", 177s # "instanceLocation": "/nodes/0", 177s # "keywordLocation": "/properties/nodes/items/$ref/properties" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/nodes", 177s # "keywordLocation": "/properties/nodes/items" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 415 - ref.json: "refs with quote" - "object with numbers is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 416 - ref.json: "refs with quote" - "object with strings is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/foo%22bar/type", 177s # "error": "got string, not number", 177s # "instanceLocation": "/foo\"bar", 177s # "keywordLocation": "/properties/foo\"bar/$ref/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/foo%22bar/type", 177s # "error": "got string, not number", 177s # "instanceLocation": "/foo\"bar", 177s # "keywordLocation": "/properties/foo\"bar/$ref/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 417 - ref.json: "Location-independent identifier" - "match" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 418 - ref.json: "Location-independent identifier" - "mismatch" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/A/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/$ref/type" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/A/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/$ref/type" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 419 - ref.json: "Location-independent identifier with base URI change in subschema" - "match" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 420 - ref.json: "Location-independent identifier with base URI change in subschema" - "mismatch" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/nested.json#/definitions/B/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/$ref/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/root#/allOf", 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/nested.json#/definitions/B/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/$ref/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/root#/allOf", 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 421 - ref.json: "naive replacement of $ref with its destination is not correct" - "do not evaluate the $ref inside the enum, matching any string" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/enum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 422 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 423 - ref.json: "id must be resolved against nearest parent, not just immediate parent" - "number is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 424 - ref.json: "id must be resolved against nearest parent, not just immediate parent" - "non-number is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 177s # "error": "got string, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/$ref/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 177s # "error": "got string, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/$ref/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 425 - ref.json: "id with file URI still resolves pointers - *nix" - "number is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 426 - ref.json: "id with file URI still resolves pointers - *nix" - "non-number is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "file:///folder/file.json#/definitions/foo/type", 177s # "error": "got string, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/$ref/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "file:///folder/file.json#/allOf", 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "file:///folder/file.json#/definitions/foo/type", 177s # "error": "got string, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/$ref/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "file:///folder/file.json#/allOf", 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 427 - ref.json: "id with file URI still resolves pointers - windows" - "number is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 428 - ref.json: "id with file URI still resolves pointers - windows" - "non-number is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/definitions/foo/type", 177s # "error": "got string, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/$ref/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/allOf", 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/definitions/foo/type", 177s # "error": "got string, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/$ref/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/allOf", 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 429 - ref.json: "empty tokens in $ref json-pointer" - "number is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 430 - ref.json: "empty tokens in $ref json-pointer" - "non-number is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions//definitions//type", 177s # "error": "got string, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/$ref/type" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions//definitions//type", 177s # "error": "got string, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf/0/$ref/type" 177s # }, 177s # { 177s # "error": "subschema 0 is not valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/allOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s # 177s ok 431 - refRemote.json: "remote ref" - "remote ref valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 432 - refRemote.json: "remote ref" - "remote ref invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/$ref/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/$ref/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 433 - refRemote.json: "fragment within remote ref" - "remote fragment valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 434 - refRemote.json: "fragment within remote ref" - "remote fragment invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/$ref/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/$ref/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 435 - refRemote.json: "ref within remote ref" - "ref within ref valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 436 - refRemote.json: "ref within remote ref" - "ref within ref invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/$ref/$ref/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/$ref/$ref/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 437 - refRemote.json: "base URI change" - "base URI change ref valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 438 - refRemote.json: "base URI change" - "base URI change ref invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "/0/0", 177s # "keywordLocation": "/items/items/$ref/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChange/#/items", 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/0", 177s # "keywordLocation": "/items/items" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/#/items", 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/items" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "/0/0", 177s # "keywordLocation": "/items/items/$ref/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChange/#/items", 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/0", 177s # "keywordLocation": "/items/items" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/#/items", 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/items" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 439 - refRemote.json: "base URI change - change folder" - "number is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 440 - refRemote.json: "base URI change - change folder" - "string is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "/list/0", 177s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolder/#/items", 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/list", 177s # "keywordLocation": "/properties/list/$ref/items" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs1.json#/properties", 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "/list/0", 177s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolder/#/items", 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/list", 177s # "keywordLocation": "/properties/list/$ref/items" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs1.json#/properties", 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 441 - refRemote.json: "base URI change - change folder in subschema" - "number is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 442 - refRemote.json: "base URI change - change folder in subschema" - "string is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "/list/0", 177s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/list", 177s # "keywordLocation": "/properties/list/$ref/items" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs2.json#/properties", 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "/list/0", 177s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 177s # "error": "subschema is not valid against all items", 177s # "instanceLocation": "/list", 177s # "keywordLocation": "/properties/list/$ref/items" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs2.json#/properties", 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 443 - refRemote.json: "root ref in remote ref" - "string is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 444 - refRemote.json: "root ref in remote ref" - "null is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 445 - refRemote.json: "root ref in remote ref" - "object is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf/0/type", 177s # "error": "got object, not null", 177s # "instanceLocation": "/name", 177s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/type", 177s # "error": "got object, not string", 177s # "instanceLocation": "/name", 177s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf", 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "/name", 177s # "keywordLocation": "/properties/name/$ref/anyOf" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/object#/properties", 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf/0/type", 177s # "error": "got object, not null", 177s # "instanceLocation": "/name", 177s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/type", 177s # "error": "got object, not string", 177s # "instanceLocation": "/name", 177s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf", 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "/name", 177s # "keywordLocation": "/properties/name/$ref/anyOf" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/object#/properties", 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/properties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 446 - refRemote.json: "Location-independent identifier in remote ref" - "integer is valid" { # TODO Test marked TODO via "todo_tests" 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true # 177s 1..1 177s } 177s ok 447 - refRemote.json: "Location-independent identifier in remote ref" - "string is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/locationIndependentIdentifierDraft4.json#/definitions/A/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/$ref/$ref/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/locationIndependentIdentifierDraft4.json#/definitions/A/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/$ref/$ref/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s # 177s ok 448 - required.json: "required validation" - "present required property is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 449 - required.json: "required validation" - "non-present required property is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: foo", 177s # "instanceLocation": "", 177s # "keywordLocation": "/required" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing property: foo", 177s # "instanceLocation": "", 177s # "keywordLocation": "/required" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 450 - required.json: "required validation" - "ignores arrays" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 451 - required.json: "required validation" - "ignores strings" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 452 - required.json: "required validation" - "ignores other non-objects" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 453 - required.json: "required default validation" - "not required by default" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 454 - required.json: "required with escaped characters" - "object with all properties present is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 455 - required.json: "required with escaped characters" - "object with some properties missing is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/required" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 177s # "instanceLocation": "", 177s # "keywordLocation": "/required" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 456 - required.json: "required properties whose names are Javascript object property names" - "ignores arrays" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 457 - required.json: "required properties whose names are Javascript object property names" - "ignores other non-objects" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 458 - required.json: "required properties whose names are Javascript object property names" - "none of the properties mentioned" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing properties: __proto__, toString, constructor", 177s # "instanceLocation": "", 177s # "keywordLocation": "/required" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing properties: __proto__, toString, constructor", 177s # "instanceLocation": "", 177s # "keywordLocation": "/required" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 459 - required.json: "required properties whose names are Javascript object property names" - "__proto__ present" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing properties: toString, constructor", 177s # "instanceLocation": "", 177s # "keywordLocation": "/required" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing properties: toString, constructor", 177s # "instanceLocation": "", 177s # "keywordLocation": "/required" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 460 - required.json: "required properties whose names are Javascript object property names" - "toString present" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing properties: __proto__, constructor", 177s # "instanceLocation": "", 177s # "keywordLocation": "/required" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing properties: __proto__, constructor", 177s # "instanceLocation": "", 177s # "keywordLocation": "/required" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 461 - required.json: "required properties whose names are Javascript object property names" - "constructor present" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing properties: __proto__, toString", 177s # "instanceLocation": "", 177s # "keywordLocation": "/required" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "object is missing properties: __proto__, toString", 177s # "instanceLocation": "", 177s # "keywordLocation": "/required" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 462 - required.json: "required properties whose names are Javascript object property names" - "all present" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s # 177s ok 463 - type.json: "integer type matches integers" - "an integer is an integer" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 464 - type.json: "integer type matches integers" - "a float is not an integer" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got number, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got number, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 465 - type.json: "integer type matches integers" - "a string is not an integer" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 466 - type.json: "integer type matches integers" - "a string is still not an integer, even if it looks like one" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got string, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 467 - type.json: "integer type matches integers" - "an object is not an integer" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got object, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got object, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 468 - type.json: "integer type matches integers" - "an array is not an integer" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got array, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got array, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 469 - type.json: "integer type matches integers" - "a boolean is not an integer" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got boolean, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got boolean, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 470 - type.json: "integer type matches integers" - "null is not an integer" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got null, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got null, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 471 - type.json: "number type matches numbers" - "an integer is a number" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 472 - type.json: "number type matches numbers" - "a float with zero fractional part is a number" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 473 - type.json: "number type matches numbers" - "a float is a number" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 474 - type.json: "number type matches numbers" - "a string is not a number" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 475 - type.json: "number type matches numbers" - "a string is still not a number, even if it looks like one" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 476 - type.json: "number type matches numbers" - "an object is not a number" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got object, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got object, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 477 - type.json: "number type matches numbers" - "an array is not a number" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got array, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got array, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 478 - type.json: "number type matches numbers" - "a boolean is not a number" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got boolean, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got boolean, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 479 - type.json: "number type matches numbers" - "null is not a number" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got null, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got null, not number", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 480 - type.json: "string type matches strings" - "1 is not a string" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 177s # "error": "got integer, not string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 177s # "error": "got integer, not string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 481 - type.json: "string type matches strings" - "a float is not a string" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 177s # "error": "got number, not string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 177s # "error": "got number, not string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 482 - type.json: "string type matches strings" - "a string is a string" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 483 - type.json: "string type matches strings" - "a string is still a string, even if it looks like a number" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 484 - type.json: "string type matches strings" - "an empty string is still a string" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 485 - type.json: "string type matches strings" - "an object is not a string" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 177s # "error": "got object, not string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 177s # "error": "got object, not string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 486 - type.json: "string type matches strings" - "an array is not a string" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 177s # "error": "got array, not string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 177s # "error": "got array, not string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 487 - type.json: "string type matches strings" - "a boolean is not a string" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 177s # "error": "got boolean, not string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 177s # "error": "got boolean, not string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 488 - type.json: "string type matches strings" - "null is not a string" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 177s # "error": "got null, not string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 177s # "error": "got null, not string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 489 - type.json: "object type matches objects" - "an integer is not an object" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not object", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not object", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 490 - type.json: "object type matches objects" - "a float is not an object" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got number, not object", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got number, not object", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 491 - type.json: "object type matches objects" - "a string is not an object" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not object", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not object", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 492 - type.json: "object type matches objects" - "an object is an object" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 493 - type.json: "object type matches objects" - "an array is not an object" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got array, not object", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got array, not object", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 494 - type.json: "object type matches objects" - "a boolean is not an object" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got boolean, not object", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got boolean, not object", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 495 - type.json: "object type matches objects" - "null is not an object" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got null, not object", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got null, not object", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 496 - type.json: "array type matches arrays" - "an integer is not an array" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not array", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not array", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 497 - type.json: "array type matches arrays" - "a float is not an array" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got number, not array", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got number, not array", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 498 - type.json: "array type matches arrays" - "a string is not an array" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not array", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not array", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 499 - type.json: "array type matches arrays" - "an object is not an array" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got object, not array", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got object, not array", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 500 - type.json: "array type matches arrays" - "an array is an array" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 501 - type.json: "array type matches arrays" - "a boolean is not an array" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got boolean, not array", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got boolean, not array", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 502 - type.json: "array type matches arrays" - "null is not an array" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got null, not array", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got null, not array", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 503 - type.json: "boolean type matches booleans" - "an integer is not a boolean" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not boolean", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not boolean", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 504 - type.json: "boolean type matches booleans" - "zero is not a boolean" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not boolean", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not boolean", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 505 - type.json: "boolean type matches booleans" - "a float is not a boolean" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got number, not boolean", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got number, not boolean", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 506 - type.json: "boolean type matches booleans" - "a string is not a boolean" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not boolean", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not boolean", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 507 - type.json: "boolean type matches booleans" - "an empty string is not a boolean" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not boolean", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not boolean", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 508 - type.json: "boolean type matches booleans" - "an object is not a boolean" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got object, not boolean", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got object, not boolean", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 509 - type.json: "boolean type matches booleans" - "an array is not a boolean" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got array, not boolean", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got array, not boolean", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 510 - type.json: "boolean type matches booleans" - "true is a boolean" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 511 - type.json: "boolean type matches booleans" - "false is a boolean" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 512 - type.json: "boolean type matches booleans" - "null is not a boolean" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got null, not boolean", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got null, not boolean", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 513 - type.json: "null type matches only the null object" - "an integer is not null" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 514 - type.json: "null type matches only the null object" - "a float is not null" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got number, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got number, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 515 - type.json: "null type matches only the null object" - "zero is not null" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 516 - type.json: "null type matches only the null object" - "a string is not null" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 517 - type.json: "null type matches only the null object" - "an empty string is not null" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 518 - type.json: "null type matches only the null object" - "an object is not null" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got object, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got object, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 519 - type.json: "null type matches only the null object" - "an array is not null" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got array, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got array, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 520 - type.json: "null type matches only the null object" - "true is not null" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got boolean, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got boolean, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 521 - type.json: "null type matches only the null object" - "false is not null" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got boolean, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got boolean, not null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 522 - type.json: "null type matches only the null object" - "null is null" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 523 - type.json: "multiple types can be specified in an array" - "an integer is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 524 - type.json: "multiple types can be specified in an array" - "a string is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 525 - type.json: "multiple types can be specified in an array" - "a float is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got number, not one of integer, string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got number, not one of integer, string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 526 - type.json: "multiple types can be specified in an array" - "an object is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got object, not one of integer, string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got object, not one of integer, string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 527 - type.json: "multiple types can be specified in an array" - "an array is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got array, not one of integer, string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got array, not one of integer, string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 528 - type.json: "multiple types can be specified in an array" - "a boolean is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got boolean, not one of integer, string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got boolean, not one of integer, string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 529 - type.json: "multiple types can be specified in an array" - "null is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got null, not one of integer, string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got null, not one of integer, string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 530 - type.json: "type as array with one item" - "string is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 531 - type.json: "type as array with one item" - "number is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not one of string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not one of string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 532 - type.json: "type: array or object" - "array is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 533 - type.json: "type: array or object" - "object is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 534 - type.json: "type: array or object" - "number is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not one of array, object", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not one of array, object", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 535 - type.json: "type: array or object" - "string is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not one of array, object", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not one of array, object", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 536 - type.json: "type: array or object" - "null is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got null, not one of array, object", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got null, not one of array, object", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 537 - type.json: "type: array, object or null" - "array is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 538 - type.json: "type: array, object or null" - "object is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 539 - type.json: "type: array, object or null" - "null is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 540 - type.json: "type: array, object or null" - "number is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not one of array, object, null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got integer, not one of array, object, null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 541 - type.json: "type: array, object or null" - "string is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not one of array, object, null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not one of array, object, null", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s # 177s ok 542 - uniqueItems.json: "uniqueItems validation" - "unique array of integers is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 543 - uniqueItems.json: "uniqueItems validation" - "non-unique array of integers is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 544 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two integers is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 2 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 2 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 545 - uniqueItems.json: "uniqueItems validation" - "numbers are unique if mathematically unequal" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 546 - uniqueItems.json: "uniqueItems validation" - "false is not equal to zero" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 547 - uniqueItems.json: "uniqueItems validation" - "true is not equal to one" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 548 - uniqueItems.json: "uniqueItems validation" - "unique array of strings is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 549 - uniqueItems.json: "uniqueItems validation" - "non-unique array of strings is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 2 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 2 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 550 - uniqueItems.json: "uniqueItems validation" - "unique array of objects is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 551 - uniqueItems.json: "uniqueItems validation" - "non-unique array of objects is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 552 - uniqueItems.json: "uniqueItems validation" - "property order of array of objects is ignored" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 553 - uniqueItems.json: "uniqueItems validation" - "unique array of nested objects is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 554 - uniqueItems.json: "uniqueItems validation" - "non-unique array of nested objects is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 555 - uniqueItems.json: "uniqueItems validation" - "unique array of arrays is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 556 - uniqueItems.json: "uniqueItems validation" - "non-unique array of arrays is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 557 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two arrays is invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 2 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 2 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 558 - uniqueItems.json: "uniqueItems validation" - "1 and true are unique" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 559 - uniqueItems.json: "uniqueItems validation" - "0 and false are unique" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 560 - uniqueItems.json: "uniqueItems validation" - "[1] and [true] are unique" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 561 - uniqueItems.json: "uniqueItems validation" - "[0] and [false] are unique" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 562 - uniqueItems.json: "uniqueItems validation" - "nested [1] and [true] are unique" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 563 - uniqueItems.json: "uniqueItems validation" - "nested [0] and [false] are unique" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 564 - uniqueItems.json: "uniqueItems validation" - "unique heterogeneous types are valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 565 - uniqueItems.json: "uniqueItems validation" - "non-unique heterogeneous types are invalid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 4 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 4 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 566 - uniqueItems.json: "uniqueItems validation" - "different objects are unique" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 567 - uniqueItems.json: "uniqueItems validation" - "objects are non-unique despite key order" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 568 - uniqueItems.json: "uniqueItems validation" - "{"a": false} and {"a": 0} are unique" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 569 - uniqueItems.json: "uniqueItems validation" - "{"a": true} and {"a": 1} are unique" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 570 - uniqueItems.json: "uniqueItems with an array of items" - "[false, true] from items array is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 571 - uniqueItems.json: "uniqueItems with an array of items" - "[true, false] from items array is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 572 - uniqueItems.json: "uniqueItems with an array of items" - "[false, false] from items array is not valid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 573 - uniqueItems.json: "uniqueItems with an array of items" - "[true, true] from items array is not valid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 574 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [false, true] is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 575 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [true, false] is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 576 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [false, true] is not valid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 2 and 3 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 2 and 3 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 577 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [true, false] is not valid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 2 and 3 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 2 and 3 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 578 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 579 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 580 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, false] from items array is not valid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 581 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, true] from items array is not valid" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "items at indices 0 and 1 are not unique", 177s # "instanceLocation": "", 177s # "keywordLocation": "/uniqueItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 582 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "additional item not permitted", 177s # "instanceLocation": "/2", 177s # "keywordLocation": "/additionalItems" 177s # }, 177s # { 177s # "error": "subschema is not valid against all additional items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "additional item not permitted", 177s # "instanceLocation": "/2", 177s # "keywordLocation": "/additionalItems" 177s # }, 177s # { 177s # "error": "subschema is not valid against all additional items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 583 - uniqueItems.json: "uniqueItems=false validation" - "unique array of integers is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 584 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of integers is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 585 - uniqueItems.json: "uniqueItems=false validation" - "numbers are unique if mathematically unequal" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 586 - uniqueItems.json: "uniqueItems=false validation" - "false is not equal to zero" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 587 - uniqueItems.json: "uniqueItems=false validation" - "true is not equal to one" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 588 - uniqueItems.json: "uniqueItems=false validation" - "unique array of objects is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 589 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of objects is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 590 - uniqueItems.json: "uniqueItems=false validation" - "unique array of nested objects is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 591 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of nested objects is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 592 - uniqueItems.json: "uniqueItems=false validation" - "unique array of arrays is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 593 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of arrays is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 594 - uniqueItems.json: "uniqueItems=false validation" - "1 and true are unique" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 595 - uniqueItems.json: "uniqueItems=false validation" - "0 and false are unique" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 596 - uniqueItems.json: "uniqueItems=false validation" - "unique heterogeneous types are valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 597 - uniqueItems.json: "uniqueItems=false validation" - "non-unique heterogeneous types are valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 598 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, true] from items array is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 599 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, false] from items array is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 600 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, false] from items array is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 601 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, true] from items array is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 602 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [false, true] is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 603 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [true, false] is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 604 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [false, true] is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 605 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [true, false] is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 606 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 607 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 608 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, false] from items array is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 609 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, true] from items array is valid" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 610 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "additional item not permitted", 177s # "instanceLocation": "/2", 177s # "keywordLocation": "/additionalItems" 177s # }, 177s # { 177s # "error": "subschema is not valid against all additional items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "additional item not permitted", 177s # "instanceLocation": "/2", 177s # "keywordLocation": "/additionalItems" 177s # }, 177s # { 177s # "error": "subschema is not valid against all additional items", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalItems" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s # 177s ok 611 - optional/bignum.json: "integer" - "a bignum is an integer" { # TODO Test marked TODO via "todo_tests" 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got number, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got number, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s not ok 1 - evaluation result is incorrect # 177s # Failed test (with amnesty) 'evaluation result is incorrect' 177s # at t/zzz-acceptance-draft4.t line 49. 177s # expected true; got false 177s # data: "12345678910111213141516171819202122232425262728293031" 177s # schema: "{\"type\":\"integer\"}" 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got number, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s 1..1 177s } 177s ok 612 - optional/bignum.json: "integer" - "a negative bignum is an integer" { # TODO Test marked TODO via "todo_tests" 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got number, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got number, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s not ok 1 - evaluation result is incorrect # 177s # Failed test (with amnesty) 'evaluation result is incorrect' 177s # at t/zzz-acceptance-draft4.t line 49. 177s # expected true; got false 177s # data: "-12345678910111213141516171819202122232425262728293031" 177s # schema: "{\"type\":\"integer\"}" 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got number, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s 1..1 177s } 177s ok 613 - optional/bignum.json: "number" - "a bignum is a number" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 614 - optional/bignum.json: "number" - "a negative bignum is a number" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 615 - optional/bignum.json: "string" - "a bignum is not a string" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 177s # "error": "got number, not string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 177s # "error": "got number, not string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 616 - optional/bignum.json: "maximum integer comparison" - "comparison works for high numbers" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 617 - optional/bignum.json: "float comparison with high precision" - "comparison works for high numbers" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 177s # "instanceLocation": "", 177s # "keywordLocation": "/maximum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 177s # "instanceLocation": "", 177s # "keywordLocation": "/maximum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 618 - optional/bignum.json: "minimum integer comparison" - "comparison works for very negative numbers" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 619 - optional/bignum.json: "float comparison with high precision on negative numbers" - "comparison works for very negative numbers" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 177s # "instanceLocation": "", 177s # "keywordLocation": "/minimum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 177s # "instanceLocation": "", 177s # "keywordLocation": "/minimum" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s # 177s ok 620 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches in Python, but not in ECMA 262" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 621 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 622 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "does not match" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 623 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "matches" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 624 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "does not match" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 625 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "matches" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 626 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "does not match" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 627 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "matches" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 628 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "ASCII zero matches" { # TODO Test marked TODO via "todo_tests" 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true # 177s 1..1 177s } 177s ok 629 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "NKO DIGIT ZERO does not match (unlike e.g. Python)" { # TODO Test marked TODO via "todo_tests" 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s not ok 1 - evaluation result is incorrect # 177s # Failed test (with amnesty) 'evaluation result is incorrect' 177s # at t/zzz-acceptance-draft4.t line 49. 177s # expected false; got true 177s # data: "\"߀\"" 177s # schema: "{\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 177s # result: { 177s # "valid": true 177s # } 177s 1..1 177s } 177s ok 630 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "NKO DIGIT ZERO (as \u escape) does not match" { # TODO Test marked TODO via "todo_tests" 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s not ok 1 - evaluation result is incorrect # 177s # Failed test (with amnesty) 'evaluation result is incorrect' 177s # at t/zzz-acceptance-draft4.t line 49. 177s # expected false; got true 177s # data: "\"߀\"" 177s # schema: "{\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 177s # result: { 177s # "valid": true 177s # } 177s 1..1 177s } 177s ok 631 - optional/ecmascript-regex.json: "ECMA 262 \D matches everything but ascii digits" - "ASCII zero does not match" { # TODO Test marked TODO via "todo_tests" 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false # 177s 1..1 177s } 177s ok 632 - optional/ecmascript-regex.json: "ECMA 262 \D matches everything but ascii digits" - "NKO DIGIT ZERO matches (unlike e.g. Python)" { # TODO Test marked TODO via "todo_tests" 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s not ok 1 - evaluation result is incorrect # 177s # Failed test (with amnesty) 'evaluation result is incorrect' 177s # at t/zzz-acceptance-draft4.t line 49. 177s # expected true; got false 177s # data: "\"߀\"" 177s # schema: "{\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s 1..1 177s } 177s ok 633 - optional/ecmascript-regex.json: "ECMA 262 \D matches everything but ascii digits" - "NKO DIGIT ZERO (as \u escape) matches" { # TODO Test marked TODO via "todo_tests" 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s not ok 1 - evaluation result is incorrect # 177s # Failed test (with amnesty) 'evaluation result is incorrect' 177s # at t/zzz-acceptance-draft4.t line 49. 177s # expected true; got false 177s # data: "\"߀\"" 177s # schema: "{\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s 1..1 177s } 177s ok 634 - optional/ecmascript-regex.json: "ECMA 262 \w matches ascii letters only" - "ASCII 'a' matches" { # TODO Test marked TODO via "todo_tests" 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true # 177s 1..1 177s } 177s ok 635 - optional/ecmascript-regex.json: "ECMA 262 \w matches ascii letters only" - "latin-1 e-acute does not match (unlike e.g. Python)" { # TODO Test marked TODO via "todo_tests" 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s not ok 1 - evaluation result is incorrect # 177s # Failed test (with amnesty) 'evaluation result is incorrect' 177s # at t/zzz-acceptance-draft4.t line 49. 177s # expected false; got true 177s # data: "\"é\"" 177s # schema: "{\"pattern\":\"^\\\\w$\",\"type\":\"string\"}" 177s # result: { 177s # "valid": true 177s # } 177s 1..1 177s } 177s ok 636 - optional/ecmascript-regex.json: "ECMA 262 \W matches everything but ascii letters" - "ASCII 'a' does not match" { # TODO Test marked TODO via "todo_tests" 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false # 177s 1..1 177s } 177s ok 637 - optional/ecmascript-regex.json: "ECMA 262 \W matches everything but ascii letters" - "latin-1 e-acute matches (unlike e.g. Python)" { # TODO Test marked TODO via "todo_tests" 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s not ok 1 - evaluation result is incorrect # 177s # Failed test (with amnesty) 'evaluation result is incorrect' 177s # at t/zzz-acceptance-draft4.t line 49. 177s # expected true; got false 177s # data: "\"é\"" 177s # schema: "{\"pattern\":\"^\\\\W$\",\"type\":\"string\"}" 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s 1..1 177s } 177s ok 638 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "ASCII space matches" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 639 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Character tabulation matches" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 640 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Line tabulation matches" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 641 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Form feed matches" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 642 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "latin-1 non-breaking-space matches" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 643 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "zero-width whitespace matches" { # TODO Test marked TODO via "todo_tests" 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s not ok 1 - evaluation result is incorrect # 177s # Failed test (with amnesty) 'evaluation result is incorrect' 177s # at t/zzz-acceptance-draft4.t line 49. 177s # expected true; got false 177s # data: "\"\"" 177s # schema: "{\"pattern\":\"^\\\\s$\",\"type\":\"string\"}" 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s 1..1 177s } 177s ok 644 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "line feed matches (line terminator)" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 645 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "paragraph separator matches (line terminator)" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 646 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "EM SPACE matches (Space_Separator)" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 647 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace control does not match" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 648 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace does not match" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 649 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "ASCII space does not match" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 650 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Character tabulation does not match" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 651 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Line tabulation does not match" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 652 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Form feed does not match" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 653 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "latin-1 non-breaking-space does not match" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 654 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "zero-width whitespace does not match" { # TODO Test marked TODO via "todo_tests" 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s not ok 1 - evaluation result is incorrect # 177s # Failed test (with amnesty) 'evaluation result is incorrect' 177s # at t/zzz-acceptance-draft4.t line 49. 177s # expected false; got true 177s # data: "\"\"" 177s # schema: "{\"pattern\":\"^\\\\S$\",\"type\":\"string\"}" 177s # result: { 177s # "valid": true 177s # } 177s 1..1 177s } 177s ok 655 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "line feed does not match (line terminator)" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 656 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "paragraph separator does not match (line terminator)" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 657 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "EM SPACE does not match (Space_Separator)" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 658 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace control matches" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 659 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace matches" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 660 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "ascii character in json string" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 661 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "literal unicode character in json string" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 662 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode character in hex format in string" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 663 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode matching is case-sensitive" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 664 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 665 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "literal unicode character in json string" { # TODO Test marked TODO via "todo_tests" 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s not ok 1 - evaluation result is incorrect # 177s # Failed test (with amnesty) 'evaluation result is incorrect' 177s # at t/zzz-acceptance-draft4.t line 49. 177s # expected false; got true 177s # data: "\"Les hivers de mon enfance étaient des saisons longues, longues. Nous vivions en trois lieux: l'école, l'église et la patinoire; mais la vraie vie était sur la patinoire.\"" 177s # schema: "{\"pattern\":\"\\\\wcole\"}" 177s # result: { 177s # "valid": true 177s # } 177s 1..1 177s } 177s ok 666 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "unicode character in hex format in string" { # TODO Test marked TODO via "todo_tests" 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s not ok 1 - evaluation result is incorrect # 177s # Failed test (with amnesty) 'evaluation result is incorrect' 177s # at t/zzz-acceptance-draft4.t line 49. 177s # expected false; got true 177s # data: "\"Les hivers de mon enfance étaient des saisons longues, longues. Nous vivions en trois lieux: l'école, l'église et la patinoire; mais la vraie vie était sur la patinoire.\"" 177s # schema: "{\"pattern\":\"\\\\wcole\"}" 177s # result: { 177s # "valid": true 177s # } 177s 1..1 177s } 177s ok 667 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 668 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "literal unicode character in json string" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 669 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "unicode character in hex format in string" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 670 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "ascii characters match" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 671 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii digits" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 672 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii non-digits" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 673 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { # TODO Test marked TODO via "todo_tests" 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s not ok 1 - evaluation result is incorrect # 177s # Failed test (with amnesty) 'evaluation result is incorrect' 177s # at t/zzz-acceptance-draft4.t line 49. 177s # expected false; got true 177s # data: "\"৪২\"" 177s # schema: "{\"pattern\":\"^\\\\d+$\"}" 177s # result: { 177s # "valid": true 177s # } 177s 1..1 177s } 177s ok 674 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii digits" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 675 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii non-digits" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 676 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 677 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "ascii character in json string" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 678 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "literal unicode character in json string" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 679 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode character in hex format in string" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 680 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode matching is case-sensitive" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/L'ÉCOLE", 177s # "keywordLocation": "/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/L'ÉCOLE", 177s # "keywordLocation": "/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 681 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 682 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "literal unicode character in json string" { # TODO Test marked TODO via "todo_tests" 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s not ok 1 - evaluation result is incorrect # 177s # Failed test (with amnesty) 'evaluation result is incorrect' 177s # at t/zzz-acceptance-draft4.t line 49. 177s # expected false; got true 177s # data: "{\"l'école\":\"pas de vraie vie\"}" 177s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":{}},\"type\":\"object\"}" 177s # result: { 177s # "valid": true 177s # } 177s 1..1 177s } 177s ok 683 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "unicode character in hex format in string" { # TODO Test marked TODO via "todo_tests" 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s not ok 1 - evaluation result is incorrect # 177s # Failed test (with amnesty) 'evaluation result is incorrect' 177s # at t/zzz-acceptance-draft4.t line 49. 177s # expected false; got true 177s # data: "{\"l'école\":\"pas de vraie vie\"}" 177s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":{}},\"type\":\"object\"}" 177s # result: { 177s # "valid": true 177s # } 177s 1..1 177s } 177s ok 684 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/L'ÉCOLE", 177s # "keywordLocation": "/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/L'ÉCOLE", 177s # "keywordLocation": "/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 685 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "literal unicode character in json string" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/l'école", 177s # "keywordLocation": "/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/l'école", 177s # "keywordLocation": "/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 686 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "unicode character in hex format in string" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/l'école", 177s # "keywordLocation": "/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/l'école", 177s # "keywordLocation": "/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 687 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "ascii characters match" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 688 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii digits" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 689 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii non-digits" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/-%#", 177s # "keywordLocation": "/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/-%#", 177s # "keywordLocation": "/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 690 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { # TODO Test marked TODO via "todo_tests" 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s not ok 1 - evaluation result is incorrect # 177s # Failed test (with amnesty) 'evaluation result is incorrect' 177s # at t/zzz-acceptance-draft4.t line 49. 177s # expected false; got true 177s # data: "{\"৪২\":\"khajit has wares if you have coin\"}" 177s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"^\\\\d+$\":{}},\"type\":\"object\"}" 177s # result: { 177s # "valid": true 177s # } 177s 1..1 177s } 177s ok 691 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii digits" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 692 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii non-digits" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/-%#", 177s # "keywordLocation": "/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "additional property not permitted", 177s # "instanceLocation": "/-%#", 177s # "keywordLocation": "/additionalProperties" 177s # }, 177s # { 177s # "error": "not all additional properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/additionalProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 693 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s # 177s ok 694 - optional/float-overflow.json: "all integers are multiples of 0.5, if overflow is handled" - "valid if optional overflow handling is implemented" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s # 177s ok 695 - optional/id.json: "id inside an enum is not a real identifier" - "exact match to enum, and type matches" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 696 - optional/id.json: "id inside an enum is not a real identifier" - "match $ref to id" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 697 - optional/id.json: "id inside an enum is not a real identifier" - "no match on enum or $ref to id" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/id_in_enum/enum", 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/0/$ref/enum" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "https://localhost:1234/my_identifier.json#/type", 177s # "error": "got integer, not string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/1/$ref/type" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "#/definitions/id_in_enum/enum", 177s # "error": "value does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/0/$ref/enum" 177s # }, 177s # { 177s # "absoluteKeywordLocation": "https://localhost:1234/my_identifier.json#/type", 177s # "error": "got integer, not string", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf/1/$ref/type" 177s # }, 177s # { 177s # "error": "no subschemas are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/anyOf" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s # 177s ok 698 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches empty" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 699 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches single" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 700 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches two" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 701 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 702 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 703 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one ASCII" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 704 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two ASCII" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "pattern does not match", 177s # "instanceLocation": "", 177s # "keywordLocation": "/pattern" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 705 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches empty" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 706 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches single" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 707 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches two" { 177s # result: { 177s # "valid": true 177s # } 177s # short-circuited result: { 177s # "valid": true 177s # } 177s ok 1 - test passes: data is valid: true 177s 1..1 177s } 177s ok 708 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match one" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/🐲", 177s # "keywordLocation": "/patternProperties/^🐲*$/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/🐲", 177s # "keywordLocation": "/patternProperties/^🐲*$/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s ok 709 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match two" { 177s # result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/🐲🐲", 177s # "keywordLocation": "/patternProperties/^🐲*$/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "error": "got string, not integer", 177s # "instanceLocation": "/🐲🐲", 177s # "keywordLocation": "/patternProperties/^🐲*$/type" 177s # }, 177s # { 177s # "error": "not all properties are valid", 177s # "instanceLocation": "", 177s # "keywordLocation": "/patternProperties" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s # 177s ok 710 - optional/zeroTerminatedFloats.json: "some languages do not distinguish between different types of numeric value" - "a float is not an integer even without fractional part" { 177s # result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got number, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s # short-circuited result: { 177s # "errors": [ 177s # { 177s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 177s # "error": "got number, not integer", 177s # "instanceLocation": "", 177s # "keywordLocation": "/type" 177s # } 177s # ], 177s # "valid": false 177s # } 177s ok 1 - test passes: data is valid: false 177s 1..1 177s } 177s # 177s # 177s # generated with: Test::JSON::Schema::Acceptance 1.026 177s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 177s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 177s # specification version: draft4 177s # optional tests included: yes 177s # skipping directory: optional/format 177s # 177s # filename pass todo-fail fail 177s # --------------------------------------------------------------- 177s # additionalItems.json 18 0 0 177s # additionalProperties.json 16 0 0 177s # allOf.json 27 0 0 177s # anyOf.json 15 0 0 177s # default.json 7 0 0 177s # definitions.json 2 0 0 177s # dependencies.json 29 0 0 177s # enum.json 45 0 0 177s # format.json 36 0 0 177s # infinite-loop-detection.json 2 0 0 177s # items.json 21 0 0 177s # maxItems.json 4 0 0 177s # maxLength.json 5 0 0 177s # maxProperties.json 8 0 0 177s # maximum.json 14 0 0 177s # minItems.json 4 0 0 177s # minLength.json 5 0 0 177s # minProperties.json 6 0 0 177s # minimum.json 17 0 0 177s # multipleOf.json 10 0 0 177s # not.json 20 0 0 177s # oneOf.json 23 0 0 177s # pattern.json 9 0 0 177s # patternProperties.json 18 0 0 177s # properties.json 24 0 0 177s # ref.json 45 0 0 177s # refRemote.json 17 0 0 177s # required.json 15 0 0 177s # type.json 79 0 0 177s # uniqueItems.json 69 0 0 177s # optional/bignum.json 7 2 0 177s # optional/ecmascript-regex.json 60 14 0 177s # optional/float-overflow.json 1 0 0 177s # optional/id.json 3 0 0 177s # optional/non-bmp-regex.json 12 0 0 177s # optional/zeroTerminatedFloats.json 1 0 0 177s # --------------------------------------------------------------- 177s # TOTAL 694 16 0 177s # 177s # Congratulations, all non-optional tests are passing! 177s # 177s ok 711 - no leaks in the main evaluator object 177s ok 712 - no leaks in the short-circuiting evaluator object 177s 1..712 177s ok 178s t/zzz-acceptance-draft6-format.t ........ 178s # AUTHOR_TESTING: 178s # AUTOMATED_TESTING: 1 178s # EXTENDED_TESTING: 178s # NO_TODO: 178s # TEST_DIR: 178s # NO_SHORT_CIRCUIT: 178s # 178s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft6/optional/format against draft6... 178s # 178s ok 1 - date-time.json: "validation of date-time strings" - "all string formats ignore integers" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 2 - date-time.json: "validation of date-time strings" - "all string formats ignore floats" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 3 - date-time.json: "validation of date-time strings" - "all string formats ignore objects" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 4 - date-time.json: "validation of date-time strings" - "all string formats ignore arrays" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 5 - date-time.json: "validation of date-time strings" - "all string formats ignore booleans" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 6 - date-time.json: "validation of date-time strings" - "all string formats ignore nulls" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 7 - date-time.json: "validation of date-time strings" - "a valid date-time string" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 8 - date-time.json: "validation of date-time strings" - "a valid date-time string without second fraction" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 9 - date-time.json: "validation of date-time strings" - "a valid date-time string with plus offset" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 10 - date-time.json: "validation of date-time strings" - "a valid date-time string with minus offset" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 11 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, UTC" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 12 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, with minus offset" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 13 - date-time.json: "validation of date-time strings" - "an invalid date-time past leap second, UTC" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 14 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong minute, UTC" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 15 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong hour, UTC" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 16 - date-time.json: "validation of date-time strings" - "an invalid day in date-time string" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 17 - date-time.json: "validation of date-time strings" - "an invalid offset in date-time string" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 18 - date-time.json: "validation of date-time strings" - "an invalid closing Z after time-zone offset" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 19 - date-time.json: "validation of date-time strings" - "an invalid date-time string" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 20 - date-time.json: "validation of date-time strings" - "case-insensitive T and Z" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 21 - date-time.json: "validation of date-time strings" - "only RFC3339 not all of ISO 8601 are valid" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 22 - date-time.json: "validation of date-time strings" - "invalid non-padded month dates" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 23 - date-time.json: "validation of date-time strings" - "invalid non-padded day dates" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 24 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in date portion" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 25 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in time portion" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid date-time", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s # 178s ok 26 - email.json: "validation of e-mail addresses" - "all string formats ignore integers" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 27 - email.json: "validation of e-mail addresses" - "all string formats ignore floats" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 28 - email.json: "validation of e-mail addresses" - "all string formats ignore objects" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 29 - email.json: "validation of e-mail addresses" - "all string formats ignore arrays" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 30 - email.json: "validation of e-mail addresses" - "all string formats ignore booleans" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 31 - email.json: "validation of e-mail addresses" - "all string formats ignore nulls" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 32 - email.json: "validation of e-mail addresses" - "a valid e-mail address" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 33 - email.json: "validation of e-mail addresses" - "an invalid e-mail address" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid email", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid email", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 34 - email.json: "validation of e-mail addresses" - "tilde in local part is valid" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 35 - email.json: "validation of e-mail addresses" - "tilde before local part is valid" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 36 - email.json: "validation of e-mail addresses" - "tilde after local part is valid" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 37 - email.json: "validation of e-mail addresses" - "dot before local part is not valid" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid email", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid email", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 38 - email.json: "validation of e-mail addresses" - "dot after local part is not valid" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid email", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid email", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 39 - email.json: "validation of e-mail addresses" - "two separated dots inside local part are valid" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 40 - email.json: "validation of e-mail addresses" - "two subsequent dots inside local part are not valid" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid email", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid email", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s # 178s ok 41 - hostname.json: "validation of host names" - "all string formats ignore integers" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 42 - hostname.json: "validation of host names" - "all string formats ignore floats" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 43 - hostname.json: "validation of host names" - "all string formats ignore objects" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 44 - hostname.json: "validation of host names" - "all string formats ignore arrays" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 45 - hostname.json: "validation of host names" - "all string formats ignore booleans" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 46 - hostname.json: "validation of host names" - "all string formats ignore nulls" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 47 - hostname.json: "validation of host names" - "a valid host name" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 48 - hostname.json: "validation of host names" - "a valid punycoded IDN hostname" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 49 - hostname.json: "validation of host names" - "a host name starting with an illegal character" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 50 - hostname.json: "validation of host names" - "a host name containing illegal characters" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 51 - hostname.json: "validation of host names" - "a host name with a component too long" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 52 - hostname.json: "validation of host names" - "starts with hyphen" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 53 - hostname.json: "validation of host names" - "ends with hyphen" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 54 - hostname.json: "validation of host names" - "starts with underscore" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 55 - hostname.json: "validation of host names" - "ends with underscore" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 56 - hostname.json: "validation of host names" - "contains underscore" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 57 - hostname.json: "validation of host names" - "maximum label length" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 58 - hostname.json: "validation of host names" - "exceeds maximum label length" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 59 - hostname.json: "validation of host names" - "single label" { # TODO Test marked TODO via "todo_tests" 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s not ok 1 - evaluation result is incorrect # 178s # Failed test (with amnesty) 'evaluation result is incorrect' 178s # at t/zzz-acceptance-draft6-format.t line 66. 178s # expected true; got false 178s # data: "\"hostname\"" 178s # schema: "{\"format\":\"hostname\"}" 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s 1..1 178s } 178s ok 60 - hostname.json: "validation of host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s not ok 1 - evaluation result is incorrect # 178s # Failed test (with amnesty) 'evaluation result is incorrect' 178s # at t/zzz-acceptance-draft6-format.t line 66. 178s # expected true; got false 178s # data: "\"host-name\"" 178s # schema: "{\"format\":\"hostname\"}" 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s 1..1 178s } 178s ok 61 - hostname.json: "validation of host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s not ok 1 - evaluation result is incorrect # 178s # Failed test (with amnesty) 'evaluation result is incorrect' 178s # at t/zzz-acceptance-draft6-format.t line 66. 178s # expected true; got false 178s # data: "\"h0stn4me\"" 178s # schema: "{\"format\":\"hostname\"}" 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s 1..1 178s } 178s ok 62 - hostname.json: "validation of host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s not ok 1 - evaluation result is incorrect # 178s # Failed test (with amnesty) 'evaluation result is incorrect' 178s # at t/zzz-acceptance-draft6-format.t line 66. 178s # expected true; got false 178s # data: "\"hostnam3\"" 178s # schema: "{\"format\":\"hostname\"}" 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid hostname", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s 1..1 178s } 178s # 178s ok 63 - ipv4.json: "validation of IP addresses" - "all string formats ignore integers" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 64 - ipv4.json: "validation of IP addresses" - "all string formats ignore floats" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 65 - ipv4.json: "validation of IP addresses" - "all string formats ignore objects" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 66 - ipv4.json: "validation of IP addresses" - "all string formats ignore arrays" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 67 - ipv4.json: "validation of IP addresses" - "all string formats ignore booleans" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 68 - ipv4.json: "validation of IP addresses" - "all string formats ignore nulls" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 69 - ipv4.json: "validation of IP addresses" - "a valid IP address" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 70 - ipv4.json: "validation of IP addresses" - "an IP address with too many components" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv4", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv4", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 71 - ipv4.json: "validation of IP addresses" - "an IP address with out-of-range values" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv4", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv4", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 72 - ipv4.json: "validation of IP addresses" - "an IP address without 4 components" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv4", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv4", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 73 - ipv4.json: "validation of IP addresses" - "an IP address as an integer" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv4", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv4", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 74 - ipv4.json: "validation of IP addresses" - "an IP address as an integer (decimal)" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv4", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv4", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 75 - ipv4.json: "validation of IP addresses" - "invalid leading zeroes, as they are treated as octals" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv4", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv4", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 76 - ipv4.json: "validation of IP addresses" - "value without leading zero is valid" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 77 - ipv4.json: "validation of IP addresses" - "invalid non-ASCII '২' (a Bengali 2)" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv4", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv4", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 78 - ipv4.json: "validation of IP addresses" - "netmask is not a part of ipv4 address" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv4", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv4", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s # 178s ok 79 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore integers" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 80 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore floats" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 81 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore objects" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 82 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore arrays" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 83 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore booleans" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 84 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore nulls" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 85 - ipv6.json: "validation of IPv6 addresses" - "a valid IPv6 address" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 86 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with out-of-range values" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 87 - ipv6.json: "validation of IPv6 addresses" - "trailing 4 hex symbols is valid" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 88 - ipv6.json: "validation of IPv6 addresses" - "trailing 5 hex symbols is invalid" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 89 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with too many components" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 90 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address containing illegal characters" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 91 - ipv6.json: "validation of IPv6 addresses" - "no digits is valid" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 92 - ipv6.json: "validation of IPv6 addresses" - "leading colons is valid" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 93 - ipv6.json: "validation of IPv6 addresses" - "trailing colons is valid" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 94 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet is invalid" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 95 - ipv6.json: "validation of IPv6 addresses" - "missing trailing octet is invalid" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 96 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet with omitted octets later" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 97 - ipv6.json: "validation of IPv6 addresses" - "single set of double colons in the middle is valid" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 98 - ipv6.json: "validation of IPv6 addresses" - "two sets of double colons is invalid" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 99 - ipv6.json: "validation of IPv6 addresses" - "mixed format with the ipv4 section as decimal octets" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 100 - ipv6.json: "validation of IPv6 addresses" - "mixed format with double colons between the sections" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 101 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with octet out of range" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 102 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with a hex octet" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 103 - ipv6.json: "validation of IPv6 addresses" - "mixed format with leading double colons (ipv4-mapped ipv6 address)" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 104 - ipv6.json: "validation of IPv6 addresses" - "triple colons is invalid" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 105 - ipv6.json: "validation of IPv6 addresses" - "8 octets" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 106 - ipv6.json: "validation of IPv6 addresses" - "insufficient octets without double colons" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 107 - ipv6.json: "validation of IPv6 addresses" - "no colons is invalid" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 108 - ipv6.json: "validation of IPv6 addresses" - "ipv4 is not ipv6" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 109 - ipv6.json: "validation of IPv6 addresses" - "ipv4 segment must have 4 octets" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 110 - ipv6.json: "validation of IPv6 addresses" - "leading whitespace is invalid" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 111 - ipv6.json: "validation of IPv6 addresses" - "trailing whitespace is invalid" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 112 - ipv6.json: "validation of IPv6 addresses" - "netmask is not a part of ipv6 address" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 113 - ipv6.json: "validation of IPv6 addresses" - "zone id is not a part of ipv6 address" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 114 - ipv6.json: "validation of IPv6 addresses" - "a long valid ipv6" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 115 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, first" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 116 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, second" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 117 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4)" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 118 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4) in the IPv4 portion" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid ipv6", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s # 178s ok 119 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore integers" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 120 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore floats" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 121 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore objects" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 122 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore arrays" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 123 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore booleans" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 124 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore nulls" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 125 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "a valid JSON-pointer" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 126 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (~ not escaped)" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 127 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with empty segment" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 128 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with the last empty segment" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 129 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#1" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 130 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#2" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 131 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#3" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 132 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#4" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 133 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#5" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 134 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#6" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 135 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#7" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 136 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#8" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 137 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#9" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 138 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#10" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 139 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#11" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 140 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#12" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 141 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer used adding to the last array position" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 142 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (- used as object member name)" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 143 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (multiple escaped characters)" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 144 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#1" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 145 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#2" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 146 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#1" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 147 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#2" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 148 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#3" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 149 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#1" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 150 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#2" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 151 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#1" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 152 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#2" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 153 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (multiple characters not escaped)" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 154 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#1" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 155 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#2" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 156 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#3" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid json-pointer", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s # 178s ok 157 - unknown.json: "unknown format" - "unknown formats ignore integers" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 158 - unknown.json: "unknown format" - "unknown formats ignore floats" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 159 - unknown.json: "unknown format" - "unknown formats ignore objects" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 160 - unknown.json: "unknown format" - "unknown formats ignore arrays" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 161 - unknown.json: "unknown format" - "unknown formats ignore booleans" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 162 - unknown.json: "unknown format" - "unknown formats ignore nulls" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 163 - unknown.json: "unknown format" - "unknown formats ignore strings" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s # 178s ok 164 - uri-reference.json: "validation of URI References" - "all string formats ignore integers" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 165 - uri-reference.json: "validation of URI References" - "all string formats ignore floats" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 166 - uri-reference.json: "validation of URI References" - "all string formats ignore objects" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 167 - uri-reference.json: "validation of URI References" - "all string formats ignore arrays" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 168 - uri-reference.json: "validation of URI References" - "all string formats ignore booleans" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 169 - uri-reference.json: "validation of URI References" - "all string formats ignore nulls" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 170 - uri-reference.json: "validation of URI References" - "a valid URI" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 171 - uri-reference.json: "validation of URI References" - "a valid protocol-relative URI Reference" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 172 - uri-reference.json: "validation of URI References" - "a valid relative URI Reference" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 173 - uri-reference.json: "validation of URI References" - "an invalid URI Reference" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid uri-reference", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid uri-reference", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 174 - uri-reference.json: "validation of URI References" - "a valid URI Reference" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 175 - uri-reference.json: "validation of URI References" - "a valid URI fragment" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 176 - uri-reference.json: "validation of URI References" - "an invalid URI fragment" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid uri-reference", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid uri-reference", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s # 178s ok 177 - uri-template.json: "format: uri-template" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true # 178s 1..1 178s } 178s ok 178 - uri-template.json: "format: uri-template" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true # 178s 1..1 178s } 178s ok 179 - uri-template.json: "format: uri-template" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true # 178s 1..1 178s } 178s ok 180 - uri-template.json: "format: uri-template" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true # 178s 1..1 178s } 178s ok 181 - uri-template.json: "format: uri-template" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true # 178s 1..1 178s } 178s ok 182 - uri-template.json: "format: uri-template" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true # 178s 1..1 178s } 178s ok 183 - uri-template.json: "format: uri-template" - "a valid uri-template" { # TODO Test marked TODO via "todo_tests" 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true # 178s 1..1 178s } 178s ok 184 - uri-template.json: "format: uri-template" - "an invalid uri-template" { # TODO Test marked TODO via "todo_tests" 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s not ok 1 - evaluation result is incorrect # 178s # Failed test (with amnesty) 'evaluation result is incorrect' 178s # at t/zzz-acceptance-draft6-format.t line 66. 178s # expected false; got true 178s # data: "\"http://example.com/dictionary/{term:1}/{term\"" 178s # schema: "{\"format\":\"uri-template\"}" 178s # result: { 178s # "valid": true 178s # } 178s 1..1 178s } 178s ok 185 - uri-template.json: "format: uri-template" - "a valid uri-template without variables" { # TODO Test marked TODO via "todo_tests" 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true # 178s 1..1 178s } 178s ok 186 - uri-template.json: "format: uri-template" - "a valid relative uri-template" { # TODO Test marked TODO via "todo_tests" 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true # 178s 1..1 178s } 178s # 178s ok 187 - uri.json: "validation of URIs" - "all string formats ignore integers" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 188 - uri.json: "validation of URIs" - "all string formats ignore floats" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 189 - uri.json: "validation of URIs" - "all string formats ignore objects" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 190 - uri.json: "validation of URIs" - "all string formats ignore arrays" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 191 - uri.json: "validation of URIs" - "all string formats ignore booleans" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 192 - uri.json: "validation of URIs" - "all string formats ignore nulls" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 193 - uri.json: "validation of URIs" - "a valid URL with anchor tag" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 194 - uri.json: "validation of URIs" - "a valid URL with anchor tag and parentheses" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 195 - uri.json: "validation of URIs" - "a valid URL with URL-encoded stuff" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 196 - uri.json: "validation of URIs" - "a valid puny-coded URL " { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 197 - uri.json: "validation of URIs" - "a valid URL with many special characters" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 198 - uri.json: "validation of URIs" - "a valid URL based on IPv4" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 199 - uri.json: "validation of URIs" - "a valid URL with ftp scheme" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 200 - uri.json: "validation of URIs" - "a valid URL for a simple text file" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 201 - uri.json: "validation of URIs" - "a valid URL " { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 202 - uri.json: "validation of URIs" - "a valid mailto URI" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 203 - uri.json: "validation of URIs" - "a valid newsgroup URI" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 204 - uri.json: "validation of URIs" - "a valid tel URI" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 205 - uri.json: "validation of URIs" - "a valid URN" { 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s ok 1 - test passes: data is valid: true 178s 1..1 178s } 178s ok 206 - uri.json: "validation of URIs" - "an invalid protocol-relative URI Reference" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid uri", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid uri", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 207 - uri.json: "validation of URIs" - "an invalid relative URI Reference" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid uri", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid uri", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 208 - uri.json: "validation of URIs" - "an invalid URI" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid uri", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid uri", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 209 - uri.json: "validation of URIs" - "an invalid URI though valid URI reference" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid uri", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid uri", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 210 - uri.json: "validation of URIs" - "an invalid URI with spaces" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid uri", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid uri", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 211 - uri.json: "validation of URIs" - "an invalid URI with spaces and missing scheme" { 178s # result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid uri", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s # short-circuited result: { 178s # "errors": [ 178s # { 178s # "error": "not a valid uri", 178s # "instanceLocation": "", 178s # "keywordLocation": "/format" 178s # } 178s # ], 178s # "valid": false 178s # } 178s ok 1 - test passes: data is valid: false 178s 1..1 178s } 178s ok 212 - uri.json: "validation of URIs" - "an invalid URI with comma in scheme" { # TODO Test marked TODO via "todo_tests" 178s # result: { 178s # "valid": true 178s # } 178s # short-circuited result: { 178s # "valid": true 178s # } 178s not ok 1 - evaluation result is incorrect # 178s # Failed test (with amnesty) 'evaluation result is incorrect' 178s # at t/zzz-acceptance-draft6-format.t line 66. 178s # expected false; got true 178s # data: "\"bar,baz:foo\"" 178s # schema: "{\"format\":\"uri\"}" 178s # result: { 178s # "valid": true 178s # } 178s 1..1 178s } 178s # 178s # 178s # generated with: Test::JSON::Schema::Acceptance 1.026 178s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 178s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 178s # specification version: draft6 178s # using custom test directory: /optional/format 178s # optional tests included: yes 178s # 178s # filename pass todo-fail fail 178s # --------------------------------------------------------------- 178s # date-time.json 25 0 0 178s # email.json 15 0 0 178s # hostname.json 18 4 0 178s # ipv4.json 16 0 0 178s # ipv6.json 40 0 0 178s # json-pointer.json 38 0 0 178s # unknown.json 7 0 0 178s # uri-reference.json 13 0 0 178s # uri-template.json 9 1 0 178s # uri.json 25 1 0 178s # --------------------------------------------------------------- 178s # TOTAL 206 6 0 178s # 178s # Congratulations, all non-optional tests are passing! 178s # 178s ok 213 - no leaks in the main evaluator object 178s ok 214 - no leaks in the short-circuiting evaluator object 178s 1..214 178s ok 181s t/zzz-acceptance-draft6.t ............... 181s # AUTHOR_TESTING: 181s # AUTOMATED_TESTING: 1 181s # EXTENDED_TESTING: 181s # NO_TODO: 181s # TEST_DIR: 181s # NO_SHORT_CIRCUIT: 181s # 181s # adding resources from /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/remotes with the base URI "http://localhost:1234"... 181s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft6 against draft6... 181s # 181s ok 1 - additionalItems.json: "additionalItems as schema" - "additional items match schema" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 2 - additionalItems.json: "additionalItems as schema" - "additional items do not match schema" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/3", 181s # "keywordLocation": "/additionalItems/type" 181s # }, 181s # { 181s # "error": "subschema is not valid against all additional items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/3", 181s # "keywordLocation": "/additionalItems/type" 181s # }, 181s # { 181s # "error": "subschema is not valid against all additional items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 3 - additionalItems.json: "when items is schema, additionalItems does nothing" - "valid with a array of type integers" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 4 - additionalItems.json: "when items is schema, additionalItems does nothing" - "invalid with a array of mixed types" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/items/type" 181s # }, 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/2", 181s # "keywordLocation": "/items/type" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/items/type" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 5 - additionalItems.json: "when items is schema, boolean additionalItems does nothing" - "all items match schema" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 6 - additionalItems.json: "array of items with no additionalItems permitted" - "empty array" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 7 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (1)" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 8 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (2)" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 9 - additionalItems.json: "array of items with no additionalItems permitted" - "equal number of items present" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 10 - additionalItems.json: "array of items with no additionalItems permitted" - "additional items are not permitted" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "additional item not permitted", 181s # "instanceLocation": "/3", 181s # "keywordLocation": "/additionalItems" 181s # }, 181s # { 181s # "error": "subschema is not valid against all additional items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "additional item not permitted", 181s # "instanceLocation": "/3", 181s # "keywordLocation": "/additionalItems" 181s # }, 181s # { 181s # "error": "subschema is not valid against all additional items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 11 - additionalItems.json: "additionalItems as false without items" - "items defaults to empty schema so everything is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 12 - additionalItems.json: "additionalItems as false without items" - "ignores non-arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 13 - additionalItems.json: "additionalItems are allowed by default" - "only the first item is validated" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 14 - additionalItems.json: "additionalItems does not look in applicators, valid case" - "items defined in allOf are not examined" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 15 - additionalItems.json: "additionalItems does not look in applicators, invalid case" - "items defined in allOf are not examined" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not boolean", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/additionalItems/type" 181s # }, 181s # { 181s # "error": "subschema is not valid against all additional items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not boolean", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/additionalItems/type" 181s # }, 181s # { 181s # "error": "subschema is not valid against all additional items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 16 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "valid items" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 17 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "wrong type of second item" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/additionalItems/type" 181s # }, 181s # { 181s # "error": "subschema is not valid against all additional items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/additionalItems/type" 181s # }, 181s # { 181s # "error": "subschema is not valid against all additional items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 18 - additionalItems.json: "additionalItems with heterogeneous array" - "heterogeneous invalid instance" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "additional item not permitted", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/additionalItems" 181s # }, 181s # { 181s # "error": "additional item not permitted", 181s # "instanceLocation": "/2", 181s # "keywordLocation": "/additionalItems" 181s # }, 181s # { 181s # "error": "subschema is not valid against all additional items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "additional item not permitted", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/additionalItems" 181s # }, 181s # { 181s # "error": "subschema is not valid against all additional items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 19 - additionalItems.json: "additionalItems with heterogeneous array" - "valid instance" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 20 - additionalItems.json: "additionalItems with null instance elements" - "allows null elements" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s # 181s ok 21 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "no additional properties is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 22 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "an additional property is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/quux", 181s # "keywordLocation": "/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/quux", 181s # "keywordLocation": "/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 23 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 24 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores strings" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 25 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores other non-objects" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 26 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "patternProperties are not additional properties" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 27 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "matching the pattern is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 28 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "not matching the pattern is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/élmény", 181s # "keywordLocation": "/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/élmény", 181s # "keywordLocation": "/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 29 - additionalProperties.json: "additionalProperties with schema" - "no additional properties is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 30 - additionalProperties.json: "additionalProperties with schema" - "an additional valid property is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 31 - additionalProperties.json: "additionalProperties with schema" - "an additional invalid property is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not boolean", 181s # "instanceLocation": "/quux", 181s # "keywordLocation": "/additionalProperties/type" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not boolean", 181s # "instanceLocation": "/quux", 181s # "keywordLocation": "/additionalProperties/type" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 32 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional valid property is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 33 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional invalid property is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not boolean", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/additionalProperties/type" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not boolean", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/additionalProperties/type" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 34 - additionalProperties.json: "additionalProperties are allowed by default" - "additional properties are allowed" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 35 - additionalProperties.json: "additionalProperties does not look in applicators" - "properties defined in allOf are not examined" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not boolean", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/additionalProperties/type" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not boolean", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/additionalProperties/type" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 36 - additionalProperties.json: "additionalProperties with null valued instance properties" - "allows null values" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s # 181s ok 37 - allOf.json: "allOf" - "allOf" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 38 - allOf.json: "allOf" - "mismatch second" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: bar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/required" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: bar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/required" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 39 - allOf.json: "allOf" - "mismatch first" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: foo", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/1/required" 181s # }, 181s # { 181s # "error": "subschema 1 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: foo", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/1/required" 181s # }, 181s # { 181s # "error": "subschema 1 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 40 - allOf.json: "allOf" - "wrong type" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/allOf/0/properties/bar/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/properties" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/allOf/0/properties/bar/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/properties" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 41 - allOf.json: "allOf with base schema" - "valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 42 - allOf.json: "allOf with base schema" - "mismatch base schema" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: bar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/required" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: bar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/required" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 43 - allOf.json: "allOf with base schema" - "mismatch first allOf" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: foo", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/required" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: foo", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/required" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 44 - allOf.json: "allOf with base schema" - "mismatch second allOf" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: baz", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/1/required" 181s # }, 181s # { 181s # "error": "subschema 1 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: baz", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/1/required" 181s # }, 181s # { 181s # "error": "subschema 1 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 45 - allOf.json: "allOf with base schema" - "mismatch both" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: foo", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/required" 181s # }, 181s # { 181s # "error": "object is missing property: baz", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/1/required" 181s # }, 181s # { 181s # "error": "subschemas 0, 1 are not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: foo", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/required" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 46 - allOf.json: "allOf simple types" - "valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 47 - allOf.json: "allOf simple types" - "mismatch one" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is greater than 30", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/maximum" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is greater than 30", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/maximum" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 48 - allOf.json: "allOf with boolean schemas, all true" - "any value is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 49 - allOf.json: "allOf with boolean schemas, some false" - "any value is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/1" 181s # }, 181s # { 181s # "error": "subschema 1 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/1" 181s # }, 181s # { 181s # "error": "subschema 1 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 50 - allOf.json: "allOf with boolean schemas, all false" - "any value is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0" 181s # }, 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/1" 181s # }, 181s # { 181s # "error": "subschemas 0, 1 are not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 51 - allOf.json: "allOf with one empty schema" - "any data is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 52 - allOf.json: "allOf with two empty schemas" - "any data is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 53 - allOf.json: "allOf with the first empty schema" - "number is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 54 - allOf.json: "allOf with the first empty schema" - "string is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/1/type" 181s # }, 181s # { 181s # "error": "subschema 1 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/1/type" 181s # }, 181s # { 181s # "error": "subschema 1 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 55 - allOf.json: "allOf with the last empty schema" - "number is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 56 - allOf.json: "allOf with the last empty schema" - "string is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/type" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/type" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 57 - allOf.json: "nested allOf, to check validation semantics" - "null is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 58 - allOf.json: "nested allOf, to check validation semantics" - "anything non-null is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/allOf/0/type" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/allOf" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/allOf/0/type" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/allOf" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 59 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: false" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/multipleOf" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # }, 181s # { 181s # "error": "value is not a multiple of 3", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/multipleOf" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # }, 181s # { 181s # "error": "value is not a multiple of 5", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0/multipleOf" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/multipleOf" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 60 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: true" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/multipleOf" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # }, 181s # { 181s # "error": "value is not a multiple of 3", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/multipleOf" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/multipleOf" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 61 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: false" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/multipleOf" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # }, 181s # { 181s # "error": "value is not a multiple of 5", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0/multipleOf" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/multipleOf" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 62 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: true" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/multipleOf" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/multipleOf" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 63 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: false" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 3", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/multipleOf" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # }, 181s # { 181s # "error": "value is not a multiple of 5", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0/multipleOf" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 3", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/multipleOf" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 64 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: true" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 3", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/multipleOf" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 3", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/multipleOf" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 65 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: false" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 5", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0/multipleOf" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 5", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0/multipleOf" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 66 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: true" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s # 181s ok 67 - anyOf.json: "anyOf" - "first anyOf valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 68 - anyOf.json: "anyOf" - "second anyOf valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 69 - anyOf.json: "anyOf" - "both anyOf valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 70 - anyOf.json: "anyOf" - "neither anyOf valid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got number, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/type" 181s # }, 181s # { 181s # "error": "value is less than 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/1/minimum" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got number, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/type" 181s # }, 181s # { 181s # "error": "value is less than 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/1/minimum" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 71 - anyOf.json: "anyOf with base schema" - "mismatch base schema" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 72 - anyOf.json: "anyOf with base schema" - "one anyOf valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 73 - anyOf.json: "anyOf with base schema" - "both anyOf invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "length is greater than 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/maxLength" 181s # }, 181s # { 181s # "error": "length is less than 4", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/1/minLength" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "length is greater than 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/maxLength" 181s # }, 181s # { 181s # "error": "length is less than 4", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/1/minLength" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 74 - anyOf.json: "anyOf with boolean schemas, all true" - "any value is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 75 - anyOf.json: "anyOf with boolean schemas, some true" - "any value is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 76 - anyOf.json: "anyOf with boolean schemas, all false" - "any value is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0" 181s # }, 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/1" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0" 181s # }, 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/1" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 77 - anyOf.json: "anyOf complex types" - "first anyOf valid (complex)" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 78 - anyOf.json: "anyOf complex types" - "second anyOf valid (complex)" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 79 - anyOf.json: "anyOf complex types" - "both anyOf valid (complex)" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 80 - anyOf.json: "anyOf complex types" - "neither anyOf valid (complex)" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/anyOf/0/properties/bar/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/properties" 181s # }, 181s # { 181s # "error": "got integer, not string", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/anyOf/1/properties/foo/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/1/properties" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/anyOf/0/properties/bar/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/properties" 181s # }, 181s # { 181s # "error": "got integer, not string", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/anyOf/1/properties/foo/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/1/properties" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 81 - anyOf.json: "anyOf with one empty schema" - "string is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 82 - anyOf.json: "anyOf with one empty schema" - "number is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 83 - anyOf.json: "nested anyOf, to check validation semantics" - "null is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 84 - anyOf.json: "nested anyOf, to check validation semantics" - "anything non-null is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/anyOf/0/type" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/anyOf" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/anyOf/0/type" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/anyOf" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s ok 85 - boolean_schema.json: "boolean schema 'true'" - "number is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 86 - boolean_schema.json: "boolean schema 'true'" - "string is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 87 - boolean_schema.json: "boolean schema 'true'" - "boolean true is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 88 - boolean_schema.json: "boolean schema 'true'" - "boolean false is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 89 - boolean_schema.json: "boolean schema 'true'" - "null is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 90 - boolean_schema.json: "boolean schema 'true'" - "object is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 91 - boolean_schema.json: "boolean schema 'true'" - "empty object is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 92 - boolean_schema.json: "boolean schema 'true'" - "array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 93 - boolean_schema.json: "boolean schema 'true'" - "empty array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 94 - boolean_schema.json: "boolean schema 'false'" - "number is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 95 - boolean_schema.json: "boolean schema 'false'" - "string is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 96 - boolean_schema.json: "boolean schema 'false'" - "boolean true is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 97 - boolean_schema.json: "boolean schema 'false'" - "boolean false is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 98 - boolean_schema.json: "boolean schema 'false'" - "null is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 99 - boolean_schema.json: "boolean schema 'false'" - "object is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 100 - boolean_schema.json: "boolean schema 'false'" - "empty object is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 101 - boolean_schema.json: "boolean schema 'false'" - "array is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 102 - boolean_schema.json: "boolean schema 'false'" - "empty array is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s ok 103 - const.json: "const validation" - "same value is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 104 - const.json: "const validation" - "another value is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 105 - const.json: "const validation" - "another type is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 106 - const.json: "const with object" - "same object is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 107 - const.json: "const with object" - "same object with different property order is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 108 - const.json: "const with object" - "another object is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 109 - const.json: "const with object" - "another type is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 110 - const.json: "const with array" - "same array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 111 - const.json: "const with array" - "another array item is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (at '/0': wrong type: integer vs object)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (at '/0': wrong type: integer vs object)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 112 - const.json: "const with array" - "array with additional items is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 113 - const.json: "const with null" - "null is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 114 - const.json: "const with null" - "not null is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 115 - const.json: "const with false does not match 0" - "false is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 116 - const.json: "const with false does not match 0" - "integer zero is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 117 - const.json: "const with false does not match 0" - "float zero is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 118 - const.json: "const with true does not match 1" - "true is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 119 - const.json: "const with true does not match 1" - "integer one is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 120 - const.json: "const with true does not match 1" - "float one is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 121 - const.json: "const with [false] does not match [0]" - "[false] is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 122 - const.json: "const with [false] does not match [0]" - "[0] is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 123 - const.json: "const with [false] does not match [0]" - "[0.0] is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 124 - const.json: "const with [true] does not match [1]" - "[true] is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 125 - const.json: "const with [true] does not match [1]" - "[1] is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 126 - const.json: "const with [true] does not match [1]" - "[1.0] is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 127 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": false} is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 128 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0} is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 129 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0.0} is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 130 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": true} is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 131 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1} is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 132 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1.0} is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 133 - const.json: "const with 0 does not match other zero-like types" - "false is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 134 - const.json: "const with 0 does not match other zero-like types" - "integer zero is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 135 - const.json: "const with 0 does not match other zero-like types" - "float zero is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 136 - const.json: "const with 0 does not match other zero-like types" - "empty object is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 137 - const.json: "const with 0 does not match other zero-like types" - "empty array is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 138 - const.json: "const with 0 does not match other zero-like types" - "empty string is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 139 - const.json: "const with 1 does not match true" - "true is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 140 - const.json: "const with 1 does not match true" - "integer one is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 141 - const.json: "const with 1 does not match true" - "float one is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 142 - const.json: "const with -2.0 matches integer and float types" - "integer -2 is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 143 - const.json: "const with -2.0 matches integer and float types" - "integer 2 is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 144 - const.json: "const with -2.0 matches integer and float types" - "float -2.0 is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 145 - const.json: "const with -2.0 matches integer and float types" - "float 2.0 is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 146 - const.json: "const with -2.0 matches integer and float types" - "float -2.00001 is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 147 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 148 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer minus one is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 149 - const.json: "float and integers are equal up to 64-bit representation limits" - "float is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 150 - const.json: "float and integers are equal up to 64-bit representation limits" - "float minus one is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 151 - const.json: "nul characters in strings" - "match string with nul" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 152 - const.json: "nul characters in strings" - "do not match string lacking nul" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/const" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s ok 153 - contains.json: "contains keyword validation" - "array with item matching schema (5) is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 154 - contains.json: "contains keyword validation" - "array with item matching schema (6) is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 155 - contains.json: "contains keyword validation" - "array with two items matching schema (5, 6) is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 156 - contains.json: "contains keyword validation" - "array without items matching schema is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is less than 5", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/contains/minimum" 181s # }, 181s # { 181s # "error": "value is less than 5", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/contains/minimum" 181s # }, 181s # { 181s # "error": "value is less than 5", 181s # "instanceLocation": "/2", 181s # "keywordLocation": "/contains/minimum" 181s # }, 181s # { 181s # "error": "subschema is not valid against any item", 181s # "instanceLocation": "", 181s # "keywordLocation": "/contains" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is less than 5", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/contains/minimum" 181s # }, 181s # { 181s # "error": "value is less than 5", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/contains/minimum" 181s # }, 181s # { 181s # "error": "value is less than 5", 181s # "instanceLocation": "/2", 181s # "keywordLocation": "/contains/minimum" 181s # }, 181s # { 181s # "error": "subschema is not valid against any item", 181s # "instanceLocation": "", 181s # "keywordLocation": "/contains" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 157 - contains.json: "contains keyword validation" - "empty array is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is not valid against any item", 181s # "instanceLocation": "", 181s # "keywordLocation": "/contains" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is not valid against any item", 181s # "instanceLocation": "", 181s # "keywordLocation": "/contains" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 158 - contains.json: "contains keyword validation" - "not array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 159 - contains.json: "contains keyword with const keyword" - "array with item 5 is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 160 - contains.json: "contains keyword with const keyword" - "array with two items 5 is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 161 - contains.json: "contains keyword with const keyword" - "array without item 5 is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/contains/const" 181s # }, 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/contains/const" 181s # }, 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "/2", 181s # "keywordLocation": "/contains/const" 181s # }, 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "/3", 181s # "keywordLocation": "/contains/const" 181s # }, 181s # { 181s # "error": "subschema is not valid against any item", 181s # "instanceLocation": "", 181s # "keywordLocation": "/contains" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/contains/const" 181s # }, 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/contains/const" 181s # }, 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "/2", 181s # "keywordLocation": "/contains/const" 181s # }, 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "/3", 181s # "keywordLocation": "/contains/const" 181s # }, 181s # { 181s # "error": "subschema is not valid against any item", 181s # "instanceLocation": "", 181s # "keywordLocation": "/contains" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 162 - contains.json: "contains keyword with boolean schema true" - "any non-empty array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 163 - contains.json: "contains keyword with boolean schema true" - "empty array is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is not valid against any item", 181s # "instanceLocation": "", 181s # "keywordLocation": "/contains" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is not valid against any item", 181s # "instanceLocation": "", 181s # "keywordLocation": "/contains" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 164 - contains.json: "contains keyword with boolean schema false" - "any non-empty array is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/contains" 181s # }, 181s # { 181s # "error": "subschema is not valid against any item", 181s # "instanceLocation": "", 181s # "keywordLocation": "/contains" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/contains" 181s # }, 181s # { 181s # "error": "subschema is not valid against any item", 181s # "instanceLocation": "", 181s # "keywordLocation": "/contains" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 165 - contains.json: "contains keyword with boolean schema false" - "empty array is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is not valid against any item", 181s # "instanceLocation": "", 181s # "keywordLocation": "/contains" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is not valid against any item", 181s # "instanceLocation": "", 181s # "keywordLocation": "/contains" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 166 - contains.json: "contains keyword with boolean schema false" - "non-arrays are valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 167 - contains.json: "items + contains" - "matches items, does not match contains" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 3", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/contains/multipleOf" 181s # }, 181s # { 181s # "error": "value is not a multiple of 3", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/contains/multipleOf" 181s # }, 181s # { 181s # "error": "value is not a multiple of 3", 181s # "instanceLocation": "/2", 181s # "keywordLocation": "/contains/multipleOf" 181s # }, 181s # { 181s # "error": "subschema is not valid against any item", 181s # "instanceLocation": "", 181s # "keywordLocation": "/contains" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 3", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/contains/multipleOf" 181s # }, 181s # { 181s # "error": "value is not a multiple of 3", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/contains/multipleOf" 181s # }, 181s # { 181s # "error": "value is not a multiple of 3", 181s # "instanceLocation": "/2", 181s # "keywordLocation": "/contains/multipleOf" 181s # }, 181s # { 181s # "error": "subschema is not valid against any item", 181s # "instanceLocation": "", 181s # "keywordLocation": "/contains" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 168 - contains.json: "items + contains" - "does not match items, matches contains" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 2", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/items/multipleOf" 181s # }, 181s # { 181s # "error": "value is not a multiple of 2", 181s # "instanceLocation": "/2", 181s # "keywordLocation": "/items/multipleOf" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 2", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/items/multipleOf" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 169 - contains.json: "items + contains" - "matches both items and contains" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 170 - contains.json: "items + contains" - "matches neither items nor contains" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 2", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/items/multipleOf" 181s # }, 181s # { 181s # "error": "value is not a multiple of 2", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/items/multipleOf" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # }, 181s # { 181s # "error": "value is not a multiple of 3", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/contains/multipleOf" 181s # }, 181s # { 181s # "error": "value is not a multiple of 3", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/contains/multipleOf" 181s # }, 181s # { 181s # "error": "subschema is not valid against any item", 181s # "instanceLocation": "", 181s # "keywordLocation": "/contains" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 2", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/items/multipleOf" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 171 - contains.json: "contains with null instance elements" - "allows null items" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s # 181s ok 172 - default.json: "invalid type for default" - "valid when property is specified" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 173 - default.json: "invalid type for default" - "still valid when the invalid default is used" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 174 - default.json: "invalid string value for default" - "valid when property is specified" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 175 - default.json: "invalid string value for default" - "still valid when the invalid default is used" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 176 - default.json: "the default keyword does not do anything if the property is missing" - "an explicit property value is checked against maximum (passing)" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 177 - default.json: "the default keyword does not do anything if the property is missing" - "an explicit property value is checked against maximum (failing)" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is greater than 3", 181s # "instanceLocation": "/alpha", 181s # "keywordLocation": "/properties/alpha/maximum" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is greater than 3", 181s # "instanceLocation": "/alpha", 181s # "keywordLocation": "/properties/alpha/maximum" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 178 - default.json: "the default keyword does not do anything if the property is missing" - "missing properties are not filled in with the default" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s # 181s ok 179 - definitions.json: "validate definition against metaschema" - "valid definition schema" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 180 - definitions.json: "validate definition against metaschema" - "invalid definition schema" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/definitions/simpleTypes/enum", 181s # "error": "value does not match", 181s # "instanceLocation": "/definitions/foo/type", 181s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/0/$ref/enum" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties/type/anyOf/1/type", 181s # "error": "got integer, not array", 181s # "instanceLocation": "/definitions/foo/type", 181s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/1/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties/type/anyOf", 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "/definitions/foo/type", 181s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "/definitions/foo", 181s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties/definitions/additionalProperties", 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "/definitions", 181s # "keywordLocation": "/$ref/properties/definitions/additionalProperties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/$ref/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/definitions/simpleTypes/enum", 181s # "error": "value does not match", 181s # "instanceLocation": "/definitions/foo/type", 181s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/0/$ref/enum" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties/type/anyOf/1/type", 181s # "error": "got integer, not array", 181s # "instanceLocation": "/definitions/foo/type", 181s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/1/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties/type/anyOf", 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "/definitions/foo/type", 181s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "/definitions/foo", 181s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties/definitions/additionalProperties", 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "/definitions", 181s # "keywordLocation": "/$ref/properties/definitions/additionalProperties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/$ref/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s ok 181 - dependencies.json: "dependencies" - "neither" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 182 - dependencies.json: "dependencies" - "nondependant" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 183 - dependencies.json: "dependencies" - "with dependency" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 184 - dependencies.json: "dependencies" - "missing dependency" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: foo", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/bar" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: foo", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/bar" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 185 - dependencies.json: "dependencies" - "ignores arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 186 - dependencies.json: "dependencies" - "ignores strings" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 187 - dependencies.json: "dependencies" - "ignores other non-objects" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 188 - dependencies.json: "dependencies with empty array" - "empty object" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 189 - dependencies.json: "dependencies with empty array" - "object with one property" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 190 - dependencies.json: "dependencies with empty array" - "non-object is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 191 - dependencies.json: "multiple dependencies" - "neither" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 192 - dependencies.json: "multiple dependencies" - "nondependants" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 193 - dependencies.json: "multiple dependencies" - "with dependencies" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 194 - dependencies.json: "multiple dependencies" - "missing dependency" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: bar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/quux" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: bar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/quux" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 195 - dependencies.json: "multiple dependencies" - "missing other dependency" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: foo", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/quux" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: foo", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/quux" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 196 - dependencies.json: "multiple dependencies" - "missing both dependencies" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing properties: foo, bar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/quux" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing properties: foo, bar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/quux" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 197 - dependencies.json: "multiple dependencies subschema" - "valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 198 - dependencies.json: "multiple dependencies subschema" - "no dependency" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 199 - dependencies.json: "multiple dependencies subschema" - "wrong type" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/dependencies/bar/properties/foo/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/bar/properties" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/dependencies/bar/properties/foo/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/bar/properties" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 200 - dependencies.json: "multiple dependencies subschema" - "wrong type other" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/dependencies/bar/properties/bar/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/bar/properties" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/dependencies/bar/properties/bar/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/bar/properties" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 201 - dependencies.json: "multiple dependencies subschema" - "wrong type both" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/dependencies/bar/properties/bar/type" 181s # }, 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/dependencies/bar/properties/foo/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/bar/properties" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/dependencies/bar/properties/bar/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/bar/properties" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 202 - dependencies.json: "dependencies with boolean subschemas" - "object with property having schema true is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 203 - dependencies.json: "dependencies with boolean subschemas" - "object with property having schema false is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/bar" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/bar" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 204 - dependencies.json: "dependencies with boolean subschemas" - "object with both properties is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/bar" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/bar" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 205 - dependencies.json: "dependencies with boolean subschemas" - "empty object is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 206 - dependencies.json: "dependencies with escaped characters" - "valid object 1" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 207 - dependencies.json: "dependencies with escaped characters" - "valid object 2" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 208 - dependencies.json: "dependencies with escaped characters" - "valid object 3" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 209 - dependencies.json: "dependencies with escaped characters" - "invalid object 1" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: foo\rbar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/foo\nbar" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: foo\rbar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/foo\nbar" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 210 - dependencies.json: "dependencies with escaped characters" - "invalid object 2" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object has fewer than 4 properties", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/foo\tbar/minProperties" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object has fewer than 4 properties", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/foo\tbar/minProperties" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 211 - dependencies.json: "dependencies with escaped characters" - "invalid object 3" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: foo\"bar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/foo'bar/required" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: foo\"bar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/foo'bar/required" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 212 - dependencies.json: "dependencies with escaped characters" - "invalid object 4" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: foo'bar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/foo\"bar" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: foo'bar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/foo\"bar" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 213 - dependencies.json: "dependent subschema incompatible with root" - "matches root" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/dependencies/foo/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/foo/additionalProperties" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/dependencies/foo/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/foo/additionalProperties" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 214 - dependencies.json: "dependent subschema incompatible with root" - "matches dependency" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 215 - dependencies.json: "dependent subschema incompatible with root" - "matches both" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/dependencies/foo/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/foo/additionalProperties" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/dependencies/foo/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies/foo/additionalProperties" 181s # }, 181s # { 181s # "error": "not all dependencies are satisfied", 181s # "instanceLocation": "", 181s # "keywordLocation": "/dependencies" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 216 - dependencies.json: "dependent subschema incompatible with root" - "no dependency" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s # 181s ok 217 - enum.json: "simple enum validation" - "one of the enum is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 218 - enum.json: "simple enum validation" - "something else is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 219 - enum.json: "heterogeneous enum validation" - "one of the enum is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 220 - enum.json: "heterogeneous enum validation" - "something else is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 221 - enum.json: "heterogeneous enum validation" - "objects are deep compared" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (from enum 0 at '': wrong type: object vs integer; from enum 1 at '': wrong type: object vs string; from enum 2 at '': wrong type: object vs array; from enum 3 at '': wrong type: object vs boolean; from enum 4 at '/foo': wrong type: boolean vs integer)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (from enum 0 at '': wrong type: object vs integer; from enum 1 at '': wrong type: object vs string; from enum 2 at '': wrong type: object vs array; from enum 3 at '': wrong type: object vs boolean; from enum 4 at '/foo': wrong type: boolean vs integer)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 222 - enum.json: "heterogeneous enum validation" - "valid object matches" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 223 - enum.json: "heterogeneous enum validation" - "extra properties in object is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 224 - enum.json: "heterogeneous enum-with-null validation" - "null is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 225 - enum.json: "heterogeneous enum-with-null validation" - "number is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 226 - enum.json: "heterogeneous enum-with-null validation" - "something else is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 227 - enum.json: "enums in properties" - "both properties are valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 228 - enum.json: "enums in properties" - "wrong foo value" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/enum" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/enum" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 229 - enum.json: "enums in properties" - "wrong bar value" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/properties/bar/enum" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/properties/bar/enum" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 230 - enum.json: "enums in properties" - "missing optional property is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 231 - enum.json: "enums in properties" - "missing required property is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: bar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/required" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: bar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/required" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 232 - enum.json: "enums in properties" - "missing all properties is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: bar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/required" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: bar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/required" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 233 - enum.json: "enum with escaped characters" - "member 1 is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 234 - enum.json: "enum with escaped characters" - "member 2 is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 235 - enum.json: "enum with escaped characters" - "another string is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 236 - enum.json: "enum with false does not match 0" - "false is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 237 - enum.json: "enum with false does not match 0" - "integer zero is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 238 - enum.json: "enum with false does not match 0" - "float zero is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 239 - enum.json: "enum with [false] does not match [0]" - "[false] is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 240 - enum.json: "enum with [false] does not match [0]" - "[0] is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 241 - enum.json: "enum with [false] does not match [0]" - "[0.0] is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 242 - enum.json: "enum with true does not match 1" - "true is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 243 - enum.json: "enum with true does not match 1" - "integer one is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 244 - enum.json: "enum with true does not match 1" - "float one is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 245 - enum.json: "enum with [true] does not match [1]" - "[true] is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 246 - enum.json: "enum with [true] does not match [1]" - "[1] is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 247 - enum.json: "enum with [true] does not match [1]" - "[1.0] is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 248 - enum.json: "enum with 0 does not match false" - "false is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 249 - enum.json: "enum with 0 does not match false" - "integer zero is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 250 - enum.json: "enum with 0 does not match false" - "float zero is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 251 - enum.json: "enum with [0] does not match [false]" - "[false] is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 252 - enum.json: "enum with [0] does not match [false]" - "[0] is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 253 - enum.json: "enum with [0] does not match [false]" - "[0.0] is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 254 - enum.json: "enum with 1 does not match true" - "true is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 255 - enum.json: "enum with 1 does not match true" - "integer one is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 256 - enum.json: "enum with 1 does not match true" - "float one is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 257 - enum.json: "enum with [1] does not match [true]" - "[true] is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 258 - enum.json: "enum with [1] does not match [true]" - "[1] is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 259 - enum.json: "enum with [1] does not match [true]" - "[1.0] is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 260 - enum.json: "nul characters in strings" - "match string with nul" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 261 - enum.json: "nul characters in strings" - "do not match string lacking nul" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s ok 262 - exclusiveMaximum.json: "exclusiveMaximum validation" - "below the exclusiveMaximum is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 263 - exclusiveMaximum.json: "exclusiveMaximum validation" - "boundary point is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is greater than or equal to 3", 181s # "instanceLocation": "", 181s # "keywordLocation": "/exclusiveMaximum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is greater than or equal to 3", 181s # "instanceLocation": "", 181s # "keywordLocation": "/exclusiveMaximum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 264 - exclusiveMaximum.json: "exclusiveMaximum validation" - "above the exclusiveMaximum is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is greater than or equal to 3", 181s # "instanceLocation": "", 181s # "keywordLocation": "/exclusiveMaximum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is greater than or equal to 3", 181s # "instanceLocation": "", 181s # "keywordLocation": "/exclusiveMaximum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 265 - exclusiveMaximum.json: "exclusiveMaximum validation" - "ignores non-numbers" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s # 181s ok 266 - exclusiveMinimum.json: "exclusiveMinimum validation" - "above the exclusiveMinimum is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 267 - exclusiveMinimum.json: "exclusiveMinimum validation" - "boundary point is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is less than or equal to 1.1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/exclusiveMinimum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is less than or equal to 1.1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/exclusiveMinimum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 268 - exclusiveMinimum.json: "exclusiveMinimum validation" - "below the exclusiveMinimum is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is less than or equal to 1.1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/exclusiveMinimum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is less than or equal to 1.1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/exclusiveMinimum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 269 - exclusiveMinimum.json: "exclusiveMinimum validation" - "ignores non-numbers" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s # 181s ok 270 - format.json: "email format" - "all string formats ignore integers" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 271 - format.json: "email format" - "all string formats ignore floats" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 272 - format.json: "email format" - "all string formats ignore objects" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 273 - format.json: "email format" - "all string formats ignore arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 274 - format.json: "email format" - "all string formats ignore booleans" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 275 - format.json: "email format" - "all string formats ignore nulls" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 276 - format.json: "ipv4 format" - "all string formats ignore integers" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 277 - format.json: "ipv4 format" - "all string formats ignore floats" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 278 - format.json: "ipv4 format" - "all string formats ignore objects" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 279 - format.json: "ipv4 format" - "all string formats ignore arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 280 - format.json: "ipv4 format" - "all string formats ignore booleans" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 281 - format.json: "ipv4 format" - "all string formats ignore nulls" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 282 - format.json: "ipv6 format" - "all string formats ignore integers" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 283 - format.json: "ipv6 format" - "all string formats ignore floats" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 284 - format.json: "ipv6 format" - "all string formats ignore objects" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 285 - format.json: "ipv6 format" - "all string formats ignore arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 286 - format.json: "ipv6 format" - "all string formats ignore booleans" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 287 - format.json: "ipv6 format" - "all string formats ignore nulls" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 288 - format.json: "hostname format" - "all string formats ignore integers" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 289 - format.json: "hostname format" - "all string formats ignore floats" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 290 - format.json: "hostname format" - "all string formats ignore objects" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 291 - format.json: "hostname format" - "all string formats ignore arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 292 - format.json: "hostname format" - "all string formats ignore booleans" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 293 - format.json: "hostname format" - "all string formats ignore nulls" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 294 - format.json: "date-time format" - "all string formats ignore integers" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 295 - format.json: "date-time format" - "all string formats ignore floats" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 296 - format.json: "date-time format" - "all string formats ignore objects" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 297 - format.json: "date-time format" - "all string formats ignore arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 298 - format.json: "date-time format" - "all string formats ignore booleans" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 299 - format.json: "date-time format" - "all string formats ignore nulls" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 300 - format.json: "json-pointer format" - "all string formats ignore integers" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 301 - format.json: "json-pointer format" - "all string formats ignore floats" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 302 - format.json: "json-pointer format" - "all string formats ignore objects" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 303 - format.json: "json-pointer format" - "all string formats ignore arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 304 - format.json: "json-pointer format" - "all string formats ignore booleans" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 305 - format.json: "json-pointer format" - "all string formats ignore nulls" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 306 - format.json: "uri format" - "all string formats ignore integers" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 307 - format.json: "uri format" - "all string formats ignore floats" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 308 - format.json: "uri format" - "all string formats ignore objects" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 309 - format.json: "uri format" - "all string formats ignore arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 310 - format.json: "uri format" - "all string formats ignore booleans" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 311 - format.json: "uri format" - "all string formats ignore nulls" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 312 - format.json: "uri-reference format" - "all string formats ignore integers" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 313 - format.json: "uri-reference format" - "all string formats ignore floats" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 314 - format.json: "uri-reference format" - "all string formats ignore objects" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 315 - format.json: "uri-reference format" - "all string formats ignore arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 316 - format.json: "uri-reference format" - "all string formats ignore booleans" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 317 - format.json: "uri-reference format" - "all string formats ignore nulls" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 318 - format.json: "uri-template format" - "all string formats ignore integers" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 319 - format.json: "uri-template format" - "all string formats ignore floats" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 320 - format.json: "uri-template format" - "all string formats ignore objects" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 321 - format.json: "uri-template format" - "all string formats ignore arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 322 - format.json: "uri-template format" - "all string formats ignore booleans" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 323 - format.json: "uri-template format" - "all string formats ignore nulls" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s # 181s ok 324 - infinite-loop-detection.json: "evaluating the same schema location against the same data location twice is not a sign of an infinite loop" - "passing case" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 325 - infinite-loop-detection.json: "evaluating the same schema location against the same data location twice is not a sign of an infinite loop" - "failing case" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/int/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/properties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "#/definitions/int/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/allOf/1/additionalProperties/$ref/type" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/1/additionalProperties" 181s # }, 181s # { 181s # "error": "subschemas 0, 1 are not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/int/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/properties" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s ok 326 - items.json: "a schema given for items" - "valid items" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 327 - items.json: "a schema given for items" - "wrong type of items" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/items/type" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/items/type" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 328 - items.json: "a schema given for items" - "ignores non-arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 329 - items.json: "a schema given for items" - "JavaScript pseudo-array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 330 - items.json: "an array of schemas for items" - "correct types" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 331 - items.json: "an array of schemas for items" - "wrong types" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/items/0/type" 181s # }, 181s # { 181s # "error": "got integer, not string", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/items/1/type" 181s # }, 181s # { 181s # "error": "not all items are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/items/0/type" 181s # }, 181s # { 181s # "error": "not all items are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 332 - items.json: "an array of schemas for items" - "incomplete array of items" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 333 - items.json: "an array of schemas for items" - "array with additional items" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 334 - items.json: "an array of schemas for items" - "empty array" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 335 - items.json: "an array of schemas for items" - "JavaScript pseudo-array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 336 - items.json: "items with boolean schema (true)" - "any array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 337 - items.json: "items with boolean schema (true)" - "empty array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 338 - items.json: "items with boolean schema (false)" - "any non-empty array is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "item not permitted", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/items" 181s # }, 181s # { 181s # "error": "item not permitted", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/items" 181s # }, 181s # { 181s # "error": "item not permitted", 181s # "instanceLocation": "/2", 181s # "keywordLocation": "/items" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "item not permitted", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/items" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 339 - items.json: "items with boolean schema (false)" - "empty array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 340 - items.json: "items with boolean schemas" - "array with one item is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 341 - items.json: "items with boolean schemas" - "array with two items is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "item not permitted", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/items/1" 181s # }, 181s # { 181s # "error": "not all items are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "item not permitted", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/items/1" 181s # }, 181s # { 181s # "error": "not all items are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 342 - items.json: "items with boolean schemas" - "empty array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 343 - items.json: "items and subitems" - "valid items" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 344 - items.json: "items and subitems" - "too many items" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "additional item not permitted", 181s # "instanceLocation": "/3", 181s # "keywordLocation": "/additionalItems" 181s # }, 181s # { 181s # "error": "subschema is not valid against all additional items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "additional item not permitted", 181s # "instanceLocation": "/3", 181s # "keywordLocation": "/additionalItems" 181s # }, 181s # { 181s # "error": "subschema is not valid against all additional items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 345 - items.json: "items and subitems" - "too many sub-items" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 181s # "error": "additional item not permitted", 181s # "instanceLocation": "/0/2", 181s # "keywordLocation": "/items/0/$ref/additionalItems" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 181s # "error": "subschema is not valid against all additional items", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/items/0/$ref/additionalItems" 181s # }, 181s # { 181s # "error": "not all items are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 181s # "error": "additional item not permitted", 181s # "instanceLocation": "/0/2", 181s # "keywordLocation": "/items/0/$ref/additionalItems" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 181s # "error": "subschema is not valid against all additional items", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/items/0/$ref/additionalItems" 181s # }, 181s # { 181s # "error": "not all items are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 346 - items.json: "items and subitems" - "wrong item" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/item/type", 181s # "error": "got object, not array", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/items/0/$ref/type" 181s # }, 181s # { 181s # "error": "not all items are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/item/type", 181s # "error": "got object, not array", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/items/0/$ref/type" 181s # }, 181s # { 181s # "error": "not all items are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 347 - items.json: "items and subitems" - "wrong sub-item" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/sub-item/required", 181s # "error": "object is missing property: foo", 181s # "instanceLocation": "/0/0", 181s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "#/definitions/item/items", 181s # "error": "not all items are valid", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/items/0/$ref/items" 181s # }, 181s # { 181s # "error": "not all items are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/sub-item/required", 181s # "error": "object is missing property: foo", 181s # "instanceLocation": "/0/0", 181s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "#/definitions/item/items", 181s # "error": "not all items are valid", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/items/0/$ref/items" 181s # }, 181s # { 181s # "error": "not all items are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 348 - items.json: "items and subitems" - "fewer items is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 349 - items.json: "nested items" - "valid nested array" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 350 - items.json: "nested items" - "nested array with invalid type" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not number", 181s # "instanceLocation": "/0/0/0/0", 181s # "keywordLocation": "/items/items/items/items/type" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/0/0/0", 181s # "keywordLocation": "/items/items/items/items" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/0/0", 181s # "keywordLocation": "/items/items/items" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/items/items" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not number", 181s # "instanceLocation": "/0/0/0/0", 181s # "keywordLocation": "/items/items/items/items/type" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/0/0/0", 181s # "keywordLocation": "/items/items/items/items" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/0/0", 181s # "keywordLocation": "/items/items/items" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/items/items" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 351 - items.json: "nested items" - "not deep enough" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not array", 181s # "instanceLocation": "/0/0/0", 181s # "keywordLocation": "/items/items/items/type" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/0/0", 181s # "keywordLocation": "/items/items/items" 181s # }, 181s # { 181s # "error": "got integer, not array", 181s # "instanceLocation": "/0/1/0", 181s # "keywordLocation": "/items/items/items/type" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/0/1", 181s # "keywordLocation": "/items/items/items" 181s # }, 181s # { 181s # "error": "got integer, not array", 181s # "instanceLocation": "/0/2/0", 181s # "keywordLocation": "/items/items/items/type" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/0/2", 181s # "keywordLocation": "/items/items/items" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/items/items" 181s # }, 181s # { 181s # "error": "got integer, not array", 181s # "instanceLocation": "/1/0/0", 181s # "keywordLocation": "/items/items/items/type" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/1/0", 181s # "keywordLocation": "/items/items/items" 181s # }, 181s # { 181s # "error": "got integer, not array", 181s # "instanceLocation": "/1/1/0", 181s # "keywordLocation": "/items/items/items/type" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/1/1", 181s # "keywordLocation": "/items/items/items" 181s # }, 181s # { 181s # "error": "got integer, not array", 181s # "instanceLocation": "/1/2/0", 181s # "keywordLocation": "/items/items/items/type" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/1/2", 181s # "keywordLocation": "/items/items/items" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/items/items" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not array", 181s # "instanceLocation": "/0/0/0", 181s # "keywordLocation": "/items/items/items/type" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/0/0", 181s # "keywordLocation": "/items/items/items" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/items/items" 181s # }, 181s # { 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 352 - items.json: "single-form items with null instance elements" - "allows null elements" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 353 - items.json: "array-form items with null instance elements" - "allows null elements" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s # 181s ok 354 - maxItems.json: "maxItems validation" - "shorter is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 355 - maxItems.json: "maxItems validation" - "exact length is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 356 - maxItems.json: "maxItems validation" - "too long is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "array has more than 2 items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/maxItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "array has more than 2 items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/maxItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 357 - maxItems.json: "maxItems validation" - "ignores non-arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 358 - maxItems.json: "maxItems validation with a decimal" - "shorter is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 359 - maxItems.json: "maxItems validation with a decimal" - "too long is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "array has more than 2 items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/maxItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "array has more than 2 items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/maxItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s ok 360 - maxLength.json: "maxLength validation" - "shorter is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 361 - maxLength.json: "maxLength validation" - "exact length is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 362 - maxLength.json: "maxLength validation" - "too long is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "length is greater than 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/maxLength" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "length is greater than 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/maxLength" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 363 - maxLength.json: "maxLength validation" - "ignores non-strings" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 364 - maxLength.json: "maxLength validation" - "two graphemes is long enough" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 365 - maxLength.json: "maxLength validation with a decimal" - "shorter is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 366 - maxLength.json: "maxLength validation with a decimal" - "too long is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "length is greater than 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/maxLength" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "length is greater than 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/maxLength" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s ok 367 - maxProperties.json: "maxProperties validation" - "shorter is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 368 - maxProperties.json: "maxProperties validation" - "exact length is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 369 - maxProperties.json: "maxProperties validation" - "too long is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object has more than 2 properties", 181s # "instanceLocation": "", 181s # "keywordLocation": "/maxProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object has more than 2 properties", 181s # "instanceLocation": "", 181s # "keywordLocation": "/maxProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 370 - maxProperties.json: "maxProperties validation" - "ignores arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 371 - maxProperties.json: "maxProperties validation" - "ignores strings" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 372 - maxProperties.json: "maxProperties validation" - "ignores other non-objects" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 373 - maxProperties.json: "maxProperties validation with a decimal" - "shorter is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 374 - maxProperties.json: "maxProperties validation with a decimal" - "too long is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object has more than 2 properties", 181s # "instanceLocation": "", 181s # "keywordLocation": "/maxProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object has more than 2 properties", 181s # "instanceLocation": "", 181s # "keywordLocation": "/maxProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 375 - maxProperties.json: "maxProperties = 0 means the object is empty" - "no properties is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 376 - maxProperties.json: "maxProperties = 0 means the object is empty" - "one property is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object has more than 0 property", 181s # "instanceLocation": "", 181s # "keywordLocation": "/maxProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object has more than 0 property", 181s # "instanceLocation": "", 181s # "keywordLocation": "/maxProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s ok 377 - maximum.json: "maximum validation" - "below the maximum is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 378 - maximum.json: "maximum validation" - "boundary point is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 379 - maximum.json: "maximum validation" - "above the maximum is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is greater than 3", 181s # "instanceLocation": "", 181s # "keywordLocation": "/maximum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is greater than 3", 181s # "instanceLocation": "", 181s # "keywordLocation": "/maximum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 380 - maximum.json: "maximum validation" - "ignores non-numbers" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 381 - maximum.json: "maximum validation with unsigned integer" - "below the maximum is invalid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 382 - maximum.json: "maximum validation with unsigned integer" - "boundary point integer is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 383 - maximum.json: "maximum validation with unsigned integer" - "boundary point float is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 384 - maximum.json: "maximum validation with unsigned integer" - "above the maximum is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is greater than 300", 181s # "instanceLocation": "", 181s # "keywordLocation": "/maximum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is greater than 300", 181s # "instanceLocation": "", 181s # "keywordLocation": "/maximum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s ok 385 - minItems.json: "minItems validation" - "longer is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 386 - minItems.json: "minItems validation" - "exact length is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 387 - minItems.json: "minItems validation" - "too short is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "array has fewer than 1 item", 181s # "instanceLocation": "", 181s # "keywordLocation": "/minItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "array has fewer than 1 item", 181s # "instanceLocation": "", 181s # "keywordLocation": "/minItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 388 - minItems.json: "minItems validation" - "ignores non-arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 389 - minItems.json: "minItems validation with a decimal" - "longer is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 390 - minItems.json: "minItems validation with a decimal" - "too short is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "array has fewer than 1 item", 181s # "instanceLocation": "", 181s # "keywordLocation": "/minItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "array has fewer than 1 item", 181s # "instanceLocation": "", 181s # "keywordLocation": "/minItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s ok 391 - minLength.json: "minLength validation" - "longer is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 392 - minLength.json: "minLength validation" - "exact length is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 393 - minLength.json: "minLength validation" - "too short is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "length is less than 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/minLength" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "length is less than 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/minLength" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 394 - minLength.json: "minLength validation" - "ignores non-strings" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 395 - minLength.json: "minLength validation" - "one grapheme is not long enough" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "length is less than 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/minLength" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "length is less than 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/minLength" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 396 - minLength.json: "minLength validation with a decimal" - "longer is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 397 - minLength.json: "minLength validation with a decimal" - "too short is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "length is less than 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/minLength" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "length is less than 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/minLength" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s ok 398 - minProperties.json: "minProperties validation" - "longer is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 399 - minProperties.json: "minProperties validation" - "exact length is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 400 - minProperties.json: "minProperties validation" - "too short is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object has fewer than 1 property", 181s # "instanceLocation": "", 181s # "keywordLocation": "/minProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object has fewer than 1 property", 181s # "instanceLocation": "", 181s # "keywordLocation": "/minProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 401 - minProperties.json: "minProperties validation" - "ignores arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 402 - minProperties.json: "minProperties validation" - "ignores strings" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 403 - minProperties.json: "minProperties validation" - "ignores other non-objects" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 404 - minProperties.json: "minProperties validation with a decimal" - "longer is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 405 - minProperties.json: "minProperties validation with a decimal" - "too short is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object has fewer than 1 property", 181s # "instanceLocation": "", 181s # "keywordLocation": "/minProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object has fewer than 1 property", 181s # "instanceLocation": "", 181s # "keywordLocation": "/minProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s ok 406 - minimum.json: "minimum validation" - "above the minimum is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 407 - minimum.json: "minimum validation" - "boundary point is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 408 - minimum.json: "minimum validation" - "below the minimum is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is less than 1.1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/minimum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is less than 1.1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/minimum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 409 - minimum.json: "minimum validation" - "ignores non-numbers" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 410 - minimum.json: "minimum validation with signed integer" - "negative above the minimum is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 411 - minimum.json: "minimum validation with signed integer" - "positive above the minimum is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 412 - minimum.json: "minimum validation with signed integer" - "boundary point is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 413 - minimum.json: "minimum validation with signed integer" - "boundary point with float is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 414 - minimum.json: "minimum validation with signed integer" - "float below the minimum is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is less than -2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/minimum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is less than -2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/minimum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 415 - minimum.json: "minimum validation with signed integer" - "int below the minimum is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is less than -2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/minimum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is less than -2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/minimum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 416 - minimum.json: "minimum validation with signed integer" - "ignores non-numbers" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s # 181s ok 417 - multipleOf.json: "by int" - "int by int" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 418 - multipleOf.json: "by int" - "int by int fail" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/multipleOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/multipleOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 419 - multipleOf.json: "by int" - "ignores non-numbers" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 420 - multipleOf.json: "by number" - "zero is multiple of anything" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 421 - multipleOf.json: "by number" - "4.5 is multiple of 1.5" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 422 - multipleOf.json: "by number" - "35 is not multiple of 1.5" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 1.5", 181s # "instanceLocation": "", 181s # "keywordLocation": "/multipleOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 1.5", 181s # "instanceLocation": "", 181s # "keywordLocation": "/multipleOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 423 - multipleOf.json: "by small number" - "0.0075 is multiple of 0.0001" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 424 - multipleOf.json: "by small number" - "0.00751 is not multiple of 0.0001" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 0.0001", 181s # "instanceLocation": "", 181s # "keywordLocation": "/multipleOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 0.0001", 181s # "instanceLocation": "", 181s # "keywordLocation": "/multipleOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 425 - multipleOf.json: "float division = inf" - "always invalid, but naive implementations may raise an overflow error" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 0.123456789", 181s # "instanceLocation": "", 181s # "keywordLocation": "/multipleOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is not a multiple of 0.123456789", 181s # "instanceLocation": "", 181s # "keywordLocation": "/multipleOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 426 - multipleOf.json: "small multiple of large integer" - "any integer is a multiple of 1e-8" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s # 181s ok 427 - not.json: "not" - "allowed" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 428 - not.json: "not" - "disallowed" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 429 - not.json: "not multiple types" - "valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 430 - not.json: "not multiple types" - "mismatch" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 431 - not.json: "not multiple types" - "other mismatch" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 432 - not.json: "not more complex schema" - "match" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 433 - not.json: "not more complex schema" - "other match" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 434 - not.json: "not more complex schema" - "mismatch" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 435 - not.json: "forbidden property" - "property present" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/not" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/not" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 436 - not.json: "forbidden property" - "property absent" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 437 - not.json: "forbid everything with empty schema" - "number is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 438 - not.json: "forbid everything with empty schema" - "string is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 439 - not.json: "forbid everything with empty schema" - "boolean true is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 440 - not.json: "forbid everything with empty schema" - "boolean false is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 441 - not.json: "forbid everything with empty schema" - "null is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 442 - not.json: "forbid everything with empty schema" - "object is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 443 - not.json: "forbid everything with empty schema" - "empty object is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 444 - not.json: "forbid everything with empty schema" - "array is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 445 - not.json: "forbid everything with empty schema" - "empty array is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 446 - not.json: "forbid everything with boolean schema true" - "number is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 447 - not.json: "forbid everything with boolean schema true" - "string is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 448 - not.json: "forbid everything with boolean schema true" - "boolean true is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 449 - not.json: "forbid everything with boolean schema true" - "boolean false is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 450 - not.json: "forbid everything with boolean schema true" - "null is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 451 - not.json: "forbid everything with boolean schema true" - "object is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 452 - not.json: "forbid everything with boolean schema true" - "empty object is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 453 - not.json: "forbid everything with boolean schema true" - "array is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 454 - not.json: "forbid everything with boolean schema true" - "empty array is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/not" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 455 - not.json: "allow everything with boolean schema false" - "number is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 456 - not.json: "allow everything with boolean schema false" - "string is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 457 - not.json: "allow everything with boolean schema false" - "boolean true is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 458 - not.json: "allow everything with boolean schema false" - "boolean false is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 459 - not.json: "allow everything with boolean schema false" - "null is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 460 - not.json: "allow everything with boolean schema false" - "object is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 461 - not.json: "allow everything with boolean schema false" - "empty object is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 462 - not.json: "allow everything with boolean schema false" - "array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 463 - not.json: "allow everything with boolean schema false" - "empty array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 464 - not.json: "double negation" - "any value is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s # 181s ok 465 - oneOf.json: "oneOf" - "first oneOf valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 466 - oneOf.json: "oneOf" - "second oneOf valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 467 - oneOf.json: "oneOf" - "both oneOf valid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "multiple subschemas are valid: 0, 1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "multiple subschemas are valid: 0, 1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 468 - oneOf.json: "oneOf" - "neither oneOf valid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got number, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0/type" 181s # }, 181s # { 181s # "error": "value is less than 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/1/minimum" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got number, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0/type" 181s # }, 181s # { 181s # "error": "value is less than 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/1/minimum" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 469 - oneOf.json: "oneOf with base schema" - "mismatch base schema" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # }, 181s # { 181s # "error": "multiple subschemas are valid: 0, 1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 470 - oneOf.json: "oneOf with base schema" - "one oneOf valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 471 - oneOf.json: "oneOf with base schema" - "both oneOf valid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "multiple subschemas are valid: 0, 1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "multiple subschemas are valid: 0, 1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 472 - oneOf.json: "oneOf with boolean schemas, all true" - "any value is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "multiple subschemas are valid: 0, 1, 2", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "multiple subschemas are valid: 0, 1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 473 - oneOf.json: "oneOf with boolean schemas, one true" - "any value is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 474 - oneOf.json: "oneOf with boolean schemas, more than one true" - "any value is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "multiple subschemas are valid: 0, 1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "multiple subschemas are valid: 0, 1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 475 - oneOf.json: "oneOf with boolean schemas, all false" - "any value is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0" 181s # }, 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/1" 181s # }, 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/2" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0" 181s # }, 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/1" 181s # }, 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/2" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 476 - oneOf.json: "oneOf complex types" - "first oneOf valid (complex)" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 477 - oneOf.json: "oneOf complex types" - "second oneOf valid (complex)" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 478 - oneOf.json: "oneOf complex types" - "both oneOf valid (complex)" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "multiple subschemas are valid: 0, 1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "multiple subschemas are valid: 0, 1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 479 - oneOf.json: "oneOf complex types" - "neither oneOf valid (complex)" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/oneOf/0/properties/bar/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0/properties" 181s # }, 181s # { 181s # "error": "got integer, not string", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/oneOf/1/properties/foo/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/1/properties" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/oneOf/0/properties/bar/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0/properties" 181s # }, 181s # { 181s # "error": "got integer, not string", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/oneOf/1/properties/foo/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/1/properties" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 480 - oneOf.json: "oneOf with empty schema" - "one valid - valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 481 - oneOf.json: "oneOf with empty schema" - "both valid - invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "multiple subschemas are valid: 0, 1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "multiple subschemas are valid: 0, 1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 482 - oneOf.json: "oneOf with required" - "both invalid - invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: foo", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0/required" 181s # }, 181s # { 181s # "error": "object is missing properties: foo, baz", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/1/required" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: foo", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0/required" 181s # }, 181s # { 181s # "error": "object is missing properties: foo, baz", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/1/required" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 483 - oneOf.json: "oneOf with required" - "first valid - valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 484 - oneOf.json: "oneOf with required" - "second valid - valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 485 - oneOf.json: "oneOf with required" - "both valid - invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "multiple subschemas are valid: 0, 1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "multiple subschemas are valid: 0, 1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 486 - oneOf.json: "oneOf with missing optional property" - "first oneOf valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 487 - oneOf.json: "oneOf with missing optional property" - "second oneOf valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 488 - oneOf.json: "oneOf with missing optional property" - "both oneOf valid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "multiple subschemas are valid: 0, 1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "multiple subschemas are valid: 0, 1", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 489 - oneOf.json: "oneOf with missing optional property" - "neither oneOf valid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: bar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0/required" 181s # }, 181s # { 181s # "error": "object is missing property: foo", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/1/required" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: bar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0/required" 181s # }, 181s # { 181s # "error": "object is missing property: foo", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/1/required" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 490 - oneOf.json: "nested oneOf, to check validation semantics" - "null is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 491 - oneOf.json: "nested oneOf, to check validation semantics" - "anything non-null is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0/oneOf/0/type" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0/oneOf" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0/oneOf/0/type" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0/oneOf" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s ok 492 - pattern.json: "pattern validation" - "a matching pattern is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 493 - pattern.json: "pattern validation" - "a non-matching pattern is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 494 - pattern.json: "pattern validation" - "ignores booleans" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 495 - pattern.json: "pattern validation" - "ignores integers" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 496 - pattern.json: "pattern validation" - "ignores floats" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 497 - pattern.json: "pattern validation" - "ignores objects" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 498 - pattern.json: "pattern validation" - "ignores arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 499 - pattern.json: "pattern validation" - "ignores null" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 500 - pattern.json: "pattern is not anchored" - "matches a substring" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s # 181s ok 501 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single valid match is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 502 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple valid matches is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 503 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single invalid match is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/patternProperties/f.*o/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/patternProperties/f.*o/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 504 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple invalid matches is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/patternProperties/f.*o/type" 181s # }, 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/foooooo", 181s # "keywordLocation": "/patternProperties/f.*o/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/patternProperties/f.*o/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 505 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 506 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores strings" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 507 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores other non-objects" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 508 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a single valid match is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 509 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a simultaneous match is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 510 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "multiple matches is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 511 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to one is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/a", 181s # "keywordLocation": "/patternProperties/a*/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/a", 181s # "keywordLocation": "/patternProperties/a*/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 512 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to the other is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is greater than 20", 181s # "instanceLocation": "/aaaa", 181s # "keywordLocation": "/patternProperties/aaa*/maximum" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is greater than 20", 181s # "instanceLocation": "/aaaa", 181s # "keywordLocation": "/patternProperties/aaa*/maximum" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 513 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to both is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/aaa", 181s # "keywordLocation": "/patternProperties/a*/type" 181s # }, 181s # { 181s # "error": "value is greater than 20", 181s # "instanceLocation": "/aaaa", 181s # "keywordLocation": "/patternProperties/aaa*/maximum" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/aaa", 181s # "keywordLocation": "/patternProperties/a*/type" 181s # }, 181s # { 181s # "error": "value is greater than 20", 181s # "instanceLocation": "/aaaa", 181s # "keywordLocation": "/patternProperties/aaa*/maximum" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 514 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "non recognized members are ignored" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 515 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "recognized members are accounted for" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got null, not boolean", 181s # "instanceLocation": "/a31b", 181s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got null, not boolean", 181s # "instanceLocation": "/a31b", 181s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 516 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 517 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive, 2" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not string", 181s # "instanceLocation": "/a_X_3", 181s # "keywordLocation": "/patternProperties/X_/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not string", 181s # "instanceLocation": "/a_X_3", 181s # "keywordLocation": "/patternProperties/X_/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 518 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema true is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 519 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema false is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "property not permitted", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/patternProperties/b.*" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "property not permitted", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/patternProperties/b.*" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 520 - patternProperties.json: "patternProperties with boolean schemas" - "object with both properties is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "property not permitted", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/patternProperties/b.*" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "property not permitted", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/patternProperties/b.*" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 521 - patternProperties.json: "patternProperties with boolean schemas" - "object with a property matching both true and false is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "property not permitted", 181s # "instanceLocation": "/foobar", 181s # "keywordLocation": "/patternProperties/b.*" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "property not permitted", 181s # "instanceLocation": "/foobar", 181s # "keywordLocation": "/patternProperties/b.*" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 522 - patternProperties.json: "patternProperties with boolean schemas" - "empty object is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 523 - patternProperties.json: "patternProperties with null valued instance properties" - "allows null values" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s # 181s ok 524 - properties.json: "object properties validation" - "both properties present and valid is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 525 - properties.json: "object properties validation" - "one property invalid is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got object, not string", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/properties/bar/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got object, not string", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/properties/bar/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 526 - properties.json: "object properties validation" - "both properties invalid is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got object, not string", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/properties/bar/type" 181s # }, 181s # { 181s # "error": "got array, not integer", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got object, not string", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/properties/bar/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 527 - properties.json: "object properties validation" - "doesn't invalidate other properties" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 528 - properties.json: "object properties validation" - "ignores arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 529 - properties.json: "object properties validation" - "ignores other non-objects" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 530 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property validates property" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 531 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property invalidates property" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "array has more than 3 items", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/maxItems" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "array has more than 3 items", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/maxItems" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 532 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates property" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "array has fewer than 2 items", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/patternProperties/f.o/minItems" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "array has fewer than 2 items", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/patternProperties/f.o/minItems" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 533 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty validates nonproperty" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 534 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates nonproperty" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "array has fewer than 2 items", 181s # "instanceLocation": "/fxo", 181s # "keywordLocation": "/patternProperties/f.o/minItems" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "array has fewer than 2 items", 181s # "instanceLocation": "/fxo", 181s # "keywordLocation": "/patternProperties/f.o/minItems" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 535 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty ignores property" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 536 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty validates others" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 537 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty invalidates others" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/quux", 181s # "keywordLocation": "/additionalProperties/type" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/quux", 181s # "keywordLocation": "/additionalProperties/type" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 538 - properties.json: "properties with boolean schema" - "no property present is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 539 - properties.json: "properties with boolean schema" - "only 'true' property present is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 540 - properties.json: "properties with boolean schema" - "only 'false' property present is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "property not permitted", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/properties/bar" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "property not permitted", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/properties/bar" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 541 - properties.json: "properties with boolean schema" - "both properties present is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "property not permitted", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/properties/bar" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "property not permitted", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/properties/bar" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 542 - properties.json: "properties with escaped characters" - "object with all numbers is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 543 - properties.json: "properties with escaped characters" - "object with strings is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not number", 181s # "instanceLocation": "/foo\tbar", 181s # "keywordLocation": "/properties/foo\tbar/type" 181s # }, 181s # { 181s # "error": "got string, not number", 181s # "instanceLocation": "/foo\nbar", 181s # "keywordLocation": "/properties/foo\nbar/type" 181s # }, 181s # { 181s # "error": "got string, not number", 181s # "instanceLocation": "/foo\fbar", 181s # "keywordLocation": "/properties/foo\fbar/type" 181s # }, 181s # { 181s # "error": "got string, not number", 181s # "instanceLocation": "/foo\rbar", 181s # "keywordLocation": "/properties/foo\rbar/type" 181s # }, 181s # { 181s # "error": "got string, not number", 181s # "instanceLocation": "/foo\"bar", 181s # "keywordLocation": "/properties/foo\"bar/type" 181s # }, 181s # { 181s # "error": "got string, not number", 181s # "instanceLocation": "/foo\\bar", 181s # "keywordLocation": "/properties/foo\\bar/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not number", 181s # "instanceLocation": "/foo\tbar", 181s # "keywordLocation": "/properties/foo\tbar/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 544 - properties.json: "properties with null valued instance properties" - "allows null values" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 545 - properties.json: "properties whose names are Javascript object property names" - "ignores arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 546 - properties.json: "properties whose names are Javascript object property names" - "ignores other non-objects" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 547 - properties.json: "properties whose names are Javascript object property names" - "none of the properties mentioned" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 548 - properties.json: "properties whose names are Javascript object property names" - "__proto__ not valid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not number", 181s # "instanceLocation": "/__proto__", 181s # "keywordLocation": "/properties/__proto__/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not number", 181s # "instanceLocation": "/__proto__", 181s # "keywordLocation": "/properties/__proto__/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 549 - properties.json: "properties whose names are Javascript object property names" - "toString not valid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not string", 181s # "instanceLocation": "/toString/length", 181s # "keywordLocation": "/properties/toString/properties/length/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "/toString", 181s # "keywordLocation": "/properties/toString/properties" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not string", 181s # "instanceLocation": "/toString/length", 181s # "keywordLocation": "/properties/toString/properties/length/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "/toString", 181s # "keywordLocation": "/properties/toString/properties" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 550 - properties.json: "properties whose names are Javascript object property names" - "constructor not valid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got object, not number", 181s # "instanceLocation": "/constructor", 181s # "keywordLocation": "/properties/constructor/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got object, not number", 181s # "instanceLocation": "/constructor", 181s # "keywordLocation": "/properties/constructor/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 551 - properties.json: "properties whose names are Javascript object property names" - "all present and valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s # 181s ok 552 - propertyNames.json: "propertyNames validation" - "all property names valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 553 - propertyNames.json: "propertyNames validation" - "some property names invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "length is greater than 3", 181s # "instanceLocation": "/foobar", 181s # "keywordLocation": "/propertyNames/maxLength" 181s # }, 181s # { 181s # "error": "not all property names are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/propertyNames" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "length is greater than 3", 181s # "instanceLocation": "/foobar", 181s # "keywordLocation": "/propertyNames/maxLength" 181s # }, 181s # { 181s # "error": "not all property names are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/propertyNames" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 554 - propertyNames.json: "propertyNames validation" - "object without properties is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 555 - propertyNames.json: "propertyNames validation" - "ignores arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 556 - propertyNames.json: "propertyNames validation" - "ignores strings" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 557 - propertyNames.json: "propertyNames validation" - "ignores other non-objects" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 558 - propertyNames.json: "propertyNames validation with pattern" - "matching property names valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 559 - propertyNames.json: "propertyNames validation with pattern" - "non-matching property name is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "/aaA", 181s # "keywordLocation": "/propertyNames/pattern" 181s # }, 181s # { 181s # "error": "not all property names are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/propertyNames" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "/aaA", 181s # "keywordLocation": "/propertyNames/pattern" 181s # }, 181s # { 181s # "error": "not all property names are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/propertyNames" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 560 - propertyNames.json: "propertyNames validation with pattern" - "object without properties is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 561 - propertyNames.json: "propertyNames with boolean schema true" - "object with any properties is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 562 - propertyNames.json: "propertyNames with boolean schema true" - "empty object is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 563 - propertyNames.json: "propertyNames with boolean schema false" - "object with any properties is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/propertyNames" 181s # }, 181s # { 181s # "error": "not all property names are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/propertyNames" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "subschema is false", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/propertyNames" 181s # }, 181s # { 181s # "error": "not all property names are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/propertyNames" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 564 - propertyNames.json: "propertyNames with boolean schema false" - "empty object is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s # 181s ok 565 - ref.json: "root pointer ref" - "match" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 566 - ref.json: "root pointer ref" - "recursive match" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 567 - ref.json: "root pointer ref" - "mismatch" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 568 - ref.json: "root pointer ref" - "recursive mismatch" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/additionalProperties", 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/foo/bar", 181s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "#/additionalProperties", 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/additionalProperties", 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/foo/bar", 181s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "#/additionalProperties", 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 569 - ref.json: "relative pointer ref to object" - "match" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 570 - ref.json: "relative pointer ref to object" - "mismatch" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/properties/foo/type", 181s # "error": "got boolean, not integer", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/properties/bar/$ref/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/properties/foo/type", 181s # "error": "got boolean, not integer", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/properties/bar/$ref/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 571 - ref.json: "relative pointer ref to array" - "match array" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 572 - ref.json: "relative pointer ref to array" - "mismatch array" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/items/0/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/items/1/$ref/type" 181s # }, 181s # { 181s # "error": "not all items are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/items/0/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "/1", 181s # "keywordLocation": "/items/1/$ref/type" 181s # }, 181s # { 181s # "error": "not all items are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 573 - ref.json: "escaped pointer ref" - "slash invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/slash~1field/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "/slash", 181s # "keywordLocation": "/properties/slash/$ref/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/slash~1field/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "/slash", 181s # "keywordLocation": "/properties/slash/$ref/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 574 - ref.json: "escaped pointer ref" - "tilde invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/tilde~0field/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "/tilde", 181s # "keywordLocation": "/properties/tilde/$ref/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/tilde~0field/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "/tilde", 181s # "keywordLocation": "/properties/tilde/$ref/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 575 - ref.json: "escaped pointer ref" - "percent invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/percent%25field/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "/percent", 181s # "keywordLocation": "/properties/percent/$ref/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/percent%25field/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "/percent", 181s # "keywordLocation": "/properties/percent/$ref/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 576 - ref.json: "escaped pointer ref" - "slash valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 577 - ref.json: "escaped pointer ref" - "tilde valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 578 - ref.json: "escaped pointer ref" - "percent valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 579 - ref.json: "nested refs" - "nested ref valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 580 - ref.json: "nested refs" - "nested ref invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/a/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/$ref/$ref/type" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/a/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/$ref/$ref/type" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 581 - ref.json: "ref overrides any sibling keywords" - "ref valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 582 - ref.json: "ref overrides any sibling keywords" - "ref valid, maxItems ignored" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 583 - ref.json: "ref overrides any sibling keywords" - "ref invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/reffed/type", 181s # "error": "got string, not array", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/$ref/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/reffed/type", 181s # "error": "got string, not array", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/$ref/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 584 - ref.json: "$ref prevents a sibling $id from changing the base uri" - "$ref resolves to /definitions/base_foo, data does not validate" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/foo.json#/type", 181s # "error": "got string, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/foo.json#/type", 181s # "error": "got string, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 585 - ref.json: "$ref prevents a sibling $id from changing the base uri" - "$ref resolves to /definitions/base_foo, data validates" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 586 - ref.json: "remote ref, containing refs itself" - "remote ref valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 587 - ref.json: "remote ref, containing refs itself" - "remote ref invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/definitions/nonNegativeInteger/minimum", 181s # "error": "value is less than 0", 181s # "instanceLocation": "/minLength", 181s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf/0/$ref/minimum" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/definitions/nonNegativeIntegerDefault0/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "/minLength", 181s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/$ref/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/definitions/nonNegativeInteger/minimum", 181s # "error": "value is less than 0", 181s # "instanceLocation": "/minLength", 181s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf/0/$ref/minimum" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/definitions/nonNegativeIntegerDefault0/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "/minLength", 181s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://json-schema.org/draft-06/schema#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/$ref/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 588 - ref.json: "property named $ref that is not a reference" - "property named $ref valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 589 - ref.json: "property named $ref that is not a reference" - "property named $ref invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not string", 181s # "instanceLocation": "/$ref", 181s # "keywordLocation": "/properties/$ref/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not string", 181s # "instanceLocation": "/$ref", 181s # "keywordLocation": "/properties/$ref/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 590 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 591 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/is-string/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/$ref", 181s # "keywordLocation": "/properties/$ref/$ref/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/is-string/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/$ref", 181s # "keywordLocation": "/properties/$ref/$ref/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 592 - ref.json: "$ref to boolean schema true" - "any value is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 593 - ref.json: "$ref to boolean schema false" - "any value is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/bool", 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/bool", 181s # "error": "subschema is false", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 594 - ref.json: "Recursive references between schemas" - "valid tree" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 595 - ref.json: "Recursive references between schemas" - "invalid tree" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties/value/type", 181s # "error": "got string, not number", 181s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 181s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "/nodes/0/subtree/nodes/0", 181s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/nodes/0/subtree/nodes", 181s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "/nodes/0/subtree", 181s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "/nodes/0", 181s # "keywordLocation": "/properties/nodes/items/$ref/properties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/nodes", 181s # "keywordLocation": "/properties/nodes/items" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties/value/type", 181s # "error": "got string, not number", 181s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 181s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "/nodes/0/subtree/nodes/0", 181s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/nodes/0/subtree/nodes", 181s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "/nodes/0/subtree", 181s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "/nodes/0", 181s # "keywordLocation": "/properties/nodes/items/$ref/properties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/nodes", 181s # "keywordLocation": "/properties/nodes/items" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 596 - ref.json: "refs with quote" - "object with numbers is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 597 - ref.json: "refs with quote" - "object with strings is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/foo%22bar/type", 181s # "error": "got string, not number", 181s # "instanceLocation": "/foo\"bar", 181s # "keywordLocation": "/properties/foo\"bar/$ref/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/foo%22bar/type", 181s # "error": "got string, not number", 181s # "instanceLocation": "/foo\"bar", 181s # "keywordLocation": "/properties/foo\"bar/$ref/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 598 - ref.json: "Location-independent identifier" - "match" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 599 - ref.json: "Location-independent identifier" - "mismatch" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/A/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/type" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/A/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/type" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 600 - ref.json: "Reference an anchor with a non-relative URI" - "match" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 601 - ref.json: "Reference an anchor with a non-relative URI" - "mismatch" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/definitions/A/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/definitions/A/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 602 - ref.json: "Location-independent identifier with base URI change in subschema" - "match" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 603 - ref.json: "Location-independent identifier with base URI change in subschema" - "mismatch" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/nested.json#/definitions/B/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/root#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/nested.json#/definitions/B/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/root#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 604 - ref.json: "naive replacement of $ref with its destination is not correct" - "do not evaluate the $ref inside the enum, matching any string" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 605 - ref.json: "naive replacement of $ref with its destination is not correct" - "do not evaluate the $ref inside the enum, definition exact match" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/enum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 606 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 607 - ref.json: "refs with relative uris and defs" - "invalid on inner field" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/foo/bar", 181s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/allOf" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/foo/bar", 181s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/allOf" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 608 - ref.json: "refs with relative uris and defs" - "invalid on outer field" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/allOf" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/allOf" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 609 - ref.json: "refs with relative uris and defs" - "valid on both fields" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 610 - ref.json: "relative refs with absolute uris and defs" - "invalid on inner field" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/foo/bar", 181s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/allOf" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/foo/bar", 181s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/allOf" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 611 - ref.json: "relative refs with absolute uris and defs" - "invalid on outer field" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/allOf" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/allOf" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 612 - ref.json: "relative refs with absolute uris and defs" - "valid on both fields" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 613 - ref.json: "simple URN base URI with $ref via the URN" - "valid under the URN IDed schema" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 614 - ref.json: "simple URN base URI with $ref via the URN" - "invalid under the URN IDed schema" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 181s # "error": "value is less than 30", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/$ref/minimum" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 181s # "error": "value is less than 30", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/$ref/minimum" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 615 - ref.json: "simple URN base URI with JSON pointer" - "a string is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 616 - ref.json: "simple URN base URI with JSON pointer" - "a non-string is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/definitions/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/definitions/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 617 - ref.json: "URN base URI with NSS" - "a string is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 618 - ref.json: "URN base URI with NSS" - "a non-string is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/definitions/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/definitions/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 619 - ref.json: "URN base URI with r-component" - "a string is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 620 - ref.json: "URN base URI with r-component" - "a non-string is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/definitions/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/definitions/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 621 - ref.json: "URN base URI with q-component" - "a string is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 622 - ref.json: "URN base URI with q-component" - "a non-string is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/definitions/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/definitions/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 623 - ref.json: "URN base URI with URN and JSON pointer ref" - "a string is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 624 - ref.json: "URN base URI with URN and JSON pointer ref" - "a non-string is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/definitions/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/definitions/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 625 - ref.json: "URN base URI with URN and anchor ref" - "a string is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 626 - ref.json: "URN base URI with URN and anchor ref" - "a non-string is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/definitions/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/definitions/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/foo", 181s # "keywordLocation": "/properties/foo/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 627 - ref.json: "ref with absolute-path-reference" - "a string is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 628 - ref.json: "ref with absolute-path-reference" - "an integer is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/ref/absref.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://example.com/ref/absref.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 629 - ref.json: "$id with file URI still resolves pointers - *nix" - "number is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 630 - ref.json: "$id with file URI still resolves pointers - *nix" - "non-number is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "file:///folder/file.json#/definitions/foo/type", 181s # "error": "got string, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "file:///folder/file.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "file:///folder/file.json#/definitions/foo/type", 181s # "error": "got string, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "file:///folder/file.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 631 - ref.json: "$id with file URI still resolves pointers - windows" - "number is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 632 - ref.json: "$id with file URI still resolves pointers - windows" - "non-number is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/definitions/foo/type", 181s # "error": "got string, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/definitions/foo/type", 181s # "error": "got string, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 633 - ref.json: "empty tokens in $ref json-pointer" - "number is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 634 - ref.json: "empty tokens in $ref json-pointer" - "non-number is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions//definitions//type", 181s # "error": "got string, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/type" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions//definitions//type", 181s # "error": "got string, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/type" 181s # }, 181s # { 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s ok 635 - refRemote.json: "remote ref" - "remote ref valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 636 - refRemote.json: "remote ref" - "remote ref invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/$ref/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/$ref/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 637 - refRemote.json: "fragment within remote ref" - "remote fragment valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 638 - refRemote.json: "fragment within remote ref" - "remote fragment invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/$ref/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/$ref/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 639 - refRemote.json: "ref within remote ref" - "ref within ref valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 640 - refRemote.json: "ref within remote ref" - "ref within ref invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/$ref/$ref/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/$ref/$ref/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 641 - refRemote.json: "base URI change" - "base URI change ref valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 642 - refRemote.json: "base URI change" - "base URI change ref invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "/0/0", 181s # "keywordLocation": "/items/items/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChange/#/items", 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/items/items" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/#/items", 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "/0/0", 181s # "keywordLocation": "/items/items/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChange/#/items", 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/0", 181s # "keywordLocation": "/items/items" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/#/items", 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/items" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 643 - refRemote.json: "base URI change - change folder" - "number is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 644 - refRemote.json: "base URI change - change folder" - "string is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "/list/0", 181s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolder/#/items", 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/list", 181s # "keywordLocation": "/properties/list/$ref/items" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs1.json#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "/list/0", 181s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolder/#/items", 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/list", 181s # "keywordLocation": "/properties/list/$ref/items" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs1.json#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 645 - refRemote.json: "base URI change - change folder in subschema" - "number is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 646 - refRemote.json: "base URI change - change folder in subschema" - "string is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "/list/0", 181s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/list", 181s # "keywordLocation": "/properties/list/$ref/items" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs2.json#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "/list/0", 181s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 181s # "error": "subschema is not valid against all items", 181s # "instanceLocation": "/list", 181s # "keywordLocation": "/properties/list/$ref/items" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs2.json#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 647 - refRemote.json: "root ref in remote ref" - "string is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 648 - refRemote.json: "root ref in remote ref" - "null is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 649 - refRemote.json: "root ref in remote ref" - "object is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf/0/type", 181s # "error": "got object, not null", 181s # "instanceLocation": "/name", 181s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/type", 181s # "error": "got object, not string", 181s # "instanceLocation": "/name", 181s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf", 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "/name", 181s # "keywordLocation": "/properties/name/$ref/anyOf" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/object#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf/0/type", 181s # "error": "got object, not null", 181s # "instanceLocation": "/name", 181s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/type", 181s # "error": "got object, not string", 181s # "instanceLocation": "/name", 181s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf", 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "/name", 181s # "keywordLocation": "/properties/name/$ref/anyOf" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/object#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 650 - refRemote.json: "remote ref with ref to definitions" - "invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/allOf" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/schema-remote-ref-ref-defs1.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties/bar/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/bar", 181s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf/0/$ref/allOf" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/schema-remote-ref-ref-defs1.json#/allOf", 181s # "error": "subschema 0 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/allOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 651 - refRemote.json: "remote ref with ref to definitions" - "valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 652 - refRemote.json: "Location-independent identifier in remote ref" - "integer is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 653 - refRemote.json: "Location-independent identifier in remote ref" - "string is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/locationIndependentIdentifierPre2019.json#/definitions/A/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/$ref/$ref/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/locationIndependentIdentifierPre2019.json#/definitions/A/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/$ref/$ref/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 654 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "number is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/name/foo", 181s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/nested/foo-ref-string.json#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "/name", 181s # "keywordLocation": "/properties/name/$ref/properties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/some-id#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "/name/foo", 181s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/nested/foo-ref-string.json#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "/name", 181s # "keywordLocation": "/properties/name/$ref/properties" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/some-id#/properties", 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/properties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 655 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "string is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 656 - refRemote.json: "$ref to $ref finds location-independent $id" - "number is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 657 - refRemote.json: "$ref to $ref finds location-independent $id" - "non-number is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/draft6/detached-ref.json#/definitions/detached/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/$ref/$ref/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/draft6/detached-ref.json#/definitions/detached/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/$ref/$ref/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s ok 658 - required.json: "required validation" - "present required property is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 659 - required.json: "required validation" - "non-present required property is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: foo", 181s # "instanceLocation": "", 181s # "keywordLocation": "/required" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing property: foo", 181s # "instanceLocation": "", 181s # "keywordLocation": "/required" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 660 - required.json: "required validation" - "ignores arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 661 - required.json: "required validation" - "ignores strings" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 662 - required.json: "required validation" - "ignores other non-objects" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 663 - required.json: "required default validation" - "not required by default" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 664 - required.json: "required with empty array" - "property not required" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 665 - required.json: "required with escaped characters" - "object with all properties present is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 666 - required.json: "required with escaped characters" - "object with some properties missing is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/required" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 181s # "instanceLocation": "", 181s # "keywordLocation": "/required" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 667 - required.json: "required properties whose names are Javascript object property names" - "ignores arrays" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 668 - required.json: "required properties whose names are Javascript object property names" - "ignores other non-objects" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 669 - required.json: "required properties whose names are Javascript object property names" - "none of the properties mentioned" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing properties: __proto__, toString, constructor", 181s # "instanceLocation": "", 181s # "keywordLocation": "/required" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing properties: __proto__, toString, constructor", 181s # "instanceLocation": "", 181s # "keywordLocation": "/required" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 670 - required.json: "required properties whose names are Javascript object property names" - "__proto__ present" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing properties: toString, constructor", 181s # "instanceLocation": "", 181s # "keywordLocation": "/required" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing properties: toString, constructor", 181s # "instanceLocation": "", 181s # "keywordLocation": "/required" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 671 - required.json: "required properties whose names are Javascript object property names" - "toString present" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing properties: __proto__, constructor", 181s # "instanceLocation": "", 181s # "keywordLocation": "/required" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing properties: __proto__, constructor", 181s # "instanceLocation": "", 181s # "keywordLocation": "/required" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 672 - required.json: "required properties whose names are Javascript object property names" - "constructor present" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing properties: __proto__, toString", 181s # "instanceLocation": "", 181s # "keywordLocation": "/required" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "object is missing properties: __proto__, toString", 181s # "instanceLocation": "", 181s # "keywordLocation": "/required" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 673 - required.json: "required properties whose names are Javascript object property names" - "all present" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s # 181s ok 674 - type.json: "integer type matches integers" - "an integer is an integer" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 675 - type.json: "integer type matches integers" - "a float with zero fractional part is an integer" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 676 - type.json: "integer type matches integers" - "a float is not an integer" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got number, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got number, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 677 - type.json: "integer type matches integers" - "a string is not an integer" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 678 - type.json: "integer type matches integers" - "a string is still not an integer, even if it looks like one" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got string, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 679 - type.json: "integer type matches integers" - "an object is not an integer" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got object, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got object, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 680 - type.json: "integer type matches integers" - "an array is not an integer" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got array, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got array, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 681 - type.json: "integer type matches integers" - "a boolean is not an integer" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got boolean, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got boolean, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 682 - type.json: "integer type matches integers" - "null is not an integer" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got null, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 181s # "error": "got null, not integer", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 683 - type.json: "number type matches numbers" - "an integer is a number" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 684 - type.json: "number type matches numbers" - "a float with zero fractional part is a number (and an integer)" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 685 - type.json: "number type matches numbers" - "a float is a number" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 686 - type.json: "number type matches numbers" - "a string is not a number" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 687 - type.json: "number type matches numbers" - "a string is still not a number, even if it looks like one" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 688 - type.json: "number type matches numbers" - "an object is not a number" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got object, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got object, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 689 - type.json: "number type matches numbers" - "an array is not a number" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got array, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got array, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 690 - type.json: "number type matches numbers" - "a boolean is not a number" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got boolean, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got boolean, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 691 - type.json: "number type matches numbers" - "null is not a number" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got null, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got null, not number", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 692 - type.json: "string type matches strings" - "1 is not a string" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 693 - type.json: "string type matches strings" - "a float is not a string" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 181s # "error": "got number, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 181s # "error": "got number, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 694 - type.json: "string type matches strings" - "a string is a string" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 695 - type.json: "string type matches strings" - "a string is still a string, even if it looks like a number" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 696 - type.json: "string type matches strings" - "an empty string is still a string" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 697 - type.json: "string type matches strings" - "an object is not a string" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 181s # "error": "got object, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 181s # "error": "got object, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 698 - type.json: "string type matches strings" - "an array is not a string" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 181s # "error": "got array, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 181s # "error": "got array, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 699 - type.json: "string type matches strings" - "a boolean is not a string" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 181s # "error": "got boolean, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 181s # "error": "got boolean, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 700 - type.json: "string type matches strings" - "null is not a string" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 181s # "error": "got null, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 181s # "error": "got null, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 701 - type.json: "object type matches objects" - "an integer is not an object" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not object", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not object", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 702 - type.json: "object type matches objects" - "a float is not an object" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got number, not object", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got number, not object", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 703 - type.json: "object type matches objects" - "a string is not an object" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not object", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not object", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 704 - type.json: "object type matches objects" - "an object is an object" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 705 - type.json: "object type matches objects" - "an array is not an object" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got array, not object", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got array, not object", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 706 - type.json: "object type matches objects" - "a boolean is not an object" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got boolean, not object", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got boolean, not object", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 707 - type.json: "object type matches objects" - "null is not an object" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got null, not object", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got null, not object", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 708 - type.json: "array type matches arrays" - "an integer is not an array" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not array", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not array", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 709 - type.json: "array type matches arrays" - "a float is not an array" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got number, not array", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got number, not array", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 710 - type.json: "array type matches arrays" - "a string is not an array" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not array", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not array", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 711 - type.json: "array type matches arrays" - "an object is not an array" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got object, not array", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got object, not array", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 712 - type.json: "array type matches arrays" - "an array is an array" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 713 - type.json: "array type matches arrays" - "a boolean is not an array" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got boolean, not array", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got boolean, not array", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 714 - type.json: "array type matches arrays" - "null is not an array" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got null, not array", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got null, not array", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 715 - type.json: "boolean type matches booleans" - "an integer is not a boolean" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not boolean", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not boolean", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 716 - type.json: "boolean type matches booleans" - "zero is not a boolean" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not boolean", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not boolean", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 717 - type.json: "boolean type matches booleans" - "a float is not a boolean" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got number, not boolean", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got number, not boolean", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 718 - type.json: "boolean type matches booleans" - "a string is not a boolean" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not boolean", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not boolean", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 719 - type.json: "boolean type matches booleans" - "an empty string is not a boolean" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not boolean", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not boolean", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 720 - type.json: "boolean type matches booleans" - "an object is not a boolean" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got object, not boolean", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got object, not boolean", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 721 - type.json: "boolean type matches booleans" - "an array is not a boolean" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got array, not boolean", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got array, not boolean", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 722 - type.json: "boolean type matches booleans" - "true is a boolean" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 723 - type.json: "boolean type matches booleans" - "false is a boolean" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 724 - type.json: "boolean type matches booleans" - "null is not a boolean" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got null, not boolean", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got null, not boolean", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 725 - type.json: "null type matches only the null object" - "an integer is not null" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 726 - type.json: "null type matches only the null object" - "a float is not null" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got number, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got number, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 727 - type.json: "null type matches only the null object" - "zero is not null" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 728 - type.json: "null type matches only the null object" - "a string is not null" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 729 - type.json: "null type matches only the null object" - "an empty string is not null" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 730 - type.json: "null type matches only the null object" - "an object is not null" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got object, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got object, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 731 - type.json: "null type matches only the null object" - "an array is not null" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got array, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got array, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 732 - type.json: "null type matches only the null object" - "true is not null" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got boolean, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got boolean, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 733 - type.json: "null type matches only the null object" - "false is not null" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got boolean, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got boolean, not null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 734 - type.json: "null type matches only the null object" - "null is null" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 735 - type.json: "multiple types can be specified in an array" - "an integer is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 736 - type.json: "multiple types can be specified in an array" - "a string is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 737 - type.json: "multiple types can be specified in an array" - "a float is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got number, not one of integer, string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got number, not one of integer, string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 738 - type.json: "multiple types can be specified in an array" - "an object is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got object, not one of integer, string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got object, not one of integer, string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 739 - type.json: "multiple types can be specified in an array" - "an array is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got array, not one of integer, string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got array, not one of integer, string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 740 - type.json: "multiple types can be specified in an array" - "a boolean is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got boolean, not one of integer, string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got boolean, not one of integer, string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 741 - type.json: "multiple types can be specified in an array" - "null is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got null, not one of integer, string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got null, not one of integer, string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 742 - type.json: "type as array with one item" - "string is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 743 - type.json: "type as array with one item" - "number is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not one of string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not one of string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 744 - type.json: "type: array or object" - "array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 745 - type.json: "type: array or object" - "object is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 746 - type.json: "type: array or object" - "number is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not one of array, object", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not one of array, object", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 747 - type.json: "type: array or object" - "string is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not one of array, object", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not one of array, object", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 748 - type.json: "type: array or object" - "null is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got null, not one of array, object", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got null, not one of array, object", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 749 - type.json: "type: array, object or null" - "array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 750 - type.json: "type: array, object or null" - "object is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 751 - type.json: "type: array, object or null" - "null is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 752 - type.json: "type: array, object or null" - "number is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not one of array, object, null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got integer, not one of array, object, null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 753 - type.json: "type: array, object or null" - "string is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not one of array, object, null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not one of array, object, null", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s ok 754 - uniqueItems.json: "uniqueItems validation" - "unique array of integers is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 755 - uniqueItems.json: "uniqueItems validation" - "non-unique array of integers is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 756 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two integers is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 2 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 2 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 757 - uniqueItems.json: "uniqueItems validation" - "numbers are unique if mathematically unequal" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 758 - uniqueItems.json: "uniqueItems validation" - "false is not equal to zero" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 759 - uniqueItems.json: "uniqueItems validation" - "true is not equal to one" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 760 - uniqueItems.json: "uniqueItems validation" - "unique array of strings is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 761 - uniqueItems.json: "uniqueItems validation" - "non-unique array of strings is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 2 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 2 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 762 - uniqueItems.json: "uniqueItems validation" - "unique array of objects is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 763 - uniqueItems.json: "uniqueItems validation" - "non-unique array of objects is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 764 - uniqueItems.json: "uniqueItems validation" - "property order of array of objects is ignored" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 765 - uniqueItems.json: "uniqueItems validation" - "unique array of nested objects is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 766 - uniqueItems.json: "uniqueItems validation" - "non-unique array of nested objects is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 767 - uniqueItems.json: "uniqueItems validation" - "unique array of arrays is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 768 - uniqueItems.json: "uniqueItems validation" - "non-unique array of arrays is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 769 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two arrays is invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 2 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 2 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 770 - uniqueItems.json: "uniqueItems validation" - "1 and true are unique" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 771 - uniqueItems.json: "uniqueItems validation" - "0 and false are unique" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 772 - uniqueItems.json: "uniqueItems validation" - "[1] and [true] are unique" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 773 - uniqueItems.json: "uniqueItems validation" - "[0] and [false] are unique" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 774 - uniqueItems.json: "uniqueItems validation" - "nested [1] and [true] are unique" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 775 - uniqueItems.json: "uniqueItems validation" - "nested [0] and [false] are unique" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 776 - uniqueItems.json: "uniqueItems validation" - "unique heterogeneous types are valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 777 - uniqueItems.json: "uniqueItems validation" - "non-unique heterogeneous types are invalid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 4 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 4 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 778 - uniqueItems.json: "uniqueItems validation" - "different objects are unique" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 779 - uniqueItems.json: "uniqueItems validation" - "objects are non-unique despite key order" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 780 - uniqueItems.json: "uniqueItems validation" - "{"a": false} and {"a": 0} are unique" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 781 - uniqueItems.json: "uniqueItems validation" - "{"a": true} and {"a": 1} are unique" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 782 - uniqueItems.json: "uniqueItems with an array of items" - "[false, true] from items array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 783 - uniqueItems.json: "uniqueItems with an array of items" - "[true, false] from items array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 784 - uniqueItems.json: "uniqueItems with an array of items" - "[false, false] from items array is not valid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 785 - uniqueItems.json: "uniqueItems with an array of items" - "[true, true] from items array is not valid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 786 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [false, true] is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 787 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [true, false] is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 788 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [false, true] is not valid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 2 and 3 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 2 and 3 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 789 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [true, false] is not valid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 2 and 3 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 2 and 3 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 790 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 791 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 792 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, false] from items array is not valid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 793 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, true] from items array is not valid" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "items at indices 0 and 1 are not unique", 181s # "instanceLocation": "", 181s # "keywordLocation": "/uniqueItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 794 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "additional item not permitted", 181s # "instanceLocation": "/2", 181s # "keywordLocation": "/additionalItems" 181s # }, 181s # { 181s # "error": "subschema is not valid against all additional items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "additional item not permitted", 181s # "instanceLocation": "/2", 181s # "keywordLocation": "/additionalItems" 181s # }, 181s # { 181s # "error": "subschema is not valid against all additional items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 795 - uniqueItems.json: "uniqueItems=false validation" - "unique array of integers is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 796 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of integers is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 797 - uniqueItems.json: "uniqueItems=false validation" - "numbers are unique if mathematically unequal" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 798 - uniqueItems.json: "uniqueItems=false validation" - "false is not equal to zero" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 799 - uniqueItems.json: "uniqueItems=false validation" - "true is not equal to one" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 800 - uniqueItems.json: "uniqueItems=false validation" - "unique array of objects is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 801 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of objects is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 802 - uniqueItems.json: "uniqueItems=false validation" - "unique array of nested objects is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 803 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of nested objects is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 804 - uniqueItems.json: "uniqueItems=false validation" - "unique array of arrays is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 805 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of arrays is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 806 - uniqueItems.json: "uniqueItems=false validation" - "1 and true are unique" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 807 - uniqueItems.json: "uniqueItems=false validation" - "0 and false are unique" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 808 - uniqueItems.json: "uniqueItems=false validation" - "unique heterogeneous types are valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 809 - uniqueItems.json: "uniqueItems=false validation" - "non-unique heterogeneous types are valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 810 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, true] from items array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 811 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, false] from items array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 812 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, false] from items array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 813 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, true] from items array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 814 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [false, true] is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 815 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [true, false] is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 816 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [false, true] is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 817 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [true, false] is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 818 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 819 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 820 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, false] from items array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 821 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, true] from items array is valid" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 822 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "additional item not permitted", 181s # "instanceLocation": "/2", 181s # "keywordLocation": "/additionalItems" 181s # }, 181s # { 181s # "error": "subschema is not valid against all additional items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "additional item not permitted", 181s # "instanceLocation": "/2", 181s # "keywordLocation": "/additionalItems" 181s # }, 181s # { 181s # "error": "subschema is not valid against all additional items", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalItems" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s ok 823 - optional/bignum.json: "integer" - "a bignum is an integer" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 824 - optional/bignum.json: "integer" - "a negative bignum is an integer" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 825 - optional/bignum.json: "number" - "a bignum is a number" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 826 - optional/bignum.json: "number" - "a negative bignum is a number" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 827 - optional/bignum.json: "string" - "a bignum is not a string" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/type" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 828 - optional/bignum.json: "maximum integer comparison" - "comparison works for high numbers" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 829 - optional/bignum.json: "float comparison with high precision" - "comparison works for high numbers" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 181s # "instanceLocation": "", 181s # "keywordLocation": "/exclusiveMaximum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 181s # "instanceLocation": "", 181s # "keywordLocation": "/exclusiveMaximum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 830 - optional/bignum.json: "minimum integer comparison" - "comparison works for very negative numbers" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 831 - optional/bignum.json: "float comparison with high precision on negative numbers" - "comparison works for very negative numbers" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 181s # "instanceLocation": "", 181s # "keywordLocation": "/exclusiveMinimum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 181s # "instanceLocation": "", 181s # "keywordLocation": "/exclusiveMinimum" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s ok 832 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches in Python, but not in ECMA 262" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 833 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 834 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "does not match" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 835 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "matches" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 836 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "does not match" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 837 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "matches" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 838 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "does not match" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 839 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "matches" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 840 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "ASCII zero matches" { # TODO Test marked TODO via "todo_tests" 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true # 181s 1..1 181s } 181s ok 841 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "NKO DIGIT ZERO does not match (unlike e.g. Python)" { # TODO Test marked TODO via "todo_tests" 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s not ok 1 - evaluation result is incorrect # 181s # Failed test (with amnesty) 'evaluation result is incorrect' 181s # at t/zzz-acceptance-draft6.t line 49. 181s # expected false; got true 181s # data: "\"߀\"" 181s # schema: "{\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 181s # result: { 181s # "valid": true 181s # } 181s 1..1 181s } 181s ok 842 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "NKO DIGIT ZERO (as \u escape) does not match" { # TODO Test marked TODO via "todo_tests" 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s not ok 1 - evaluation result is incorrect # 181s # Failed test (with amnesty) 'evaluation result is incorrect' 181s # at t/zzz-acceptance-draft6.t line 49. 181s # expected false; got true 181s # data: "\"߀\"" 181s # schema: "{\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 181s # result: { 181s # "valid": true 181s # } 181s 1..1 181s } 181s ok 843 - optional/ecmascript-regex.json: "ECMA 262 \D matches everything but ascii digits" - "ASCII zero does not match" { # TODO Test marked TODO via "todo_tests" 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false # 181s 1..1 181s } 181s ok 844 - optional/ecmascript-regex.json: "ECMA 262 \D matches everything but ascii digits" - "NKO DIGIT ZERO matches (unlike e.g. Python)" { # TODO Test marked TODO via "todo_tests" 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s not ok 1 - evaluation result is incorrect # 181s # Failed test (with amnesty) 'evaluation result is incorrect' 181s # at t/zzz-acceptance-draft6.t line 49. 181s # expected true; got false 181s # data: "\"߀\"" 181s # schema: "{\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s 1..1 181s } 181s ok 845 - optional/ecmascript-regex.json: "ECMA 262 \D matches everything but ascii digits" - "NKO DIGIT ZERO (as \u escape) matches" { # TODO Test marked TODO via "todo_tests" 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s not ok 1 - evaluation result is incorrect # 181s # Failed test (with amnesty) 'evaluation result is incorrect' 181s # at t/zzz-acceptance-draft6.t line 49. 181s # expected true; got false 181s # data: "\"߀\"" 181s # schema: "{\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s 1..1 181s } 181s ok 846 - optional/ecmascript-regex.json: "ECMA 262 \w matches ascii letters only" - "ASCII 'a' matches" { # TODO Test marked TODO via "todo_tests" 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true # 181s 1..1 181s } 181s ok 847 - optional/ecmascript-regex.json: "ECMA 262 \w matches ascii letters only" - "latin-1 e-acute does not match (unlike e.g. Python)" { # TODO Test marked TODO via "todo_tests" 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s not ok 1 - evaluation result is incorrect # 181s # Failed test (with amnesty) 'evaluation result is incorrect' 181s # at t/zzz-acceptance-draft6.t line 49. 181s # expected false; got true 181s # data: "\"é\"" 181s # schema: "{\"pattern\":\"^\\\\w$\",\"type\":\"string\"}" 181s # result: { 181s # "valid": true 181s # } 181s 1..1 181s } 181s ok 848 - optional/ecmascript-regex.json: "ECMA 262 \W matches everything but ascii letters" - "ASCII 'a' does not match" { # TODO Test marked TODO via "todo_tests" 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false # 181s 1..1 181s } 181s ok 849 - optional/ecmascript-regex.json: "ECMA 262 \W matches everything but ascii letters" - "latin-1 e-acute matches (unlike e.g. Python)" { # TODO Test marked TODO via "todo_tests" 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s not ok 1 - evaluation result is incorrect # 181s # Failed test (with amnesty) 'evaluation result is incorrect' 181s # at t/zzz-acceptance-draft6.t line 49. 181s # expected true; got false 181s # data: "\"é\"" 181s # schema: "{\"pattern\":\"^\\\\W$\",\"type\":\"string\"}" 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s 1..1 181s } 181s ok 850 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "ASCII space matches" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 851 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Character tabulation matches" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 852 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Line tabulation matches" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 853 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Form feed matches" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 854 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "latin-1 non-breaking-space matches" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 855 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "zero-width whitespace matches" { # TODO Test marked TODO via "todo_tests" 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s not ok 1 - evaluation result is incorrect # 181s # Failed test (with amnesty) 'evaluation result is incorrect' 181s # at t/zzz-acceptance-draft6.t line 49. 181s # expected true; got false 181s # data: "\"\"" 181s # schema: "{\"pattern\":\"^\\\\s$\",\"type\":\"string\"}" 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s 1..1 181s } 181s ok 856 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "line feed matches (line terminator)" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 857 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "paragraph separator matches (line terminator)" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 858 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "EM SPACE matches (Space_Separator)" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 859 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace control does not match" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 860 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace does not match" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 861 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "ASCII space does not match" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 862 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Character tabulation does not match" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 863 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Line tabulation does not match" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 864 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Form feed does not match" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 865 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "latin-1 non-breaking-space does not match" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 866 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "zero-width whitespace does not match" { # TODO Test marked TODO via "todo_tests" 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s not ok 1 - evaluation result is incorrect # 181s # Failed test (with amnesty) 'evaluation result is incorrect' 181s # at t/zzz-acceptance-draft6.t line 49. 181s # expected false; got true 181s # data: "\"\"" 181s # schema: "{\"pattern\":\"^\\\\S$\",\"type\":\"string\"}" 181s # result: { 181s # "valid": true 181s # } 181s 1..1 181s } 181s ok 867 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "line feed does not match (line terminator)" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 868 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "paragraph separator does not match (line terminator)" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 869 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "EM SPACE does not match (Space_Separator)" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 870 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace control matches" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 871 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace matches" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 872 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "ascii character in json string" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 873 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "literal unicode character in json string" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 874 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode character in hex format in string" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 875 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode matching is case-sensitive" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 876 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 877 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "literal unicode character in json string" { # TODO Test marked TODO via "todo_tests" 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s not ok 1 - evaluation result is incorrect # 181s # Failed test (with amnesty) 'evaluation result is incorrect' 181s # at t/zzz-acceptance-draft6.t line 49. 181s # expected false; got true 181s # data: "\"Les hivers de mon enfance étaient des saisons longues, longues. Nous vivions en trois lieux: l'école, l'église et la patinoire; mais la vraie vie était sur la patinoire.\"" 181s # schema: "{\"pattern\":\"\\\\wcole\"}" 181s # result: { 181s # "valid": true 181s # } 181s 1..1 181s } 181s ok 878 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "unicode character in hex format in string" { # TODO Test marked TODO via "todo_tests" 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s not ok 1 - evaluation result is incorrect # 181s # Failed test (with amnesty) 'evaluation result is incorrect' 181s # at t/zzz-acceptance-draft6.t line 49. 181s # expected false; got true 181s # data: "\"Les hivers de mon enfance étaient des saisons longues, longues. Nous vivions en trois lieux: l'école, l'église et la patinoire; mais la vraie vie était sur la patinoire.\"" 181s # schema: "{\"pattern\":\"\\\\wcole\"}" 181s # result: { 181s # "valid": true 181s # } 181s 1..1 181s } 181s ok 879 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 880 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "literal unicode character in json string" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 881 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "unicode character in hex format in string" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 882 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "ascii characters match" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 883 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii digits" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 884 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii non-digits" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 885 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { # TODO Test marked TODO via "todo_tests" 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s not ok 1 - evaluation result is incorrect # 181s # Failed test (with amnesty) 'evaluation result is incorrect' 181s # at t/zzz-acceptance-draft6.t line 49. 181s # expected false; got true 181s # data: "\"৪২\"" 181s # schema: "{\"pattern\":\"^\\\\d+$\"}" 181s # result: { 181s # "valid": true 181s # } 181s 1..1 181s } 181s ok 886 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii digits" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 887 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii non-digits" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 888 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 889 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "ascii character in json string" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 890 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "literal unicode character in json string" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 891 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode character in hex format in string" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 892 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode matching is case-sensitive" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/L'ÉCOLE", 181s # "keywordLocation": "/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/L'ÉCOLE", 181s # "keywordLocation": "/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 893 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 894 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "literal unicode character in json string" { # TODO Test marked TODO via "todo_tests" 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s not ok 1 - evaluation result is incorrect # 181s # Failed test (with amnesty) 'evaluation result is incorrect' 181s # at t/zzz-acceptance-draft6.t line 49. 181s # expected false; got true 181s # data: "{\"l'école\":\"pas de vraie vie\"}" 181s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 181s # result: { 181s # "valid": true 181s # } 181s 1..1 181s } 181s ok 895 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "unicode character in hex format in string" { # TODO Test marked TODO via "todo_tests" 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s not ok 1 - evaluation result is incorrect # 181s # Failed test (with amnesty) 'evaluation result is incorrect' 181s # at t/zzz-acceptance-draft6.t line 49. 181s # expected false; got true 181s # data: "{\"l'école\":\"pas de vraie vie\"}" 181s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 181s # result: { 181s # "valid": true 181s # } 181s 1..1 181s } 181s ok 896 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/L'ÉCOLE", 181s # "keywordLocation": "/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/L'ÉCOLE", 181s # "keywordLocation": "/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 897 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "literal unicode character in json string" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/l'école", 181s # "keywordLocation": "/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/l'école", 181s # "keywordLocation": "/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 898 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "unicode character in hex format in string" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/l'école", 181s # "keywordLocation": "/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/l'école", 181s # "keywordLocation": "/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 899 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "ascii characters match" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 900 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii digits" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 901 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii non-digits" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/-%#", 181s # "keywordLocation": "/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/-%#", 181s # "keywordLocation": "/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 902 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { # TODO Test marked TODO via "todo_tests" 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s not ok 1 - evaluation result is incorrect # 181s # Failed test (with amnesty) 'evaluation result is incorrect' 181s # at t/zzz-acceptance-draft6.t line 49. 181s # expected false; got true 181s # data: "{\"৪২\":\"khajit has wares if you have coin\"}" 181s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"^\\\\d+$\":true},\"type\":\"object\"}" 181s # result: { 181s # "valid": true 181s # } 181s 1..1 181s } 181s ok 903 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii digits" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 904 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii non-digits" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/-%#", 181s # "keywordLocation": "/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "additional property not permitted", 181s # "instanceLocation": "/-%#", 181s # "keywordLocation": "/additionalProperties" 181s # }, 181s # { 181s # "error": "not all additional properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/additionalProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 905 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s # 181s ok 906 - optional/float-overflow.json: "all integers are multiples of 0.5, if overflow is handled" - "valid if optional overflow handling is implemented" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s # 181s ok 907 - optional/id.json: "id inside an enum is not a real identifier" - "exact match to enum, and type matches" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 908 - optional/id.json: "id inside an enum is not a real identifier" - "match $ref to id" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 909 - optional/id.json: "id inside an enum is not a real identifier" - "no match on enum or $ref to id" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/id_in_enum/enum", 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/$ref/enum" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "https://localhost:1234/id/my_identifier.json#/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/1/$ref/type" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/id_in_enum/enum", 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/$ref/enum" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "https://localhost:1234/id/my_identifier.json#/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/1/$ref/type" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 910 - optional/id.json: "non-schema object containing a plain-name $id property" - "skip traversing definition for a valid result" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 911 - optional/id.json: "non-schema object containing a plain-name $id property" - "const at const_not_anchor does not match" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0/const" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/1/allOf/1/$ref/const" 181s # }, 181s # { 181s # "error": "subschema 1 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/1/allOf" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0/const" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/1/allOf/1/$ref/const" 181s # }, 181s # { 181s # "error": "subschema 1 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/1/allOf" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 912 - optional/id.json: "non-schema object containing an $id property" - "skip traversing definition for a valid result" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 913 - optional/id.json: "non-schema object containing an $id property" - "const at const_not_id does not match" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0/const" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/1/allOf/1/$ref/const" 181s # }, 181s # { 181s # "error": "subschema 1 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/1/allOf" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/0/const" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 181s # "error": "value does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/1/allOf/1/$ref/const" 181s # }, 181s # { 181s # "error": "subschema 1 is not valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf/1/allOf" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/oneOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s ok 914 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches empty" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 915 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches single" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 916 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches two" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 917 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 918 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 919 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one ASCII" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 920 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two ASCII" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "pattern does not match", 181s # "instanceLocation": "", 181s # "keywordLocation": "/pattern" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 921 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches empty" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 922 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches single" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 923 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches two" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 924 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match one" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/🐲", 181s # "keywordLocation": "/patternProperties/^🐲*$/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/🐲", 181s # "keywordLocation": "/patternProperties/^🐲*$/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 925 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match two" { 181s # result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/🐲🐲", 181s # "keywordLocation": "/patternProperties/^🐲*$/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "error": "got string, not integer", 181s # "instanceLocation": "/🐲🐲", 181s # "keywordLocation": "/patternProperties/^🐲*$/type" 181s # }, 181s # { 181s # "error": "not all properties are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/patternProperties" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s ok 926 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches second anyOf, which has a real schema in it" { 181s # result: { 181s # "valid": true 181s # } 181s # short-circuited result: { 181s # "valid": true 181s # } 181s ok 1 - test passes: data is valid: true 181s 1..1 181s } 181s ok 927 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in first anyOf" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/$ref/not" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/1/$ref/not" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 181s # "error": "got null, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/2/$ref/type" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/$ref/not" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/1/$ref/not" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 181s # "error": "got null, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/2/$ref/type" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s ok 928 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in third anyOf" { 181s # result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/$ref/not" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/1/$ref/not" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/2/$ref/type" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s # short-circuited result: { 181s # "errors": [ 181s # { 181s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/0/$ref/not" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 181s # "error": "subschema is valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/1/$ref/not" 181s # }, 181s # { 181s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 181s # "error": "got integer, not string", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf/2/$ref/type" 181s # }, 181s # { 181s # "error": "no subschemas are valid", 181s # "instanceLocation": "", 181s # "keywordLocation": "/anyOf" 181s # } 181s # ], 181s # "valid": false 181s # } 181s ok 1 - test passes: data is valid: false 181s 1..1 181s } 181s # 181s # 181s # generated with: Test::JSON::Schema::Acceptance 1.026 181s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 181s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 181s # specification version: draft6 181s # optional tests included: yes 181s # skipping directory: optional/format 181s # 181s # filename pass todo-fail fail 181s # --------------------------------------------------------------- 181s # additionalItems.json 20 0 0 181s # additionalProperties.json 16 0 0 181s # allOf.json 30 0 0 181s # anyOf.json 18 0 0 181s # boolean_schema.json 18 0 0 181s # const.json 50 0 0 181s # contains.json 19 0 0 181s # default.json 7 0 0 181s # definitions.json 2 0 0 181s # dependencies.json 36 0 0 181s # enum.json 45 0 0 181s # exclusiveMaximum.json 4 0 0 181s # exclusiveMinimum.json 4 0 0 181s # format.json 54 0 0 181s # infinite-loop-detection.json 2 0 0 181s # items.json 28 0 0 181s # maxItems.json 6 0 0 181s # maxLength.json 7 0 0 181s # maxProperties.json 10 0 0 181s # maximum.json 8 0 0 181s # minItems.json 6 0 0 181s # minLength.json 7 0 0 181s # minProperties.json 8 0 0 181s # minimum.json 11 0 0 181s # multipleOf.json 10 0 0 181s # not.json 38 0 0 181s # oneOf.json 27 0 0 181s # pattern.json 9 0 0 181s # patternProperties.json 23 0 0 181s # properties.json 28 0 0 181s # propertyNames.json 13 0 0 181s # ref.json 70 0 0 181s # refRemote.json 23 0 0 181s # required.json 16 0 0 181s # type.json 80 0 0 181s # uniqueItems.json 69 0 0 181s # optional/bignum.json 9 0 0 181s # optional/ecmascript-regex.json 60 14 0 181s # optional/float-overflow.json 1 0 0 181s # optional/id.json 7 0 0 181s # optional/non-bmp-regex.json 12 0 0 181s # optional/unknownKeyword.json 3 0 0 181s # --------------------------------------------------------------- 181s # TOTAL 914 14 0 181s # 181s # Congratulations, all non-optional tests are passing! 181s # 181s ok 929 - no leaks in the main evaluator object 181s ok 930 - no leaks in the short-circuiting evaluator object 181s 1..930 181s ok 182s t/zzz-acceptance-draft7-format.t ........ 182s # AUTHOR_TESTING: 182s # AUTOMATED_TESTING: 1 182s # EXTENDED_TESTING: 182s # NO_TODO: 182s # TEST_DIR: 182s # NO_SHORT_CIRCUIT: 182s # 182s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft7/optional/format against draft7... 182s # 182s ok 1 - date-time.json: "validation of date-time strings" - "all string formats ignore integers" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 2 - date-time.json: "validation of date-time strings" - "all string formats ignore floats" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 3 - date-time.json: "validation of date-time strings" - "all string formats ignore objects" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 4 - date-time.json: "validation of date-time strings" - "all string formats ignore arrays" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 5 - date-time.json: "validation of date-time strings" - "all string formats ignore booleans" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 6 - date-time.json: "validation of date-time strings" - "all string formats ignore nulls" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 7 - date-time.json: "validation of date-time strings" - "a valid date-time string" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 8 - date-time.json: "validation of date-time strings" - "a valid date-time string without second fraction" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 9 - date-time.json: "validation of date-time strings" - "a valid date-time string with plus offset" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 10 - date-time.json: "validation of date-time strings" - "a valid date-time string with minus offset" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 11 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, UTC" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 12 - date-time.json: "validation of date-time strings" - "a valid date-time with a leap second, with minus offset" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 13 - date-time.json: "validation of date-time strings" - "an invalid date-time past leap second, UTC" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 14 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong minute, UTC" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 15 - date-time.json: "validation of date-time strings" - "an invalid date-time with leap second on a wrong hour, UTC" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 16 - date-time.json: "validation of date-time strings" - "an invalid day in date-time string" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 17 - date-time.json: "validation of date-time strings" - "an invalid offset in date-time string" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 18 - date-time.json: "validation of date-time strings" - "an invalid closing Z after time-zone offset" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 19 - date-time.json: "validation of date-time strings" - "an invalid date-time string" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 20 - date-time.json: "validation of date-time strings" - "case-insensitive T and Z" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 21 - date-time.json: "validation of date-time strings" - "only RFC3339 not all of ISO 8601 are valid" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 22 - date-time.json: "validation of date-time strings" - "invalid non-padded month dates" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 23 - date-time.json: "validation of date-time strings" - "invalid non-padded day dates" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 24 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in date portion" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 25 - date-time.json: "validation of date-time strings" - "invalid non-ASCII '৪' (a Bengali 4) in time portion" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date-time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s # 182s ok 26 - date.json: "validation of date strings" - "all string formats ignore integers" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 27 - date.json: "validation of date strings" - "all string formats ignore floats" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 28 - date.json: "validation of date strings" - "all string formats ignore objects" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 29 - date.json: "validation of date strings" - "all string formats ignore arrays" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 30 - date.json: "validation of date strings" - "all string formats ignore booleans" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 31 - date.json: "validation of date strings" - "all string formats ignore nulls" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 32 - date.json: "validation of date strings" - "a valid date string" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 33 - date.json: "validation of date strings" - "a valid date string with 31 days in January" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 34 - date.json: "validation of date strings" - "a invalid date string with 32 days in January" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 35 - date.json: "validation of date strings" - "a valid date string with 28 days in February (normal)" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 36 - date.json: "validation of date strings" - "a invalid date string with 29 days in February (normal)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 37 - date.json: "validation of date strings" - "a valid date string with 29 days in February (leap)" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 38 - date.json: "validation of date strings" - "a invalid date string with 30 days in February (leap)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 39 - date.json: "validation of date strings" - "a valid date string with 31 days in March" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 40 - date.json: "validation of date strings" - "a invalid date string with 32 days in March" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 41 - date.json: "validation of date strings" - "a valid date string with 30 days in April" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 42 - date.json: "validation of date strings" - "a invalid date string with 31 days in April" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 43 - date.json: "validation of date strings" - "a valid date string with 31 days in May" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 44 - date.json: "validation of date strings" - "a invalid date string with 32 days in May" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 45 - date.json: "validation of date strings" - "a valid date string with 30 days in June" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 46 - date.json: "validation of date strings" - "a invalid date string with 31 days in June" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 47 - date.json: "validation of date strings" - "a valid date string with 31 days in July" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 48 - date.json: "validation of date strings" - "a invalid date string with 32 days in July" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 49 - date.json: "validation of date strings" - "a valid date string with 31 days in August" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 50 - date.json: "validation of date strings" - "a invalid date string with 32 days in August" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 51 - date.json: "validation of date strings" - "a valid date string with 30 days in September" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 52 - date.json: "validation of date strings" - "a invalid date string with 31 days in September" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 53 - date.json: "validation of date strings" - "a valid date string with 31 days in October" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 54 - date.json: "validation of date strings" - "a invalid date string with 32 days in October" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 55 - date.json: "validation of date strings" - "a valid date string with 30 days in November" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 56 - date.json: "validation of date strings" - "a invalid date string with 31 days in November" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 57 - date.json: "validation of date strings" - "a valid date string with 31 days in December" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 58 - date.json: "validation of date strings" - "a invalid date string with 32 days in December" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 59 - date.json: "validation of date strings" - "a invalid date string with invalid month" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 60 - date.json: "validation of date strings" - "an invalid date string" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 61 - date.json: "validation of date strings" - "only RFC3339 not all of ISO 8601 are valid" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 62 - date.json: "validation of date strings" - "non-padded month dates are not valid" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 63 - date.json: "validation of date strings" - "non-padded day dates are not valid" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 64 - date.json: "validation of date strings" - "invalid month" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 65 - date.json: "validation of date strings" - "invalid month-day combination" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 66 - date.json: "validation of date strings" - "2021 is not a leap year" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 67 - date.json: "validation of date strings" - "2020 is a leap year" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 68 - date.json: "validation of date strings" - "invalid non-ASCII '৪' (a Bengali 4)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 69 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: YYYYMMDD without dashes (2023-03-28)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 70 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number implicit day of week (2023-01-02)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 71 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number with day of week (2023-03-28)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 72 - date.json: "validation of date strings" - "ISO8601 / non-RFC3339: week number rollover to next year (2023-01-01)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid date", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s # 182s ok 73 - email.json: "validation of e-mail addresses" - "all string formats ignore integers" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 74 - email.json: "validation of e-mail addresses" - "all string formats ignore floats" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 75 - email.json: "validation of e-mail addresses" - "all string formats ignore objects" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 76 - email.json: "validation of e-mail addresses" - "all string formats ignore arrays" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 77 - email.json: "validation of e-mail addresses" - "all string formats ignore booleans" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 78 - email.json: "validation of e-mail addresses" - "all string formats ignore nulls" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 79 - email.json: "validation of e-mail addresses" - "a valid e-mail address" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 80 - email.json: "validation of e-mail addresses" - "an invalid e-mail address" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid email", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid email", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 81 - email.json: "validation of e-mail addresses" - "tilde in local part is valid" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 82 - email.json: "validation of e-mail addresses" - "tilde before local part is valid" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 83 - email.json: "validation of e-mail addresses" - "tilde after local part is valid" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 84 - email.json: "validation of e-mail addresses" - "dot before local part is not valid" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid email", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid email", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 85 - email.json: "validation of e-mail addresses" - "dot after local part is not valid" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid email", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid email", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 86 - email.json: "validation of e-mail addresses" - "two separated dots inside local part are valid" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 87 - email.json: "validation of e-mail addresses" - "two subsequent dots inside local part are not valid" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid email", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid email", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s # 182s ok 88 - hostname.json: "validation of host names" - "all string formats ignore integers" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 89 - hostname.json: "validation of host names" - "all string formats ignore floats" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 90 - hostname.json: "validation of host names" - "all string formats ignore objects" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 91 - hostname.json: "validation of host names" - "all string formats ignore arrays" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 92 - hostname.json: "validation of host names" - "all string formats ignore booleans" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 93 - hostname.json: "validation of host names" - "all string formats ignore nulls" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 94 - hostname.json: "validation of host names" - "a valid host name" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 95 - hostname.json: "validation of host names" - "a valid punycoded IDN hostname" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 96 - hostname.json: "validation of host names" - "a host name starting with an illegal character" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 97 - hostname.json: "validation of host names" - "a host name containing illegal characters" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 98 - hostname.json: "validation of host names" - "a host name with a component too long" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 99 - hostname.json: "validation of host names" - "starts with hyphen" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 100 - hostname.json: "validation of host names" - "ends with hyphen" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 101 - hostname.json: "validation of host names" - "starts with underscore" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 102 - hostname.json: "validation of host names" - "ends with underscore" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 103 - hostname.json: "validation of host names" - "contains underscore" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 104 - hostname.json: "validation of host names" - "maximum label length" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 105 - hostname.json: "validation of host names" - "exceeds maximum label length" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 106 - hostname.json: "validation of host names" - "single label" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"hostname\"" 182s # schema: "{\"format\":\"hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s ok 107 - hostname.json: "validation of host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"host-name\"" 182s # schema: "{\"format\":\"hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s ok 108 - hostname.json: "validation of host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"h0stn4me\"" 182s # schema: "{\"format\":\"hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s ok 109 - hostname.json: "validation of host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"hostnam3\"" 182s # schema: "{\"format\":\"hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s # 182s ok 110 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore integers" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 111 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore floats" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 112 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore objects" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 113 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore arrays" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 114 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore booleans" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 115 - idn-email.json: "validation of an internationalized e-mail addresses" - "all string formats ignore nulls" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 116 - idn-email.json: "validation of an internationalized e-mail addresses" - "a valid idn e-mail (example@example.test in Hangul)" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 117 - idn-email.json: "validation of an internationalized e-mail addresses" - "an invalid idn e-mail address" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-email", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-email", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 118 - idn-email.json: "validation of an internationalized e-mail addresses" - "a valid e-mail address" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 119 - idn-email.json: "validation of an internationalized e-mail addresses" - "an invalid e-mail address" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-email", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-email", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s # 182s ok 120 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 121 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 122 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 123 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 124 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 125 - idn-hostname.json: "validation of internationalized host names" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 126 - idn-hostname.json: "validation of internationalized host names" - "a valid host name (example.test in Hangul)" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 127 - idn-hostname.json: "validation of internationalized host names" - "illegal first char U+302E Hangul single dot tone mark" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 128 - idn-hostname.json: "validation of internationalized host names" - "contains illegal char U+302E Hangul single dot tone mark" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected false; got true 182s # data: "\"실〮례.테스트\"" 182s # schema: "{\"format\":\"idn-hostname\"}" 182s # result: { 182s # "valid": true 182s # } 182s 1..1 182s } 182s ok 129 - idn-hostname.json: "validation of internationalized host names" - "a host name with a component too long" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 130 - idn-hostname.json: "validation of internationalized host names" - "invalid label, correct Punycode" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 131 - idn-hostname.json: "validation of internationalized host names" - "valid Chinese Punycode" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"xn--ihqwcrb4cv8a8dqg056pqjye\"" 182s # schema: "{\"format\":\"idn-hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s ok 132 - idn-hostname.json: "validation of internationalized host names" - "invalid Punycode" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 133 - idn-hostname.json: "validation of internationalized host names" - "U-label contains "--" in the 3rd and 4th position" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 134 - idn-hostname.json: "validation of internationalized host names" - "U-label starts with a dash" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 135 - idn-hostname.json: "validation of internationalized host names" - "U-label ends with a dash" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 136 - idn-hostname.json: "validation of internationalized host names" - "U-label starts and ends with a dash" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 137 - idn-hostname.json: "validation of internationalized host names" - "Begins with a Spacing Combining Mark" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 138 - idn-hostname.json: "validation of internationalized host names" - "Begins with a Nonspacing Mark" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 139 - idn-hostname.json: "validation of internationalized host names" - "Begins with an Enclosing Mark" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 140 - idn-hostname.json: "validation of internationalized host names" - "Exceptions that are PVALID, left-to-right chars" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"ßς་〇\"" 182s # schema: "{\"format\":\"idn-hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s ok 141 - idn-hostname.json: "validation of internationalized host names" - "Exceptions that are PVALID, right-to-left chars" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"Û½Û¾\"" 182s # schema: "{\"format\":\"idn-hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s ok 142 - idn-hostname.json: "validation of internationalized host names" - "Exceptions that are DISALLOWED, right-to-left chars" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 143 - idn-hostname.json: "validation of internationalized host names" - "Exceptions that are DISALLOWED, left-to-right chars" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 144 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with no preceding 'l'" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 145 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with nothing preceding" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 146 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with no following 'l'" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 147 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with nothing following" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 148 - idn-hostname.json: "validation of internationalized host names" - "MIDDLE DOT with surrounding 'l's" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"l·l\"" 182s # schema: "{\"format\":\"idn-hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s ok 149 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA not followed by Greek" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 150 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA not followed by anything" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 151 - idn-hostname.json: "validation of internationalized host names" - "Greek KERAIA followed by Greek" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"α͵β\"" 182s # schema: "{\"format\":\"idn-hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s ok 152 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH not preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 153 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH not preceded by anything" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 154 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERESH preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"א׳ב\"" 182s # schema: "{\"format\":\"idn-hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s ok 155 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM not preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 156 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM not preceded by anything" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 157 - idn-hostname.json: "validation of internationalized host names" - "Hebrew GERSHAYIM preceded by Hebrew" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"א״ב\"" 182s # schema: "{\"format\":\"idn-hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s ok 158 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with no Hiragana, Katakana, or Han" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 159 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with no other characters" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 160 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Hiragana" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"・ぁ\"" 182s # schema: "{\"format\":\"idn-hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s ok 161 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Katakana" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"・ァ\"" 182s # schema: "{\"format\":\"idn-hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s ok 162 - idn-hostname.json: "validation of internationalized host names" - "KATAKANA MIDDLE DOT with Han" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"・丈\"" 182s # schema: "{\"format\":\"idn-hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s ok 163 - idn-hostname.json: "validation of internationalized host names" - "Arabic-Indic digits mixed with Extended Arabic-Indic digits" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 164 - idn-hostname.json: "validation of internationalized host names" - "Arabic-Indic digits not mixed with Extended Arabic-Indic digits" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"ب٠ب\"" 182s # schema: "{\"format\":\"idn-hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s ok 165 - idn-hostname.json: "validation of internationalized host names" - "Extended Arabic-Indic digits not mixed with Arabic-Indic digits" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"Û°0\"" 182s # schema: "{\"format\":\"idn-hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s ok 166 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER not preceded by Virama" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 167 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER not preceded by anything" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false # 182s 1..1 182s } 182s ok 168 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH JOINER preceded by Virama" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"क्‍ष\"" 182s # schema: "{\"format\":\"idn-hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s ok 169 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH NON-JOINER preceded by Virama" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"क्‌ष\"" 182s # schema: "{\"format\":\"idn-hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s ok 170 - idn-hostname.json: "validation of internationalized host names" - "ZERO WIDTH NON-JOINER not preceded by Virama but matches regexp" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"بي‌بي\"" 182s # schema: "{\"format\":\"idn-hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s ok 171 - idn-hostname.json: "validation of internationalized host names" - "single label" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"hostname\"" 182s # schema: "{\"format\":\"idn-hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s ok 172 - idn-hostname.json: "validation of internationalized host names" - "single label with hyphen" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"host-name\"" 182s # schema: "{\"format\":\"idn-hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s ok 173 - idn-hostname.json: "validation of internationalized host names" - "single label with digits" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"h0stn4me\"" 182s # schema: "{\"format\":\"idn-hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s ok 174 - idn-hostname.json: "validation of internationalized host names" - "single label ending with digit" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected true; got false 182s # data: "\"hostnam3\"" 182s # schema: "{\"format\":\"idn-hostname\"}" 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid idn-hostname", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s 1..1 182s } 182s # 182s ok 175 - ipv4.json: "validation of IP addresses" - "all string formats ignore integers" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 176 - ipv4.json: "validation of IP addresses" - "all string formats ignore floats" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 177 - ipv4.json: "validation of IP addresses" - "all string formats ignore objects" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 178 - ipv4.json: "validation of IP addresses" - "all string formats ignore arrays" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 179 - ipv4.json: "validation of IP addresses" - "all string formats ignore booleans" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 180 - ipv4.json: "validation of IP addresses" - "all string formats ignore nulls" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 181 - ipv4.json: "validation of IP addresses" - "a valid IP address" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 182 - ipv4.json: "validation of IP addresses" - "an IP address with too many components" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv4", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv4", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 183 - ipv4.json: "validation of IP addresses" - "an IP address with out-of-range values" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv4", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv4", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 184 - ipv4.json: "validation of IP addresses" - "an IP address without 4 components" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv4", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv4", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 185 - ipv4.json: "validation of IP addresses" - "an IP address as an integer" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv4", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv4", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 186 - ipv4.json: "validation of IP addresses" - "an IP address as an integer (decimal)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv4", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv4", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 187 - ipv4.json: "validation of IP addresses" - "invalid leading zeroes, as they are treated as octals" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv4", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv4", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 188 - ipv4.json: "validation of IP addresses" - "value without leading zero is valid" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 189 - ipv4.json: "validation of IP addresses" - "invalid non-ASCII '২' (a Bengali 2)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv4", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv4", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 190 - ipv4.json: "validation of IP addresses" - "netmask is not a part of ipv4 address" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv4", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv4", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s # 182s ok 191 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore integers" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 192 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore floats" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 193 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore objects" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 194 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore arrays" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 195 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore booleans" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 196 - ipv6.json: "validation of IPv6 addresses" - "all string formats ignore nulls" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 197 - ipv6.json: "validation of IPv6 addresses" - "a valid IPv6 address" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 198 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with out-of-range values" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 199 - ipv6.json: "validation of IPv6 addresses" - "trailing 4 hex symbols is valid" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 200 - ipv6.json: "validation of IPv6 addresses" - "trailing 5 hex symbols is invalid" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 201 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address with too many components" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 202 - ipv6.json: "validation of IPv6 addresses" - "an IPv6 address containing illegal characters" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 203 - ipv6.json: "validation of IPv6 addresses" - "no digits is valid" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 204 - ipv6.json: "validation of IPv6 addresses" - "leading colons is valid" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 205 - ipv6.json: "validation of IPv6 addresses" - "trailing colons is valid" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 206 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet is invalid" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 207 - ipv6.json: "validation of IPv6 addresses" - "missing trailing octet is invalid" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 208 - ipv6.json: "validation of IPv6 addresses" - "missing leading octet with omitted octets later" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 209 - ipv6.json: "validation of IPv6 addresses" - "single set of double colons in the middle is valid" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 210 - ipv6.json: "validation of IPv6 addresses" - "two sets of double colons is invalid" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 211 - ipv6.json: "validation of IPv6 addresses" - "mixed format with the ipv4 section as decimal octets" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 212 - ipv6.json: "validation of IPv6 addresses" - "mixed format with double colons between the sections" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 213 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with octet out of range" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 214 - ipv6.json: "validation of IPv6 addresses" - "mixed format with ipv4 section with a hex octet" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 215 - ipv6.json: "validation of IPv6 addresses" - "mixed format with leading double colons (ipv4-mapped ipv6 address)" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 216 - ipv6.json: "validation of IPv6 addresses" - "triple colons is invalid" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 217 - ipv6.json: "validation of IPv6 addresses" - "8 octets" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 218 - ipv6.json: "validation of IPv6 addresses" - "insufficient octets without double colons" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 219 - ipv6.json: "validation of IPv6 addresses" - "no colons is invalid" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 220 - ipv6.json: "validation of IPv6 addresses" - "ipv4 is not ipv6" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 221 - ipv6.json: "validation of IPv6 addresses" - "ipv4 segment must have 4 octets" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 222 - ipv6.json: "validation of IPv6 addresses" - "leading whitespace is invalid" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 223 - ipv6.json: "validation of IPv6 addresses" - "trailing whitespace is invalid" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 224 - ipv6.json: "validation of IPv6 addresses" - "netmask is not a part of ipv6 address" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 225 - ipv6.json: "validation of IPv6 addresses" - "zone id is not a part of ipv6 address" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 226 - ipv6.json: "validation of IPv6 addresses" - "a long valid ipv6" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 227 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, first" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 228 - ipv6.json: "validation of IPv6 addresses" - "a long invalid ipv6, below length limit, second" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 229 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 230 - ipv6.json: "validation of IPv6 addresses" - "invalid non-ASCII '৪' (a Bengali 4) in the IPv4 portion" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid ipv6", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s # 182s ok 231 - iri-reference.json: "validation of IRI References" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 232 - iri-reference.json: "validation of IRI References" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 233 - iri-reference.json: "validation of IRI References" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 234 - iri-reference.json: "validation of IRI References" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 235 - iri-reference.json: "validation of IRI References" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 236 - iri-reference.json: "validation of IRI References" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 237 - iri-reference.json: "validation of IRI References" - "a valid IRI" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 238 - iri-reference.json: "validation of IRI References" - "a valid protocol-relative IRI Reference" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 239 - iri-reference.json: "validation of IRI References" - "a valid relative IRI Reference" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 240 - iri-reference.json: "validation of IRI References" - "an invalid IRI Reference" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected false; got true 182s # data: "\"\\\\\\\\WINDOWS\\\\filëßåré\"" 182s # schema: "{\"format\":\"iri-reference\"}" 182s # result: { 182s # "valid": true 182s # } 182s 1..1 182s } 182s ok 241 - iri-reference.json: "validation of IRI References" - "a valid IRI Reference" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 242 - iri-reference.json: "validation of IRI References" - "a valid IRI fragment" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 243 - iri-reference.json: "validation of IRI References" - "an invalid IRI fragment" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected false; got true 182s # data: "\"#ƒräg\\\\mênt\"" 182s # schema: "{\"format\":\"iri-reference\"}" 182s # result: { 182s # "valid": true 182s # } 182s 1..1 182s } 182s # 182s ok 244 - iri.json: "validation of IRIs" - "all string formats ignore integers" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 245 - iri.json: "validation of IRIs" - "all string formats ignore floats" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 246 - iri.json: "validation of IRIs" - "all string formats ignore objects" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 247 - iri.json: "validation of IRIs" - "all string formats ignore arrays" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 248 - iri.json: "validation of IRIs" - "all string formats ignore booleans" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 249 - iri.json: "validation of IRIs" - "all string formats ignore nulls" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 250 - iri.json: "validation of IRIs" - "a valid IRI with anchor tag" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 251 - iri.json: "validation of IRIs" - "a valid IRI with anchor tag and parentheses" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 252 - iri.json: "validation of IRIs" - "a valid IRI with URL-encoded stuff" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 253 - iri.json: "validation of IRIs" - "a valid IRI with many special characters" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 254 - iri.json: "validation of IRIs" - "a valid IRI based on IPv6" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 255 - iri.json: "validation of IRIs" - "an invalid IRI based on IPv6" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected false; got true 182s # data: "\"http://2001:0db8:85a3:0000:0000:8a2e:0370:7334\"" 182s # schema: "{\"format\":\"iri\"}" 182s # result: { 182s # "valid": true 182s # } 182s 1..1 182s } 182s ok 256 - iri.json: "validation of IRIs" - "an invalid relative IRI Reference" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid iri", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid iri", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 257 - iri.json: "validation of IRIs" - "an invalid IRI" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid iri", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid iri", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 258 - iri.json: "validation of IRIs" - "an invalid IRI though valid IRI reference" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid iri", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid iri", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s # 182s ok 259 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore integers" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 260 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore floats" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 261 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore objects" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 262 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore arrays" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 263 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore booleans" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 264 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "all string formats ignore nulls" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 265 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "a valid JSON-pointer" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 266 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (~ not escaped)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 267 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with empty segment" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 268 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer with the last empty segment" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 269 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#1" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 270 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#2" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 271 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#3" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 272 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#4" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 273 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#5" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 274 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#6" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 275 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#7" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 276 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#8" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 277 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#9" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 278 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#10" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 279 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#11" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 280 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer as stated in RFC 6901 \#12" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 281 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer used adding to the last array position" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 282 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (- used as object member name)" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 283 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (multiple escaped characters)" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 284 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#1" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 285 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "valid JSON-pointer (escaped with fraction part) \#2" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 286 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#1" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 287 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#2" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 288 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (URI Fragment Identifier) \#3" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 289 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#1" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 290 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (some escaped, but not all) \#2" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 291 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#1" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 292 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (wrong escape character) \#2" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 293 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (multiple characters not escaped)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 294 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#1" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 295 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#2" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 296 - json-pointer.json: "validation of JSON-pointers (JSON String Representation)" - "not a valid JSON-pointer (isn't empty nor starts with /) \#3" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s # 182s ok 297 - regex.json: "validation of regular expressions" - "all string formats ignore integers" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 298 - regex.json: "validation of regular expressions" - "all string formats ignore floats" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 299 - regex.json: "validation of regular expressions" - "all string formats ignore objects" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 300 - regex.json: "validation of regular expressions" - "all string formats ignore arrays" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 301 - regex.json: "validation of regular expressions" - "all string formats ignore booleans" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 302 - regex.json: "validation of regular expressions" - "all string formats ignore nulls" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 303 - regex.json: "validation of regular expressions" - "a valid regular expression" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 304 - regex.json: "validation of regular expressions" - "a regular expression with unclosed parens is invalid" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid regex", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid regex", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s # 182s ok 305 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore integers" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 306 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore floats" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 307 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore objects" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 308 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore arrays" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 309 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore booleans" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 310 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "all string formats ignore nulls" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 311 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid upwards RJP" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 312 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid downwards RJP" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 313 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid up and then down RJP, with array index" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 314 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "a valid RJP taking the member or index name" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 315 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "an invalid RJP that is a valid JSON Pointer" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid relative-json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid relative-json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 316 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "negative prefix" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid relative-json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid relative-json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 317 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "explicit positive prefix" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid relative-json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid relative-json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 318 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "\#\# is not a valid json-pointer" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid relative-json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid relative-json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 319 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "zero cannot be followed by other digits, plus json-pointer" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid relative-json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid relative-json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 320 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "zero cannot be followed by other digits, plus octothorpe" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid relative-json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid relative-json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 321 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "empty string" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid relative-json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid relative-json-pointer", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 322 - relative-json-pointer.json: "validation of Relative JSON Pointers (RJP)" - "multi-digit integer prefix" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s # 182s ok 323 - time.json: "validation of time strings" - "all string formats ignore integers" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 324 - time.json: "validation of time strings" - "all string formats ignore floats" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 325 - time.json: "validation of time strings" - "all string formats ignore objects" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 326 - time.json: "validation of time strings" - "all string formats ignore arrays" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 327 - time.json: "validation of time strings" - "all string formats ignore booleans" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 328 - time.json: "validation of time strings" - "all string formats ignore nulls" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 329 - time.json: "validation of time strings" - "a valid time string" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 330 - time.json: "validation of time strings" - "invalid time string with extra leading zeros" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 331 - time.json: "validation of time strings" - "invalid time string with no leading zero for single digit" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 332 - time.json: "validation of time strings" - "hour, minute, second must be two digits" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 333 - time.json: "validation of time strings" - "a valid time string with leap second, Zulu" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 334 - time.json: "validation of time strings" - "invalid leap second, Zulu (wrong hour)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 335 - time.json: "validation of time strings" - "invalid leap second, Zulu (wrong minute)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 336 - time.json: "validation of time strings" - "valid leap second, zero time-offset" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 337 - time.json: "validation of time strings" - "invalid leap second, zero time-offset (wrong hour)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 338 - time.json: "validation of time strings" - "invalid leap second, zero time-offset (wrong minute)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 339 - time.json: "validation of time strings" - "valid leap second, positive time-offset" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 340 - time.json: "validation of time strings" - "valid leap second, large positive time-offset" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 341 - time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong hour)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 342 - time.json: "validation of time strings" - "invalid leap second, positive time-offset (wrong minute)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 343 - time.json: "validation of time strings" - "valid leap second, negative time-offset" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 344 - time.json: "validation of time strings" - "valid leap second, large negative time-offset" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 345 - time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong hour)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 346 - time.json: "validation of time strings" - "invalid leap second, negative time-offset (wrong minute)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 347 - time.json: "validation of time strings" - "a valid time string with second fraction" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 348 - time.json: "validation of time strings" - "a valid time string with precise second fraction" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 349 - time.json: "validation of time strings" - "a valid time string with plus offset" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 350 - time.json: "validation of time strings" - "a valid time string with minus offset" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 351 - time.json: "validation of time strings" - "hour, minute in time-offset must be two digits" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 352 - time.json: "validation of time strings" - "a valid time string with case-insensitive Z" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 353 - time.json: "validation of time strings" - "an invalid time string with invalid hour" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 354 - time.json: "validation of time strings" - "an invalid time string with invalid minute" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 355 - time.json: "validation of time strings" - "an invalid time string with invalid second" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 356 - time.json: "validation of time strings" - "an invalid time string with invalid leap second (wrong hour)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 357 - time.json: "validation of time strings" - "an invalid time string with invalid leap second (wrong minute)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 358 - time.json: "validation of time strings" - "an invalid time string with invalid time numoffset hour" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 359 - time.json: "validation of time strings" - "an invalid time string with invalid time numoffset minute" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 360 - time.json: "validation of time strings" - "an invalid time string with invalid time with both Z and numoffset" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 361 - time.json: "validation of time strings" - "an invalid offset indicator" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 362 - time.json: "validation of time strings" - "only RFC3339 not all of ISO 8601 are valid" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 363 - time.json: "validation of time strings" - "no time offset" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 364 - time.json: "validation of time strings" - "no time offset with second fraction" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 365 - time.json: "validation of time strings" - "invalid non-ASCII '২' (a Bengali 2)" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 366 - time.json: "validation of time strings" - "offset not starting with plus or minus" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 367 - time.json: "validation of time strings" - "contains letters" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid time", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s # 182s ok 368 - unknown.json: "unknown format" - "unknown formats ignore integers" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 369 - unknown.json: "unknown format" - "unknown formats ignore floats" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 370 - unknown.json: "unknown format" - "unknown formats ignore objects" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 371 - unknown.json: "unknown format" - "unknown formats ignore arrays" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 372 - unknown.json: "unknown format" - "unknown formats ignore booleans" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 373 - unknown.json: "unknown format" - "unknown formats ignore nulls" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 374 - unknown.json: "unknown format" - "unknown formats ignore strings" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s # 182s ok 375 - uri-reference.json: "validation of URI References" - "all string formats ignore integers" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 376 - uri-reference.json: "validation of URI References" - "all string formats ignore floats" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 377 - uri-reference.json: "validation of URI References" - "all string formats ignore objects" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 378 - uri-reference.json: "validation of URI References" - "all string formats ignore arrays" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 379 - uri-reference.json: "validation of URI References" - "all string formats ignore booleans" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 380 - uri-reference.json: "validation of URI References" - "all string formats ignore nulls" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 381 - uri-reference.json: "validation of URI References" - "a valid URI" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 382 - uri-reference.json: "validation of URI References" - "a valid protocol-relative URI Reference" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 383 - uri-reference.json: "validation of URI References" - "a valid relative URI Reference" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 384 - uri-reference.json: "validation of URI References" - "an invalid URI Reference" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid uri-reference", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid uri-reference", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 385 - uri-reference.json: "validation of URI References" - "a valid URI Reference" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 386 - uri-reference.json: "validation of URI References" - "a valid URI fragment" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 387 - uri-reference.json: "validation of URI References" - "an invalid URI fragment" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid uri-reference", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid uri-reference", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s # 182s ok 388 - uri-template.json: "format: uri-template" - "all string formats ignore integers" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 389 - uri-template.json: "format: uri-template" - "all string formats ignore floats" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 390 - uri-template.json: "format: uri-template" - "all string formats ignore objects" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 391 - uri-template.json: "format: uri-template" - "all string formats ignore arrays" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 392 - uri-template.json: "format: uri-template" - "all string formats ignore booleans" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 393 - uri-template.json: "format: uri-template" - "all string formats ignore nulls" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 394 - uri-template.json: "format: uri-template" - "a valid uri-template" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 395 - uri-template.json: "format: uri-template" - "an invalid uri-template" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected false; got true 182s # data: "\"http://example.com/dictionary/{term:1}/{term\"" 182s # schema: "{\"format\":\"uri-template\"}" 182s # result: { 182s # "valid": true 182s # } 182s 1..1 182s } 182s ok 396 - uri-template.json: "format: uri-template" - "a valid uri-template without variables" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s ok 397 - uri-template.json: "format: uri-template" - "a valid relative uri-template" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true # 182s 1..1 182s } 182s # 182s ok 398 - uri.json: "validation of URIs" - "all string formats ignore integers" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 399 - uri.json: "validation of URIs" - "all string formats ignore floats" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 400 - uri.json: "validation of URIs" - "all string formats ignore objects" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 401 - uri.json: "validation of URIs" - "all string formats ignore arrays" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 402 - uri.json: "validation of URIs" - "all string formats ignore booleans" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 403 - uri.json: "validation of URIs" - "all string formats ignore nulls" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 404 - uri.json: "validation of URIs" - "a valid URL with anchor tag" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 405 - uri.json: "validation of URIs" - "a valid URL with anchor tag and parentheses" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 406 - uri.json: "validation of URIs" - "a valid URL with URL-encoded stuff" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 407 - uri.json: "validation of URIs" - "a valid puny-coded URL " { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 408 - uri.json: "validation of URIs" - "a valid URL with many special characters" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 409 - uri.json: "validation of URIs" - "a valid URL based on IPv4" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 410 - uri.json: "validation of URIs" - "a valid URL with ftp scheme" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 411 - uri.json: "validation of URIs" - "a valid URL for a simple text file" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 412 - uri.json: "validation of URIs" - "a valid URL " { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 413 - uri.json: "validation of URIs" - "a valid mailto URI" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 414 - uri.json: "validation of URIs" - "a valid newsgroup URI" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 415 - uri.json: "validation of URIs" - "a valid tel URI" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 416 - uri.json: "validation of URIs" - "a valid URN" { 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s ok 1 - test passes: data is valid: true 182s 1..1 182s } 182s ok 417 - uri.json: "validation of URIs" - "an invalid protocol-relative URI Reference" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid uri", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid uri", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 418 - uri.json: "validation of URIs" - "an invalid relative URI Reference" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid uri", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid uri", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 419 - uri.json: "validation of URIs" - "an invalid URI" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid uri", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid uri", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 420 - uri.json: "validation of URIs" - "an invalid URI though valid URI reference" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid uri", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid uri", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 421 - uri.json: "validation of URIs" - "an invalid URI with spaces" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid uri", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid uri", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 422 - uri.json: "validation of URIs" - "an invalid URI with spaces and missing scheme" { 182s # result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid uri", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s # short-circuited result: { 182s # "errors": [ 182s # { 182s # "error": "not a valid uri", 182s # "instanceLocation": "", 182s # "keywordLocation": "/format" 182s # } 182s # ], 182s # "valid": false 182s # } 182s ok 1 - test passes: data is valid: false 182s 1..1 182s } 182s ok 423 - uri.json: "validation of URIs" - "an invalid URI with comma in scheme" { # TODO Test marked TODO via "todo_tests" 182s # result: { 182s # "valid": true 182s # } 182s # short-circuited result: { 182s # "valid": true 182s # } 182s not ok 1 - evaluation result is incorrect # 182s # Failed test (with amnesty) 'evaluation result is incorrect' 182s # at t/zzz-acceptance-draft7-format.t line 68. 182s # expected false; got true 182s # data: "\"bar,baz:foo\"" 182s # schema: "{\"format\":\"uri\"}" 182s # result: { 182s # "valid": true 182s # } 182s 1..1 182s } 182s # 182s # 182s # generated with: Test::JSON::Schema::Acceptance 1.026 182s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 182s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 182s # specification version: draft7 182s # using custom test directory: /optional/format 182s # optional tests included: yes 182s # 182s # filename pass todo-fail fail 182s # --------------------------------------------------------------- 182s # date-time.json 25 0 0 182s # date.json 47 0 0 182s # email.json 15 0 0 182s # hostname.json 18 4 0 182s # idn-email.json 10 0 0 182s # idn-hostname.json 35 20 0 182s # ipv4.json 16 0 0 182s # ipv6.json 40 0 0 182s # iri-reference.json 11 2 0 182s # iri.json 14 1 0 182s # json-pointer.json 38 0 0 182s # regex.json 8 0 0 182s # relative-json-pointer.json 18 0 0 182s # time.json 45 0 0 182s # unknown.json 7 0 0 182s # uri-reference.json 13 0 0 182s # uri-template.json 9 1 0 182s # uri.json 25 1 0 182s # --------------------------------------------------------------- 182s # TOTAL 394 29 0 182s # 182s # Congratulations, all non-optional tests are passing! 182s # 182s ok 424 - no leaks in the main evaluator object 182s ok 425 - no leaks in the short-circuiting evaluator object 182s 1..425 182s ok 186s t/zzz-acceptance-draft7.t ............... 186s # AUTHOR_TESTING: 186s # AUTOMATED_TESTING: 1 186s # EXTENDED_TESTING: 186s # NO_TODO: 186s # TEST_DIR: 186s # NO_SHORT_CIRCUIT: 186s # 186s # adding resources from /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/remotes with the base URI "http://localhost:1234"... 186s # running tests in /usr/share/perl5/auto/share/dist/Test-JSON-Schema-Acceptance/tests/draft7 against draft7... 186s # 186s ok 1 - additionalItems.json: "additionalItems as schema" - "additional items match schema" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 2 - additionalItems.json: "additionalItems as schema" - "additional items do not match schema" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/3", 186s # "keywordLocation": "/additionalItems/type" 186s # }, 186s # { 186s # "error": "subschema is not valid against all additional items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/3", 186s # "keywordLocation": "/additionalItems/type" 186s # }, 186s # { 186s # "error": "subschema is not valid against all additional items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 3 - additionalItems.json: "when items is schema, additionalItems does nothing" - "valid with a array of type integers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 4 - additionalItems.json: "when items is schema, additionalItems does nothing" - "invalid with a array of mixed types" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/items/type" 186s # }, 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/2", 186s # "keywordLocation": "/items/type" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/items/type" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 5 - additionalItems.json: "when items is schema, boolean additionalItems does nothing" - "all items match schema" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 6 - additionalItems.json: "array of items with no additionalItems permitted" - "empty array" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 7 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (1)" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 8 - additionalItems.json: "array of items with no additionalItems permitted" - "fewer number of items present (2)" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 9 - additionalItems.json: "array of items with no additionalItems permitted" - "equal number of items present" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 10 - additionalItems.json: "array of items with no additionalItems permitted" - "additional items are not permitted" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "additional item not permitted", 186s # "instanceLocation": "/3", 186s # "keywordLocation": "/additionalItems" 186s # }, 186s # { 186s # "error": "subschema is not valid against all additional items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "additional item not permitted", 186s # "instanceLocation": "/3", 186s # "keywordLocation": "/additionalItems" 186s # }, 186s # { 186s # "error": "subschema is not valid against all additional items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 11 - additionalItems.json: "additionalItems as false without items" - "items defaults to empty schema so everything is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 12 - additionalItems.json: "additionalItems as false without items" - "ignores non-arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 13 - additionalItems.json: "additionalItems are allowed by default" - "only the first item is validated" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 14 - additionalItems.json: "additionalItems does not look in applicators, valid case" - "items defined in allOf are not examined" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 15 - additionalItems.json: "additionalItems does not look in applicators, invalid case" - "items defined in allOf are not examined" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not boolean", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/additionalItems/type" 186s # }, 186s # { 186s # "error": "subschema is not valid against all additional items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not boolean", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/additionalItems/type" 186s # }, 186s # { 186s # "error": "subschema is not valid against all additional items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 16 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "valid items" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 17 - additionalItems.json: "items validation adjusts the starting index for additionalItems" - "wrong type of second item" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/additionalItems/type" 186s # }, 186s # { 186s # "error": "subschema is not valid against all additional items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/additionalItems/type" 186s # }, 186s # { 186s # "error": "subschema is not valid against all additional items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 18 - additionalItems.json: "additionalItems with heterogeneous array" - "heterogeneous invalid instance" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "additional item not permitted", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/additionalItems" 186s # }, 186s # { 186s # "error": "additional item not permitted", 186s # "instanceLocation": "/2", 186s # "keywordLocation": "/additionalItems" 186s # }, 186s # { 186s # "error": "subschema is not valid against all additional items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "additional item not permitted", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/additionalItems" 186s # }, 186s # { 186s # "error": "subschema is not valid against all additional items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 19 - additionalItems.json: "additionalItems with heterogeneous array" - "valid instance" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 20 - additionalItems.json: "additionalItems with null instance elements" - "allows null elements" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 21 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "no additional properties is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 22 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "an additional property is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/quux", 186s # "keywordLocation": "/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/quux", 186s # "keywordLocation": "/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 23 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 24 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores strings" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 25 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "ignores other non-objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 26 - additionalProperties.json: "additionalProperties being false does not allow other properties" - "patternProperties are not additional properties" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 27 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "matching the pattern is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 28 - additionalProperties.json: "non-ASCII pattern with additionalProperties" - "not matching the pattern is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/élmény", 186s # "keywordLocation": "/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/élmény", 186s # "keywordLocation": "/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 29 - additionalProperties.json: "additionalProperties with schema" - "no additional properties is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 30 - additionalProperties.json: "additionalProperties with schema" - "an additional valid property is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 31 - additionalProperties.json: "additionalProperties with schema" - "an additional invalid property is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not boolean", 186s # "instanceLocation": "/quux", 186s # "keywordLocation": "/additionalProperties/type" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not boolean", 186s # "instanceLocation": "/quux", 186s # "keywordLocation": "/additionalProperties/type" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 32 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional valid property is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 33 - additionalProperties.json: "additionalProperties can exist by itself" - "an additional invalid property is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not boolean", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/additionalProperties/type" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not boolean", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/additionalProperties/type" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 34 - additionalProperties.json: "additionalProperties are allowed by default" - "additional properties are allowed" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 35 - additionalProperties.json: "additionalProperties does not look in applicators" - "properties defined in allOf are not examined" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not boolean", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/additionalProperties/type" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not boolean", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/additionalProperties/type" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 36 - additionalProperties.json: "additionalProperties with null valued instance properties" - "allows null values" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 37 - allOf.json: "allOf" - "allOf" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 38 - allOf.json: "allOf" - "mismatch second" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: bar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/required" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: bar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/required" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 39 - allOf.json: "allOf" - "mismatch first" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: foo", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/1/required" 186s # }, 186s # { 186s # "error": "subschema 1 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: foo", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/1/required" 186s # }, 186s # { 186s # "error": "subschema 1 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 40 - allOf.json: "allOf" - "wrong type" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/allOf/0/properties/bar/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/properties" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/allOf/0/properties/bar/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/properties" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 41 - allOf.json: "allOf with base schema" - "valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 42 - allOf.json: "allOf with base schema" - "mismatch base schema" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: bar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/required" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: bar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/required" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 43 - allOf.json: "allOf with base schema" - "mismatch first allOf" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: foo", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/required" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: foo", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/required" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 44 - allOf.json: "allOf with base schema" - "mismatch second allOf" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: baz", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/1/required" 186s # }, 186s # { 186s # "error": "subschema 1 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: baz", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/1/required" 186s # }, 186s # { 186s # "error": "subschema 1 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 45 - allOf.json: "allOf with base schema" - "mismatch both" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: foo", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/required" 186s # }, 186s # { 186s # "error": "object is missing property: baz", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/1/required" 186s # }, 186s # { 186s # "error": "subschemas 0, 1 are not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: foo", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/required" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 46 - allOf.json: "allOf simple types" - "valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 47 - allOf.json: "allOf simple types" - "mismatch one" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is greater than 30", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/maximum" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is greater than 30", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/maximum" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 48 - allOf.json: "allOf with boolean schemas, all true" - "any value is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 49 - allOf.json: "allOf with boolean schemas, some false" - "any value is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/1" 186s # }, 186s # { 186s # "error": "subschema 1 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/1" 186s # }, 186s # { 186s # "error": "subschema 1 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 50 - allOf.json: "allOf with boolean schemas, all false" - "any value is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0" 186s # }, 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/1" 186s # }, 186s # { 186s # "error": "subschemas 0, 1 are not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 51 - allOf.json: "allOf with one empty schema" - "any data is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 52 - allOf.json: "allOf with two empty schemas" - "any data is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 53 - allOf.json: "allOf with the first empty schema" - "number is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 54 - allOf.json: "allOf with the first empty schema" - "string is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/1/type" 186s # }, 186s # { 186s # "error": "subschema 1 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/1/type" 186s # }, 186s # { 186s # "error": "subschema 1 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 55 - allOf.json: "allOf with the last empty schema" - "number is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 56 - allOf.json: "allOf with the last empty schema" - "string is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/type" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/type" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 57 - allOf.json: "nested allOf, to check validation semantics" - "null is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 58 - allOf.json: "nested allOf, to check validation semantics" - "anything non-null is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/allOf/0/type" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/allOf" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/allOf/0/type" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/allOf" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 59 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: false" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/multipleOf" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # }, 186s # { 186s # "error": "value is not a multiple of 3", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/multipleOf" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # }, 186s # { 186s # "error": "value is not a multiple of 5", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/0/multipleOf" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/multipleOf" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 60 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: false, oneOf: true" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/multipleOf" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # }, 186s # { 186s # "error": "value is not a multiple of 3", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/multipleOf" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/multipleOf" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 61 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: false" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/multipleOf" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # }, 186s # { 186s # "error": "value is not a multiple of 5", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/0/multipleOf" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/multipleOf" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 62 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: false, anyOf: true, oneOf: true" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/multipleOf" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/multipleOf" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 63 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: false" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 3", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/multipleOf" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # }, 186s # { 186s # "error": "value is not a multiple of 5", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/0/multipleOf" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 3", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/multipleOf" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 64 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: false, oneOf: true" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 3", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/multipleOf" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 3", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/multipleOf" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 65 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: false" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 5", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/0/multipleOf" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 5", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/0/multipleOf" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 66 - allOf.json: "allOf combined with anyOf, oneOf" - "allOf: true, anyOf: true, oneOf: true" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 67 - anyOf.json: "anyOf" - "first anyOf valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 68 - anyOf.json: "anyOf" - "second anyOf valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 69 - anyOf.json: "anyOf" - "both anyOf valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 70 - anyOf.json: "anyOf" - "neither anyOf valid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got number, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/type" 186s # }, 186s # { 186s # "error": "value is less than 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/1/minimum" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got number, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/type" 186s # }, 186s # { 186s # "error": "value is less than 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/1/minimum" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 71 - anyOf.json: "anyOf with base schema" - "mismatch base schema" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 72 - anyOf.json: "anyOf with base schema" - "one anyOf valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 73 - anyOf.json: "anyOf with base schema" - "both anyOf invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "length is greater than 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/maxLength" 186s # }, 186s # { 186s # "error": "length is less than 4", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/1/minLength" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "length is greater than 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/maxLength" 186s # }, 186s # { 186s # "error": "length is less than 4", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/1/minLength" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 74 - anyOf.json: "anyOf with boolean schemas, all true" - "any value is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 75 - anyOf.json: "anyOf with boolean schemas, some true" - "any value is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 76 - anyOf.json: "anyOf with boolean schemas, all false" - "any value is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0" 186s # }, 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/1" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0" 186s # }, 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/1" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 77 - anyOf.json: "anyOf complex types" - "first anyOf valid (complex)" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 78 - anyOf.json: "anyOf complex types" - "second anyOf valid (complex)" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 79 - anyOf.json: "anyOf complex types" - "both anyOf valid (complex)" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 80 - anyOf.json: "anyOf complex types" - "neither anyOf valid (complex)" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/anyOf/0/properties/bar/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/properties" 186s # }, 186s # { 186s # "error": "got integer, not string", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/anyOf/1/properties/foo/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/1/properties" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/anyOf/0/properties/bar/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/properties" 186s # }, 186s # { 186s # "error": "got integer, not string", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/anyOf/1/properties/foo/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/1/properties" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 81 - anyOf.json: "anyOf with one empty schema" - "string is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 82 - anyOf.json: "anyOf with one empty schema" - "number is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 83 - anyOf.json: "nested anyOf, to check validation semantics" - "null is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 84 - anyOf.json: "nested anyOf, to check validation semantics" - "anything non-null is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/anyOf/0/type" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/anyOf" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/anyOf/0/type" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/anyOf" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 85 - boolean_schema.json: "boolean schema 'true'" - "number is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 86 - boolean_schema.json: "boolean schema 'true'" - "string is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 87 - boolean_schema.json: "boolean schema 'true'" - "boolean true is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 88 - boolean_schema.json: "boolean schema 'true'" - "boolean false is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 89 - boolean_schema.json: "boolean schema 'true'" - "null is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 90 - boolean_schema.json: "boolean schema 'true'" - "object is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 91 - boolean_schema.json: "boolean schema 'true'" - "empty object is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 92 - boolean_schema.json: "boolean schema 'true'" - "array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 93 - boolean_schema.json: "boolean schema 'true'" - "empty array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 94 - boolean_schema.json: "boolean schema 'false'" - "number is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 95 - boolean_schema.json: "boolean schema 'false'" - "string is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 96 - boolean_schema.json: "boolean schema 'false'" - "boolean true is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 97 - boolean_schema.json: "boolean schema 'false'" - "boolean false is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 98 - boolean_schema.json: "boolean schema 'false'" - "null is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 99 - boolean_schema.json: "boolean schema 'false'" - "object is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 100 - boolean_schema.json: "boolean schema 'false'" - "empty object is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 101 - boolean_schema.json: "boolean schema 'false'" - "array is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 102 - boolean_schema.json: "boolean schema 'false'" - "empty array is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 103 - const.json: "const validation" - "same value is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 104 - const.json: "const validation" - "another value is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 105 - const.json: "const validation" - "another type is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 106 - const.json: "const with object" - "same object is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 107 - const.json: "const with object" - "same object with different property order is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 108 - const.json: "const with object" - "another object is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 109 - const.json: "const with object" - "another type is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 110 - const.json: "const with array" - "same array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 111 - const.json: "const with array" - "another array item is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (at '/0': wrong type: integer vs object)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (at '/0': wrong type: integer vs object)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 112 - const.json: "const with array" - "array with additional items is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 113 - const.json: "const with null" - "null is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 114 - const.json: "const with null" - "not null is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 115 - const.json: "const with false does not match 0" - "false is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 116 - const.json: "const with false does not match 0" - "integer zero is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 117 - const.json: "const with false does not match 0" - "float zero is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 118 - const.json: "const with true does not match 1" - "true is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 119 - const.json: "const with true does not match 1" - "integer one is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 120 - const.json: "const with true does not match 1" - "float one is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 121 - const.json: "const with [false] does not match [0]" - "[false] is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 122 - const.json: "const with [false] does not match [0]" - "[0] is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 123 - const.json: "const with [false] does not match [0]" - "[0.0] is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 124 - const.json: "const with [true] does not match [1]" - "[true] is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 125 - const.json: "const with [true] does not match [1]" - "[1] is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 126 - const.json: "const with [true] does not match [1]" - "[1.0] is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (at '/0': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 127 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": false} is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 128 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0} is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 129 - const.json: "const with {"a": false} does not match {"a": 0}" - "{"a": 0.0} is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 130 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": true} is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 131 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1} is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 132 - const.json: "const with {"a": true} does not match {"a": 1}" - "{"a": 1.0} is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (at '/a': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 133 - const.json: "const with 0 does not match other zero-like types" - "false is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 134 - const.json: "const with 0 does not match other zero-like types" - "integer zero is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 135 - const.json: "const with 0 does not match other zero-like types" - "float zero is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 136 - const.json: "const with 0 does not match other zero-like types" - "empty object is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 137 - const.json: "const with 0 does not match other zero-like types" - "empty array is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 138 - const.json: "const with 0 does not match other zero-like types" - "empty string is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 139 - const.json: "const with 1 does not match true" - "true is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 140 - const.json: "const with 1 does not match true" - "integer one is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 141 - const.json: "const with 1 does not match true" - "float one is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 142 - const.json: "const with -2.0 matches integer and float types" - "integer -2 is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 143 - const.json: "const with -2.0 matches integer and float types" - "integer 2 is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 144 - const.json: "const with -2.0 matches integer and float types" - "float -2.0 is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 145 - const.json: "const with -2.0 matches integer and float types" - "float 2.0 is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 146 - const.json: "const with -2.0 matches integer and float types" - "float -2.00001 is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 147 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 148 - const.json: "float and integers are equal up to 64-bit representation limits" - "integer minus one is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 149 - const.json: "float and integers are equal up to 64-bit representation limits" - "float is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 150 - const.json: "float and integers are equal up to 64-bit representation limits" - "float minus one is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 151 - const.json: "nul characters in strings" - "match string with nul" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 152 - const.json: "nul characters in strings" - "do not match string lacking nul" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/const" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 153 - contains.json: "contains keyword validation" - "array with item matching schema (5) is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 154 - contains.json: "contains keyword validation" - "array with item matching schema (6) is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 155 - contains.json: "contains keyword validation" - "array with two items matching schema (5, 6) is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 156 - contains.json: "contains keyword validation" - "array without items matching schema is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is less than 5", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/contains/minimum" 186s # }, 186s # { 186s # "error": "value is less than 5", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/contains/minimum" 186s # }, 186s # { 186s # "error": "value is less than 5", 186s # "instanceLocation": "/2", 186s # "keywordLocation": "/contains/minimum" 186s # }, 186s # { 186s # "error": "subschema is not valid against any item", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contains" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is less than 5", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/contains/minimum" 186s # }, 186s # { 186s # "error": "value is less than 5", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/contains/minimum" 186s # }, 186s # { 186s # "error": "value is less than 5", 186s # "instanceLocation": "/2", 186s # "keywordLocation": "/contains/minimum" 186s # }, 186s # { 186s # "error": "subschema is not valid against any item", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contains" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 157 - contains.json: "contains keyword validation" - "empty array is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is not valid against any item", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contains" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is not valid against any item", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contains" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 158 - contains.json: "contains keyword validation" - "not array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 159 - contains.json: "contains keyword with const keyword" - "array with item 5 is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 160 - contains.json: "contains keyword with const keyword" - "array with two items 5 is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 161 - contains.json: "contains keyword with const keyword" - "array without item 5 is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/contains/const" 186s # }, 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/contains/const" 186s # }, 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "/2", 186s # "keywordLocation": "/contains/const" 186s # }, 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "/3", 186s # "keywordLocation": "/contains/const" 186s # }, 186s # { 186s # "error": "subschema is not valid against any item", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contains" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/contains/const" 186s # }, 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/contains/const" 186s # }, 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "/2", 186s # "keywordLocation": "/contains/const" 186s # }, 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "/3", 186s # "keywordLocation": "/contains/const" 186s # }, 186s # { 186s # "error": "subschema is not valid against any item", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contains" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 162 - contains.json: "contains keyword with boolean schema true" - "any non-empty array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 163 - contains.json: "contains keyword with boolean schema true" - "empty array is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is not valid against any item", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contains" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is not valid against any item", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contains" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 164 - contains.json: "contains keyword with boolean schema false" - "any non-empty array is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/contains" 186s # }, 186s # { 186s # "error": "subschema is not valid against any item", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contains" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/contains" 186s # }, 186s # { 186s # "error": "subschema is not valid against any item", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contains" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 165 - contains.json: "contains keyword with boolean schema false" - "empty array is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is not valid against any item", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contains" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is not valid against any item", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contains" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 166 - contains.json: "contains keyword with boolean schema false" - "non-arrays are valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 167 - contains.json: "items + contains" - "matches items, does not match contains" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 3", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/contains/multipleOf" 186s # }, 186s # { 186s # "error": "value is not a multiple of 3", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/contains/multipleOf" 186s # }, 186s # { 186s # "error": "value is not a multiple of 3", 186s # "instanceLocation": "/2", 186s # "keywordLocation": "/contains/multipleOf" 186s # }, 186s # { 186s # "error": "subschema is not valid against any item", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contains" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 3", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/contains/multipleOf" 186s # }, 186s # { 186s # "error": "value is not a multiple of 3", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/contains/multipleOf" 186s # }, 186s # { 186s # "error": "value is not a multiple of 3", 186s # "instanceLocation": "/2", 186s # "keywordLocation": "/contains/multipleOf" 186s # }, 186s # { 186s # "error": "subschema is not valid against any item", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contains" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 168 - contains.json: "items + contains" - "does not match items, matches contains" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 2", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/items/multipleOf" 186s # }, 186s # { 186s # "error": "value is not a multiple of 2", 186s # "instanceLocation": "/2", 186s # "keywordLocation": "/items/multipleOf" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 2", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/items/multipleOf" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 169 - contains.json: "items + contains" - "matches both items and contains" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 170 - contains.json: "items + contains" - "matches neither items nor contains" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 2", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/items/multipleOf" 186s # }, 186s # { 186s # "error": "value is not a multiple of 2", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/items/multipleOf" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # }, 186s # { 186s # "error": "value is not a multiple of 3", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/contains/multipleOf" 186s # }, 186s # { 186s # "error": "value is not a multiple of 3", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/contains/multipleOf" 186s # }, 186s # { 186s # "error": "subschema is not valid against any item", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contains" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 2", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/items/multipleOf" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 171 - contains.json: "contains with false if subschema" - "any non-empty array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 172 - contains.json: "contains with false if subschema" - "empty array is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is not valid against any item", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contains" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is not valid against any item", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contains" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 173 - contains.json: "contains with null instance elements" - "allows null items" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 174 - default.json: "invalid type for default" - "valid when property is specified" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 175 - default.json: "invalid type for default" - "still valid when the invalid default is used" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 176 - default.json: "invalid string value for default" - "valid when property is specified" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 177 - default.json: "invalid string value for default" - "still valid when the invalid default is used" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 178 - default.json: "the default keyword does not do anything if the property is missing" - "an explicit property value is checked against maximum (passing)" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 179 - default.json: "the default keyword does not do anything if the property is missing" - "an explicit property value is checked against maximum (failing)" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is greater than 3", 186s # "instanceLocation": "/alpha", 186s # "keywordLocation": "/properties/alpha/maximum" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is greater than 3", 186s # "instanceLocation": "/alpha", 186s # "keywordLocation": "/properties/alpha/maximum" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 180 - default.json: "the default keyword does not do anything if the property is missing" - "missing properties are not filled in with the default" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 181 - definitions.json: "validate definition against metaschema" - "valid definition schema" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 182 - definitions.json: "validate definition against metaschema" - "invalid definition schema" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/definitions/simpleTypes/enum", 186s # "error": "value does not match", 186s # "instanceLocation": "/definitions/foo/type", 186s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/0/$ref/enum" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties/type/anyOf/1/type", 186s # "error": "got integer, not array", 186s # "instanceLocation": "/definitions/foo/type", 186s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/1/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties/type/anyOf", 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "/definitions/foo/type", 186s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "/definitions/foo", 186s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties/definitions/additionalProperties", 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "/definitions", 186s # "keywordLocation": "/$ref/properties/definitions/additionalProperties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/$ref/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/definitions/simpleTypes/enum", 186s # "error": "value does not match", 186s # "instanceLocation": "/definitions/foo/type", 186s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/0/$ref/enum" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties/type/anyOf/1/type", 186s # "error": "got integer, not array", 186s # "instanceLocation": "/definitions/foo/type", 186s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf/1/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties/type/anyOf", 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "/definitions/foo/type", 186s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties/type/anyOf" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "/definitions/foo", 186s # "keywordLocation": "/$ref/properties/definitions/additionalProperties/$ref/properties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties/definitions/additionalProperties", 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "/definitions", 186s # "keywordLocation": "/$ref/properties/definitions/additionalProperties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/$ref/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 183 - dependencies.json: "dependencies" - "neither" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 184 - dependencies.json: "dependencies" - "nondependant" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 185 - dependencies.json: "dependencies" - "with dependency" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 186 - dependencies.json: "dependencies" - "missing dependency" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: foo", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/bar" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: foo", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/bar" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 187 - dependencies.json: "dependencies" - "ignores arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 188 - dependencies.json: "dependencies" - "ignores strings" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 189 - dependencies.json: "dependencies" - "ignores other non-objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 190 - dependencies.json: "dependencies with empty array" - "empty object" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 191 - dependencies.json: "dependencies with empty array" - "object with one property" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 192 - dependencies.json: "dependencies with empty array" - "non-object is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 193 - dependencies.json: "multiple dependencies" - "neither" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 194 - dependencies.json: "multiple dependencies" - "nondependants" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 195 - dependencies.json: "multiple dependencies" - "with dependencies" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 196 - dependencies.json: "multiple dependencies" - "missing dependency" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: bar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/quux" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: bar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/quux" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 197 - dependencies.json: "multiple dependencies" - "missing other dependency" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: foo", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/quux" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: foo", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/quux" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 198 - dependencies.json: "multiple dependencies" - "missing both dependencies" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing properties: foo, bar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/quux" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing properties: foo, bar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/quux" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 199 - dependencies.json: "multiple dependencies subschema" - "valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 200 - dependencies.json: "multiple dependencies subschema" - "no dependency" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 201 - dependencies.json: "multiple dependencies subschema" - "wrong type" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/dependencies/bar/properties/foo/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/bar/properties" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/dependencies/bar/properties/foo/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/bar/properties" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 202 - dependencies.json: "multiple dependencies subschema" - "wrong type other" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/dependencies/bar/properties/bar/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/bar/properties" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/dependencies/bar/properties/bar/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/bar/properties" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 203 - dependencies.json: "multiple dependencies subschema" - "wrong type both" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/dependencies/bar/properties/bar/type" 186s # }, 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/dependencies/bar/properties/foo/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/bar/properties" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/dependencies/bar/properties/bar/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/bar/properties" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 204 - dependencies.json: "dependencies with boolean subschemas" - "object with property having schema true is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 205 - dependencies.json: "dependencies with boolean subschemas" - "object with property having schema false is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/bar" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/bar" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 206 - dependencies.json: "dependencies with boolean subschemas" - "object with both properties is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/bar" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/bar" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 207 - dependencies.json: "dependencies with boolean subschemas" - "empty object is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 208 - dependencies.json: "dependencies with escaped characters" - "valid object 1" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 209 - dependencies.json: "dependencies with escaped characters" - "valid object 2" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 210 - dependencies.json: "dependencies with escaped characters" - "valid object 3" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 211 - dependencies.json: "dependencies with escaped characters" - "invalid object 1" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: foo\rbar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/foo\nbar" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: foo\rbar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/foo\nbar" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 212 - dependencies.json: "dependencies with escaped characters" - "invalid object 2" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object has fewer than 4 properties", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/foo\tbar/minProperties" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object has fewer than 4 properties", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/foo\tbar/minProperties" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 213 - dependencies.json: "dependencies with escaped characters" - "invalid object 3" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: foo\"bar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/foo'bar/required" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: foo\"bar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/foo'bar/required" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 214 - dependencies.json: "dependencies with escaped characters" - "invalid object 4" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: foo'bar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/foo\"bar" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: foo'bar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/foo\"bar" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 215 - dependencies.json: "dependent subschema incompatible with root" - "matches root" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/dependencies/foo/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/foo/additionalProperties" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/dependencies/foo/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/foo/additionalProperties" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 216 - dependencies.json: "dependent subschema incompatible with root" - "matches dependency" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 217 - dependencies.json: "dependent subschema incompatible with root" - "matches both" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/dependencies/foo/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/foo/additionalProperties" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/dependencies/foo/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies/foo/additionalProperties" 186s # }, 186s # { 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/dependencies" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 218 - dependencies.json: "dependent subschema incompatible with root" - "no dependency" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 219 - enum.json: "simple enum validation" - "one of the enum is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 220 - enum.json: "simple enum validation" - "something else is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 221 - enum.json: "heterogeneous enum validation" - "one of the enum is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 222 - enum.json: "heterogeneous enum validation" - "something else is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 223 - enum.json: "heterogeneous enum validation" - "objects are deep compared" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (from enum 0 at '': wrong type: object vs integer; from enum 1 at '': wrong type: object vs string; from enum 2 at '': wrong type: object vs array; from enum 3 at '': wrong type: object vs boolean; from enum 4 at '/foo': wrong type: boolean vs integer)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (from enum 0 at '': wrong type: object vs integer; from enum 1 at '': wrong type: object vs string; from enum 2 at '': wrong type: object vs array; from enum 3 at '': wrong type: object vs boolean; from enum 4 at '/foo': wrong type: boolean vs integer)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 224 - enum.json: "heterogeneous enum validation" - "valid object matches" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 225 - enum.json: "heterogeneous enum validation" - "extra properties in object is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 226 - enum.json: "heterogeneous enum-with-null validation" - "null is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 227 - enum.json: "heterogeneous enum-with-null validation" - "number is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 228 - enum.json: "heterogeneous enum-with-null validation" - "something else is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 229 - enum.json: "enums in properties" - "both properties are valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 230 - enum.json: "enums in properties" - "wrong foo value" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/enum" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/enum" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 231 - enum.json: "enums in properties" - "wrong bar value" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/properties/bar/enum" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/properties/bar/enum" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 232 - enum.json: "enums in properties" - "missing optional property is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 233 - enum.json: "enums in properties" - "missing required property is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: bar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/required" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: bar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/required" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 234 - enum.json: "enums in properties" - "missing all properties is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: bar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/required" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: bar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/required" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 235 - enum.json: "enum with escaped characters" - "member 1 is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 236 - enum.json: "enum with escaped characters" - "member 2 is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 237 - enum.json: "enum with escaped characters" - "another string is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 238 - enum.json: "enum with false does not match 0" - "false is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 239 - enum.json: "enum with false does not match 0" - "integer zero is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 240 - enum.json: "enum with false does not match 0" - "float zero is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 241 - enum.json: "enum with [false] does not match [0]" - "[false] is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 242 - enum.json: "enum with [false] does not match [0]" - "[0] is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 243 - enum.json: "enum with [false] does not match [0]" - "[0.0] is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 244 - enum.json: "enum with true does not match 1" - "true is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 245 - enum.json: "enum with true does not match 1" - "integer one is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 246 - enum.json: "enum with true does not match 1" - "float one is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 247 - enum.json: "enum with [true] does not match [1]" - "[true] is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 248 - enum.json: "enum with [true] does not match [1]" - "[1] is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 249 - enum.json: "enum with [true] does not match [1]" - "[1.0] is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (from enum 0 at '/0': wrong type: integer vs boolean)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 250 - enum.json: "enum with 0 does not match false" - "false is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 251 - enum.json: "enum with 0 does not match false" - "integer zero is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 252 - enum.json: "enum with 0 does not match false" - "float zero is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 253 - enum.json: "enum with [0] does not match [false]" - "[false] is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 254 - enum.json: "enum with [0] does not match [false]" - "[0] is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 255 - enum.json: "enum with [0] does not match [false]" - "[0.0] is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 256 - enum.json: "enum with 1 does not match true" - "true is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 257 - enum.json: "enum with 1 does not match true" - "integer one is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 258 - enum.json: "enum with 1 does not match true" - "float one is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 259 - enum.json: "enum with [1] does not match [true]" - "[true] is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match (from enum 0 at '/0': wrong type: boolean vs integer)", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 260 - enum.json: "enum with [1] does not match [true]" - "[1] is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 261 - enum.json: "enum with [1] does not match [true]" - "[1.0] is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 262 - enum.json: "nul characters in strings" - "match string with nul" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 263 - enum.json: "nul characters in strings" - "do not match string lacking nul" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 264 - exclusiveMaximum.json: "exclusiveMaximum validation" - "below the exclusiveMaximum is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 265 - exclusiveMaximum.json: "exclusiveMaximum validation" - "boundary point is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is greater than or equal to 3", 186s # "instanceLocation": "", 186s # "keywordLocation": "/exclusiveMaximum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is greater than or equal to 3", 186s # "instanceLocation": "", 186s # "keywordLocation": "/exclusiveMaximum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 266 - exclusiveMaximum.json: "exclusiveMaximum validation" - "above the exclusiveMaximum is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is greater than or equal to 3", 186s # "instanceLocation": "", 186s # "keywordLocation": "/exclusiveMaximum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is greater than or equal to 3", 186s # "instanceLocation": "", 186s # "keywordLocation": "/exclusiveMaximum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 267 - exclusiveMaximum.json: "exclusiveMaximum validation" - "ignores non-numbers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 268 - exclusiveMinimum.json: "exclusiveMinimum validation" - "above the exclusiveMinimum is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 269 - exclusiveMinimum.json: "exclusiveMinimum validation" - "boundary point is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is less than or equal to 1.1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/exclusiveMinimum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is less than or equal to 1.1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/exclusiveMinimum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 270 - exclusiveMinimum.json: "exclusiveMinimum validation" - "below the exclusiveMinimum is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is less than or equal to 1.1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/exclusiveMinimum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is less than or equal to 1.1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/exclusiveMinimum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 271 - exclusiveMinimum.json: "exclusiveMinimum validation" - "ignores non-numbers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 272 - format.json: "email format" - "all string formats ignore integers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 273 - format.json: "email format" - "all string formats ignore floats" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 274 - format.json: "email format" - "all string formats ignore objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 275 - format.json: "email format" - "all string formats ignore arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 276 - format.json: "email format" - "all string formats ignore booleans" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 277 - format.json: "email format" - "all string formats ignore nulls" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 278 - format.json: "idn-email format" - "all string formats ignore integers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 279 - format.json: "idn-email format" - "all string formats ignore floats" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 280 - format.json: "idn-email format" - "all string formats ignore objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 281 - format.json: "idn-email format" - "all string formats ignore arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 282 - format.json: "idn-email format" - "all string formats ignore booleans" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 283 - format.json: "idn-email format" - "all string formats ignore nulls" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 284 - format.json: "regex format" - "all string formats ignore integers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 285 - format.json: "regex format" - "all string formats ignore floats" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 286 - format.json: "regex format" - "all string formats ignore objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 287 - format.json: "regex format" - "all string formats ignore arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 288 - format.json: "regex format" - "all string formats ignore booleans" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 289 - format.json: "regex format" - "all string formats ignore nulls" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 290 - format.json: "ipv4 format" - "all string formats ignore integers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 291 - format.json: "ipv4 format" - "all string formats ignore floats" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 292 - format.json: "ipv4 format" - "all string formats ignore objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 293 - format.json: "ipv4 format" - "all string formats ignore arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 294 - format.json: "ipv4 format" - "all string formats ignore booleans" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 295 - format.json: "ipv4 format" - "all string formats ignore nulls" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 296 - format.json: "ipv6 format" - "all string formats ignore integers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 297 - format.json: "ipv6 format" - "all string formats ignore floats" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 298 - format.json: "ipv6 format" - "all string formats ignore objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 299 - format.json: "ipv6 format" - "all string formats ignore arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 300 - format.json: "ipv6 format" - "all string formats ignore booleans" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 301 - format.json: "ipv6 format" - "all string formats ignore nulls" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 302 - format.json: "idn-hostname format" - "all string formats ignore integers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 303 - format.json: "idn-hostname format" - "all string formats ignore floats" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 304 - format.json: "idn-hostname format" - "all string formats ignore objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 305 - format.json: "idn-hostname format" - "all string formats ignore arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 306 - format.json: "idn-hostname format" - "all string formats ignore booleans" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 307 - format.json: "idn-hostname format" - "all string formats ignore nulls" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 308 - format.json: "hostname format" - "all string formats ignore integers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 309 - format.json: "hostname format" - "all string formats ignore floats" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 310 - format.json: "hostname format" - "all string formats ignore objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 311 - format.json: "hostname format" - "all string formats ignore arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 312 - format.json: "hostname format" - "all string formats ignore booleans" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 313 - format.json: "hostname format" - "all string formats ignore nulls" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 314 - format.json: "date format" - "all string formats ignore integers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 315 - format.json: "date format" - "all string formats ignore floats" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 316 - format.json: "date format" - "all string formats ignore objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 317 - format.json: "date format" - "all string formats ignore arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 318 - format.json: "date format" - "all string formats ignore booleans" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 319 - format.json: "date format" - "all string formats ignore nulls" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 320 - format.json: "date-time format" - "all string formats ignore integers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 321 - format.json: "date-time format" - "all string formats ignore floats" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 322 - format.json: "date-time format" - "all string formats ignore objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 323 - format.json: "date-time format" - "all string formats ignore arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 324 - format.json: "date-time format" - "all string formats ignore booleans" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 325 - format.json: "date-time format" - "all string formats ignore nulls" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 326 - format.json: "time format" - "all string formats ignore integers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 327 - format.json: "time format" - "all string formats ignore floats" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 328 - format.json: "time format" - "all string formats ignore objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 329 - format.json: "time format" - "all string formats ignore arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 330 - format.json: "time format" - "all string formats ignore booleans" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 331 - format.json: "time format" - "all string formats ignore nulls" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 332 - format.json: "json-pointer format" - "all string formats ignore integers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 333 - format.json: "json-pointer format" - "all string formats ignore floats" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 334 - format.json: "json-pointer format" - "all string formats ignore objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 335 - format.json: "json-pointer format" - "all string formats ignore arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 336 - format.json: "json-pointer format" - "all string formats ignore booleans" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 337 - format.json: "json-pointer format" - "all string formats ignore nulls" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 338 - format.json: "relative-json-pointer format" - "all string formats ignore integers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 339 - format.json: "relative-json-pointer format" - "all string formats ignore floats" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 340 - format.json: "relative-json-pointer format" - "all string formats ignore objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 341 - format.json: "relative-json-pointer format" - "all string formats ignore arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 342 - format.json: "relative-json-pointer format" - "all string formats ignore booleans" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 343 - format.json: "relative-json-pointer format" - "all string formats ignore nulls" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 344 - format.json: "iri format" - "all string formats ignore integers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 345 - format.json: "iri format" - "all string formats ignore floats" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 346 - format.json: "iri format" - "all string formats ignore objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 347 - format.json: "iri format" - "all string formats ignore arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 348 - format.json: "iri format" - "all string formats ignore booleans" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 349 - format.json: "iri format" - "all string formats ignore nulls" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 350 - format.json: "iri-reference format" - "all string formats ignore integers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 351 - format.json: "iri-reference format" - "all string formats ignore floats" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 352 - format.json: "iri-reference format" - "all string formats ignore objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 353 - format.json: "iri-reference format" - "all string formats ignore arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 354 - format.json: "iri-reference format" - "all string formats ignore booleans" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 355 - format.json: "iri-reference format" - "all string formats ignore nulls" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 356 - format.json: "uri format" - "all string formats ignore integers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 357 - format.json: "uri format" - "all string formats ignore floats" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 358 - format.json: "uri format" - "all string formats ignore objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 359 - format.json: "uri format" - "all string formats ignore arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 360 - format.json: "uri format" - "all string formats ignore booleans" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 361 - format.json: "uri format" - "all string formats ignore nulls" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 362 - format.json: "uri-reference format" - "all string formats ignore integers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 363 - format.json: "uri-reference format" - "all string formats ignore floats" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 364 - format.json: "uri-reference format" - "all string formats ignore objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 365 - format.json: "uri-reference format" - "all string formats ignore arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 366 - format.json: "uri-reference format" - "all string formats ignore booleans" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 367 - format.json: "uri-reference format" - "all string formats ignore nulls" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 368 - format.json: "uri-template format" - "all string formats ignore integers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 369 - format.json: "uri-template format" - "all string formats ignore floats" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 370 - format.json: "uri-template format" - "all string formats ignore objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 371 - format.json: "uri-template format" - "all string formats ignore arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 372 - format.json: "uri-template format" - "all string formats ignore booleans" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 373 - format.json: "uri-template format" - "all string formats ignore nulls" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 374 - if-then-else.json: "ignore if without then or else" - "valid when valid against lone if" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 375 - if-then-else.json: "ignore if without then or else" - "valid when invalid against lone if" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 376 - if-then-else.json: "ignore then without if" - "valid when valid against lone then" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 377 - if-then-else.json: "ignore then without if" - "valid when invalid against lone then" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 378 - if-then-else.json: "ignore else without if" - "valid when valid against lone else" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 379 - if-then-else.json: "ignore else without if" - "valid when invalid against lone else" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 380 - if-then-else.json: "if and then without else" - "valid through then" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 381 - if-then-else.json: "if and then without else" - "invalid through then" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is less than -10", 186s # "instanceLocation": "", 186s # "keywordLocation": "/then/minimum" 186s # }, 186s # { 186s # "error": "subschema is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/then" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is less than -10", 186s # "instanceLocation": "", 186s # "keywordLocation": "/then/minimum" 186s # }, 186s # { 186s # "error": "subschema is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/then" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 382 - if-then-else.json: "if and then without else" - "valid when if test fails" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 383 - if-then-else.json: "if and else without then" - "valid when if test passes" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 384 - if-then-else.json: "if and else without then" - "valid through else" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 385 - if-then-else.json: "if and else without then" - "invalid through else" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else/multipleOf" 186s # }, 186s # { 186s # "error": "subschema is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else/multipleOf" 186s # }, 186s # { 186s # "error": "subschema is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 386 - if-then-else.json: "validate against correct branch, then vs else" - "valid through then" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 387 - if-then-else.json: "validate against correct branch, then vs else" - "invalid through then" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is less than -10", 186s # "instanceLocation": "", 186s # "keywordLocation": "/then/minimum" 186s # }, 186s # { 186s # "error": "subschema is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/then" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is less than -10", 186s # "instanceLocation": "", 186s # "keywordLocation": "/then/minimum" 186s # }, 186s # { 186s # "error": "subschema is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/then" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 388 - if-then-else.json: "validate against correct branch, then vs else" - "valid through else" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 389 - if-then-else.json: "validate against correct branch, then vs else" - "invalid through else" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else/multipleOf" 186s # }, 186s # { 186s # "error": "subschema is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else/multipleOf" 186s # }, 186s # { 186s # "error": "subschema is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 390 - if-then-else.json: "non-interference across combined schemas" - "valid, but would have been invalid through then" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 391 - if-then-else.json: "non-interference across combined schemas" - "valid, but would have been invalid through else" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 392 - if-then-else.json: "if with boolean schema true" - "boolean schema true in if always chooses the then path (valid)" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 393 - if-then-else.json: "if with boolean schema true" - "boolean schema true in if always chooses the then path (invalid)" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/then/const" 186s # }, 186s # { 186s # "error": "subschema is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/then" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/then/const" 186s # }, 186s # { 186s # "error": "subschema is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/then" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 394 - if-then-else.json: "if with boolean schema false" - "boolean schema false in if always chooses the else path (invalid)" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else/const" 186s # }, 186s # { 186s # "error": "subschema is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else/const" 186s # }, 186s # { 186s # "error": "subschema is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 395 - if-then-else.json: "if with boolean schema false" - "boolean schema false in if always chooses the else path (valid)" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 396 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "yes redirects to then and passes" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 397 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "other redirects to else and passes" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 398 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "no redirects to then and fails" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/then/const" 186s # }, 186s # { 186s # "error": "subschema is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/then" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/then/const" 186s # }, 186s # { 186s # "error": "subschema is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/then" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 399 - if-then-else.json: "if appears at the end when serialized (keyword processing sequence)" - "invalid redirects to else and fails" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else/const" 186s # }, 186s # { 186s # "error": "subschema is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else/const" 186s # }, 186s # { 186s # "error": "subschema is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 400 - infinite-loop-detection.json: "evaluating the same schema location against the same data location twice is not a sign of an infinite loop" - "passing case" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 401 - infinite-loop-detection.json: "evaluating the same schema location against the same data location twice is not a sign of an infinite loop" - "failing case" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/int/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/properties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "#/definitions/int/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/allOf/1/additionalProperties/$ref/type" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/1/additionalProperties" 186s # }, 186s # { 186s # "error": "subschemas 0, 1 are not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/int/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/allOf/0/properties/foo/$ref/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/properties" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 402 - items.json: "a schema given for items" - "valid items" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 403 - items.json: "a schema given for items" - "wrong type of items" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/items/type" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/items/type" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 404 - items.json: "a schema given for items" - "ignores non-arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 405 - items.json: "a schema given for items" - "JavaScript pseudo-array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 406 - items.json: "an array of schemas for items" - "correct types" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 407 - items.json: "an array of schemas for items" - "wrong types" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/items/0/type" 186s # }, 186s # { 186s # "error": "got integer, not string", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/items/1/type" 186s # }, 186s # { 186s # "error": "not all items are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/items/0/type" 186s # }, 186s # { 186s # "error": "not all items are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 408 - items.json: "an array of schemas for items" - "incomplete array of items" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 409 - items.json: "an array of schemas for items" - "array with additional items" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 410 - items.json: "an array of schemas for items" - "empty array" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 411 - items.json: "an array of schemas for items" - "JavaScript pseudo-array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 412 - items.json: "items with boolean schema (true)" - "any array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 413 - items.json: "items with boolean schema (true)" - "empty array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 414 - items.json: "items with boolean schema (false)" - "any non-empty array is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "item not permitted", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/items" 186s # }, 186s # { 186s # "error": "item not permitted", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/items" 186s # }, 186s # { 186s # "error": "item not permitted", 186s # "instanceLocation": "/2", 186s # "keywordLocation": "/items" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "item not permitted", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/items" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 415 - items.json: "items with boolean schema (false)" - "empty array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 416 - items.json: "items with boolean schemas" - "array with one item is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 417 - items.json: "items with boolean schemas" - "array with two items is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "item not permitted", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/items/1" 186s # }, 186s # { 186s # "error": "not all items are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "item not permitted", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/items/1" 186s # }, 186s # { 186s # "error": "not all items are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 418 - items.json: "items with boolean schemas" - "empty array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 419 - items.json: "items and subitems" - "valid items" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 420 - items.json: "items and subitems" - "too many items" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "additional item not permitted", 186s # "instanceLocation": "/3", 186s # "keywordLocation": "/additionalItems" 186s # }, 186s # { 186s # "error": "subschema is not valid against all additional items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "additional item not permitted", 186s # "instanceLocation": "/3", 186s # "keywordLocation": "/additionalItems" 186s # }, 186s # { 186s # "error": "subschema is not valid against all additional items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 421 - items.json: "items and subitems" - "too many sub-items" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 186s # "error": "additional item not permitted", 186s # "instanceLocation": "/0/2", 186s # "keywordLocation": "/items/0/$ref/additionalItems" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 186s # "error": "subschema is not valid against all additional items", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/items/0/$ref/additionalItems" 186s # }, 186s # { 186s # "error": "not all items are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 186s # "error": "additional item not permitted", 186s # "instanceLocation": "/0/2", 186s # "keywordLocation": "/items/0/$ref/additionalItems" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "#/definitions/item/additionalItems", 186s # "error": "subschema is not valid against all additional items", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/items/0/$ref/additionalItems" 186s # }, 186s # { 186s # "error": "not all items are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 422 - items.json: "items and subitems" - "wrong item" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/item/type", 186s # "error": "got object, not array", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/items/0/$ref/type" 186s # }, 186s # { 186s # "error": "not all items are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/item/type", 186s # "error": "got object, not array", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/items/0/$ref/type" 186s # }, 186s # { 186s # "error": "not all items are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 423 - items.json: "items and subitems" - "wrong sub-item" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/sub-item/required", 186s # "error": "object is missing property: foo", 186s # "instanceLocation": "/0/0", 186s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "#/definitions/item/items", 186s # "error": "not all items are valid", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/items/0/$ref/items" 186s # }, 186s # { 186s # "error": "not all items are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/sub-item/required", 186s # "error": "object is missing property: foo", 186s # "instanceLocation": "/0/0", 186s # "keywordLocation": "/items/0/$ref/items/0/$ref/required" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "#/definitions/item/items", 186s # "error": "not all items are valid", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/items/0/$ref/items" 186s # }, 186s # { 186s # "error": "not all items are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 424 - items.json: "items and subitems" - "fewer items is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 425 - items.json: "nested items" - "valid nested array" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 426 - items.json: "nested items" - "nested array with invalid type" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not number", 186s # "instanceLocation": "/0/0/0/0", 186s # "keywordLocation": "/items/items/items/items/type" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/0/0/0", 186s # "keywordLocation": "/items/items/items/items" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/0/0", 186s # "keywordLocation": "/items/items/items" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/items/items" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not number", 186s # "instanceLocation": "/0/0/0/0", 186s # "keywordLocation": "/items/items/items/items/type" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/0/0/0", 186s # "keywordLocation": "/items/items/items/items" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/0/0", 186s # "keywordLocation": "/items/items/items" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/items/items" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 427 - items.json: "nested items" - "not deep enough" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not array", 186s # "instanceLocation": "/0/0/0", 186s # "keywordLocation": "/items/items/items/type" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/0/0", 186s # "keywordLocation": "/items/items/items" 186s # }, 186s # { 186s # "error": "got integer, not array", 186s # "instanceLocation": "/0/1/0", 186s # "keywordLocation": "/items/items/items/type" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/0/1", 186s # "keywordLocation": "/items/items/items" 186s # }, 186s # { 186s # "error": "got integer, not array", 186s # "instanceLocation": "/0/2/0", 186s # "keywordLocation": "/items/items/items/type" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/0/2", 186s # "keywordLocation": "/items/items/items" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/items/items" 186s # }, 186s # { 186s # "error": "got integer, not array", 186s # "instanceLocation": "/1/0/0", 186s # "keywordLocation": "/items/items/items/type" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/1/0", 186s # "keywordLocation": "/items/items/items" 186s # }, 186s # { 186s # "error": "got integer, not array", 186s # "instanceLocation": "/1/1/0", 186s # "keywordLocation": "/items/items/items/type" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/1/1", 186s # "keywordLocation": "/items/items/items" 186s # }, 186s # { 186s # "error": "got integer, not array", 186s # "instanceLocation": "/1/2/0", 186s # "keywordLocation": "/items/items/items/type" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/1/2", 186s # "keywordLocation": "/items/items/items" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/items/items" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not array", 186s # "instanceLocation": "/0/0/0", 186s # "keywordLocation": "/items/items/items/type" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/0/0", 186s # "keywordLocation": "/items/items/items" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/items/items" 186s # }, 186s # { 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 428 - items.json: "single-form items with null instance elements" - "allows null elements" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 429 - items.json: "array-form items with null instance elements" - "allows null elements" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 430 - maxItems.json: "maxItems validation" - "shorter is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 431 - maxItems.json: "maxItems validation" - "exact length is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 432 - maxItems.json: "maxItems validation" - "too long is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "array has more than 2 items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/maxItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "array has more than 2 items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/maxItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 433 - maxItems.json: "maxItems validation" - "ignores non-arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 434 - maxItems.json: "maxItems validation with a decimal" - "shorter is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 435 - maxItems.json: "maxItems validation with a decimal" - "too long is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "array has more than 2 items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/maxItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "array has more than 2 items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/maxItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 436 - maxLength.json: "maxLength validation" - "shorter is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 437 - maxLength.json: "maxLength validation" - "exact length is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 438 - maxLength.json: "maxLength validation" - "too long is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "length is greater than 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/maxLength" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "length is greater than 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/maxLength" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 439 - maxLength.json: "maxLength validation" - "ignores non-strings" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 440 - maxLength.json: "maxLength validation" - "two graphemes is long enough" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 441 - maxLength.json: "maxLength validation with a decimal" - "shorter is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 442 - maxLength.json: "maxLength validation with a decimal" - "too long is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "length is greater than 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/maxLength" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "length is greater than 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/maxLength" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 443 - maxProperties.json: "maxProperties validation" - "shorter is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 444 - maxProperties.json: "maxProperties validation" - "exact length is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 445 - maxProperties.json: "maxProperties validation" - "too long is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object has more than 2 properties", 186s # "instanceLocation": "", 186s # "keywordLocation": "/maxProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object has more than 2 properties", 186s # "instanceLocation": "", 186s # "keywordLocation": "/maxProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 446 - maxProperties.json: "maxProperties validation" - "ignores arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 447 - maxProperties.json: "maxProperties validation" - "ignores strings" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 448 - maxProperties.json: "maxProperties validation" - "ignores other non-objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 449 - maxProperties.json: "maxProperties validation with a decimal" - "shorter is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 450 - maxProperties.json: "maxProperties validation with a decimal" - "too long is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object has more than 2 properties", 186s # "instanceLocation": "", 186s # "keywordLocation": "/maxProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object has more than 2 properties", 186s # "instanceLocation": "", 186s # "keywordLocation": "/maxProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 451 - maxProperties.json: "maxProperties = 0 means the object is empty" - "no properties is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 452 - maxProperties.json: "maxProperties = 0 means the object is empty" - "one property is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object has more than 0 property", 186s # "instanceLocation": "", 186s # "keywordLocation": "/maxProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object has more than 0 property", 186s # "instanceLocation": "", 186s # "keywordLocation": "/maxProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 453 - maximum.json: "maximum validation" - "below the maximum is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 454 - maximum.json: "maximum validation" - "boundary point is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 455 - maximum.json: "maximum validation" - "above the maximum is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is greater than 3", 186s # "instanceLocation": "", 186s # "keywordLocation": "/maximum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is greater than 3", 186s # "instanceLocation": "", 186s # "keywordLocation": "/maximum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 456 - maximum.json: "maximum validation" - "ignores non-numbers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 457 - maximum.json: "maximum validation with unsigned integer" - "below the maximum is invalid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 458 - maximum.json: "maximum validation with unsigned integer" - "boundary point integer is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 459 - maximum.json: "maximum validation with unsigned integer" - "boundary point float is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 460 - maximum.json: "maximum validation with unsigned integer" - "above the maximum is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is greater than 300", 186s # "instanceLocation": "", 186s # "keywordLocation": "/maximum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is greater than 300", 186s # "instanceLocation": "", 186s # "keywordLocation": "/maximum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 461 - minItems.json: "minItems validation" - "longer is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 462 - minItems.json: "minItems validation" - "exact length is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 463 - minItems.json: "minItems validation" - "too short is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "array has fewer than 1 item", 186s # "instanceLocation": "", 186s # "keywordLocation": "/minItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "array has fewer than 1 item", 186s # "instanceLocation": "", 186s # "keywordLocation": "/minItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 464 - minItems.json: "minItems validation" - "ignores non-arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 465 - minItems.json: "minItems validation with a decimal" - "longer is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 466 - minItems.json: "minItems validation with a decimal" - "too short is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "array has fewer than 1 item", 186s # "instanceLocation": "", 186s # "keywordLocation": "/minItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "array has fewer than 1 item", 186s # "instanceLocation": "", 186s # "keywordLocation": "/minItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 467 - minLength.json: "minLength validation" - "longer is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 468 - minLength.json: "minLength validation" - "exact length is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 469 - minLength.json: "minLength validation" - "too short is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "length is less than 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/minLength" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "length is less than 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/minLength" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 470 - minLength.json: "minLength validation" - "ignores non-strings" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 471 - minLength.json: "minLength validation" - "one grapheme is not long enough" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "length is less than 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/minLength" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "length is less than 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/minLength" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 472 - minLength.json: "minLength validation with a decimal" - "longer is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 473 - minLength.json: "minLength validation with a decimal" - "too short is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "length is less than 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/minLength" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "length is less than 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/minLength" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 474 - minProperties.json: "minProperties validation" - "longer is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 475 - minProperties.json: "minProperties validation" - "exact length is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 476 - minProperties.json: "minProperties validation" - "too short is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object has fewer than 1 property", 186s # "instanceLocation": "", 186s # "keywordLocation": "/minProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object has fewer than 1 property", 186s # "instanceLocation": "", 186s # "keywordLocation": "/minProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 477 - minProperties.json: "minProperties validation" - "ignores arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 478 - minProperties.json: "minProperties validation" - "ignores strings" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 479 - minProperties.json: "minProperties validation" - "ignores other non-objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 480 - minProperties.json: "minProperties validation with a decimal" - "longer is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 481 - minProperties.json: "minProperties validation with a decimal" - "too short is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object has fewer than 1 property", 186s # "instanceLocation": "", 186s # "keywordLocation": "/minProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object has fewer than 1 property", 186s # "instanceLocation": "", 186s # "keywordLocation": "/minProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 482 - minimum.json: "minimum validation" - "above the minimum is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 483 - minimum.json: "minimum validation" - "boundary point is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 484 - minimum.json: "minimum validation" - "below the minimum is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is less than 1.1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/minimum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is less than 1.1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/minimum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 485 - minimum.json: "minimum validation" - "ignores non-numbers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 486 - minimum.json: "minimum validation with signed integer" - "negative above the minimum is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 487 - minimum.json: "minimum validation with signed integer" - "positive above the minimum is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 488 - minimum.json: "minimum validation with signed integer" - "boundary point is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 489 - minimum.json: "minimum validation with signed integer" - "boundary point with float is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 490 - minimum.json: "minimum validation with signed integer" - "float below the minimum is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is less than -2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/minimum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is less than -2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/minimum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 491 - minimum.json: "minimum validation with signed integer" - "int below the minimum is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is less than -2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/minimum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is less than -2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/minimum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 492 - minimum.json: "minimum validation with signed integer" - "ignores non-numbers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 493 - multipleOf.json: "by int" - "int by int" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 494 - multipleOf.json: "by int" - "int by int fail" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/multipleOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/multipleOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 495 - multipleOf.json: "by int" - "ignores non-numbers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 496 - multipleOf.json: "by number" - "zero is multiple of anything" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 497 - multipleOf.json: "by number" - "4.5 is multiple of 1.5" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 498 - multipleOf.json: "by number" - "35 is not multiple of 1.5" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 1.5", 186s # "instanceLocation": "", 186s # "keywordLocation": "/multipleOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 1.5", 186s # "instanceLocation": "", 186s # "keywordLocation": "/multipleOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 499 - multipleOf.json: "by small number" - "0.0075 is multiple of 0.0001" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 500 - multipleOf.json: "by small number" - "0.00751 is not multiple of 0.0001" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 0.0001", 186s # "instanceLocation": "", 186s # "keywordLocation": "/multipleOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 0.0001", 186s # "instanceLocation": "", 186s # "keywordLocation": "/multipleOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 501 - multipleOf.json: "float division = inf" - "always invalid, but naive implementations may raise an overflow error" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 0.123456789", 186s # "instanceLocation": "", 186s # "keywordLocation": "/multipleOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is not a multiple of 0.123456789", 186s # "instanceLocation": "", 186s # "keywordLocation": "/multipleOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 502 - multipleOf.json: "small multiple of large integer" - "any integer is a multiple of 1e-8" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 503 - not.json: "not" - "allowed" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 504 - not.json: "not" - "disallowed" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 505 - not.json: "not multiple types" - "valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 506 - not.json: "not multiple types" - "mismatch" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 507 - not.json: "not multiple types" - "other mismatch" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 508 - not.json: "not more complex schema" - "match" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 509 - not.json: "not more complex schema" - "other match" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 510 - not.json: "not more complex schema" - "mismatch" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 511 - not.json: "forbidden property" - "property present" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/not" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/not" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 512 - not.json: "forbidden property" - "property absent" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 513 - not.json: "forbid everything with empty schema" - "number is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 514 - not.json: "forbid everything with empty schema" - "string is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 515 - not.json: "forbid everything with empty schema" - "boolean true is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 516 - not.json: "forbid everything with empty schema" - "boolean false is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 517 - not.json: "forbid everything with empty schema" - "null is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 518 - not.json: "forbid everything with empty schema" - "object is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 519 - not.json: "forbid everything with empty schema" - "empty object is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 520 - not.json: "forbid everything with empty schema" - "array is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 521 - not.json: "forbid everything with empty schema" - "empty array is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 522 - not.json: "forbid everything with boolean schema true" - "number is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 523 - not.json: "forbid everything with boolean schema true" - "string is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 524 - not.json: "forbid everything with boolean schema true" - "boolean true is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 525 - not.json: "forbid everything with boolean schema true" - "boolean false is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 526 - not.json: "forbid everything with boolean schema true" - "null is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 527 - not.json: "forbid everything with boolean schema true" - "object is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 528 - not.json: "forbid everything with boolean schema true" - "empty object is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 529 - not.json: "forbid everything with boolean schema true" - "array is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 530 - not.json: "forbid everything with boolean schema true" - "empty array is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/not" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 531 - not.json: "allow everything with boolean schema false" - "number is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 532 - not.json: "allow everything with boolean schema false" - "string is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 533 - not.json: "allow everything with boolean schema false" - "boolean true is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 534 - not.json: "allow everything with boolean schema false" - "boolean false is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 535 - not.json: "allow everything with boolean schema false" - "null is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 536 - not.json: "allow everything with boolean schema false" - "object is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 537 - not.json: "allow everything with boolean schema false" - "empty object is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 538 - not.json: "allow everything with boolean schema false" - "array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 539 - not.json: "allow everything with boolean schema false" - "empty array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 540 - not.json: "double negation" - "any value is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 541 - oneOf.json: "oneOf" - "first oneOf valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 542 - oneOf.json: "oneOf" - "second oneOf valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 543 - oneOf.json: "oneOf" - "both oneOf valid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "multiple subschemas are valid: 0, 1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "multiple subschemas are valid: 0, 1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 544 - oneOf.json: "oneOf" - "neither oneOf valid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got number, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/0/type" 186s # }, 186s # { 186s # "error": "value is less than 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/1/minimum" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got number, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/0/type" 186s # }, 186s # { 186s # "error": "value is less than 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/1/minimum" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 545 - oneOf.json: "oneOf with base schema" - "mismatch base schema" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # }, 186s # { 186s # "error": "multiple subschemas are valid: 0, 1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 546 - oneOf.json: "oneOf with base schema" - "one oneOf valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 547 - oneOf.json: "oneOf with base schema" - "both oneOf valid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "multiple subschemas are valid: 0, 1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "multiple subschemas are valid: 0, 1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 548 - oneOf.json: "oneOf with boolean schemas, all true" - "any value is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "multiple subschemas are valid: 0, 1, 2", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "multiple subschemas are valid: 0, 1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 549 - oneOf.json: "oneOf with boolean schemas, one true" - "any value is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 550 - oneOf.json: "oneOf with boolean schemas, more than one true" - "any value is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "multiple subschemas are valid: 0, 1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "multiple subschemas are valid: 0, 1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 551 - oneOf.json: "oneOf with boolean schemas, all false" - "any value is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/0" 186s # }, 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/1" 186s # }, 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/2" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/0" 186s # }, 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/1" 186s # }, 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/2" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 552 - oneOf.json: "oneOf complex types" - "first oneOf valid (complex)" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 553 - oneOf.json: "oneOf complex types" - "second oneOf valid (complex)" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 554 - oneOf.json: "oneOf complex types" - "both oneOf valid (complex)" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "multiple subschemas are valid: 0, 1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "multiple subschemas are valid: 0, 1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 555 - oneOf.json: "oneOf complex types" - "neither oneOf valid (complex)" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/oneOf/0/properties/bar/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/0/properties" 186s # }, 186s # { 186s # "error": "got integer, not string", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/oneOf/1/properties/foo/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/1/properties" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/oneOf/0/properties/bar/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/0/properties" 186s # }, 186s # { 186s # "error": "got integer, not string", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/oneOf/1/properties/foo/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/1/properties" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 556 - oneOf.json: "oneOf with empty schema" - "one valid - valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 557 - oneOf.json: "oneOf with empty schema" - "both valid - invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "multiple subschemas are valid: 0, 1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "multiple subschemas are valid: 0, 1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 558 - oneOf.json: "oneOf with required" - "both invalid - invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: foo", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/0/required" 186s # }, 186s # { 186s # "error": "object is missing properties: foo, baz", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/1/required" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: foo", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/0/required" 186s # }, 186s # { 186s # "error": "object is missing properties: foo, baz", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/1/required" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 559 - oneOf.json: "oneOf with required" - "first valid - valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 560 - oneOf.json: "oneOf with required" - "second valid - valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 561 - oneOf.json: "oneOf with required" - "both valid - invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "multiple subschemas are valid: 0, 1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "multiple subschemas are valid: 0, 1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 562 - oneOf.json: "oneOf with missing optional property" - "first oneOf valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 563 - oneOf.json: "oneOf with missing optional property" - "second oneOf valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 564 - oneOf.json: "oneOf with missing optional property" - "both oneOf valid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "multiple subschemas are valid: 0, 1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "multiple subschemas are valid: 0, 1", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 565 - oneOf.json: "oneOf with missing optional property" - "neither oneOf valid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: bar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/0/required" 186s # }, 186s # { 186s # "error": "object is missing property: foo", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/1/required" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: bar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/0/required" 186s # }, 186s # { 186s # "error": "object is missing property: foo", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/1/required" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 566 - oneOf.json: "nested oneOf, to check validation semantics" - "null is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 567 - oneOf.json: "nested oneOf, to check validation semantics" - "anything non-null is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/0/oneOf/0/type" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/0/oneOf" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/0/oneOf/0/type" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf/0/oneOf" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/oneOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 568 - pattern.json: "pattern validation" - "a matching pattern is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 569 - pattern.json: "pattern validation" - "a non-matching pattern is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 570 - pattern.json: "pattern validation" - "ignores booleans" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 571 - pattern.json: "pattern validation" - "ignores integers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 572 - pattern.json: "pattern validation" - "ignores floats" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 573 - pattern.json: "pattern validation" - "ignores objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 574 - pattern.json: "pattern validation" - "ignores arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 575 - pattern.json: "pattern validation" - "ignores null" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 576 - pattern.json: "pattern is not anchored" - "matches a substring" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 577 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single valid match is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 578 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple valid matches is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 579 - patternProperties.json: "patternProperties validates properties matching a regex" - "a single invalid match is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/patternProperties/f.*o/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/patternProperties/f.*o/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 580 - patternProperties.json: "patternProperties validates properties matching a regex" - "multiple invalid matches is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/patternProperties/f.*o/type" 186s # }, 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/foooooo", 186s # "keywordLocation": "/patternProperties/f.*o/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/patternProperties/f.*o/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 581 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 582 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores strings" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 583 - patternProperties.json: "patternProperties validates properties matching a regex" - "ignores other non-objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 584 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a single valid match is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 585 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "a simultaneous match is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 586 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "multiple matches is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 587 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to one is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/a", 186s # "keywordLocation": "/patternProperties/a*/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/a", 186s # "keywordLocation": "/patternProperties/a*/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 588 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to the other is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is greater than 20", 186s # "instanceLocation": "/aaaa", 186s # "keywordLocation": "/patternProperties/aaa*/maximum" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is greater than 20", 186s # "instanceLocation": "/aaaa", 186s # "keywordLocation": "/patternProperties/aaa*/maximum" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 589 - patternProperties.json: "multiple simultaneous patternProperties are validated" - "an invalid due to both is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/aaa", 186s # "keywordLocation": "/patternProperties/a*/type" 186s # }, 186s # { 186s # "error": "value is greater than 20", 186s # "instanceLocation": "/aaaa", 186s # "keywordLocation": "/patternProperties/aaa*/maximum" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/aaa", 186s # "keywordLocation": "/patternProperties/a*/type" 186s # }, 186s # { 186s # "error": "value is greater than 20", 186s # "instanceLocation": "/aaaa", 186s # "keywordLocation": "/patternProperties/aaa*/maximum" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 590 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "non recognized members are ignored" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 591 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "recognized members are accounted for" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got null, not boolean", 186s # "instanceLocation": "/a31b", 186s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got null, not boolean", 186s # "instanceLocation": "/a31b", 186s # "keywordLocation": "/patternProperties/[0-9]{2,}/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 592 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 593 - patternProperties.json: "regexes are not anchored by default and are case sensitive" - "regexes are case sensitive, 2" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not string", 186s # "instanceLocation": "/a_X_3", 186s # "keywordLocation": "/patternProperties/X_/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not string", 186s # "instanceLocation": "/a_X_3", 186s # "keywordLocation": "/patternProperties/X_/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 594 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema true is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 595 - patternProperties.json: "patternProperties with boolean schemas" - "object with property matching schema false is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "property not permitted", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/patternProperties/b.*" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "property not permitted", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/patternProperties/b.*" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 596 - patternProperties.json: "patternProperties with boolean schemas" - "object with both properties is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "property not permitted", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/patternProperties/b.*" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "property not permitted", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/patternProperties/b.*" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 597 - patternProperties.json: "patternProperties with boolean schemas" - "object with a property matching both true and false is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "property not permitted", 186s # "instanceLocation": "/foobar", 186s # "keywordLocation": "/patternProperties/b.*" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "property not permitted", 186s # "instanceLocation": "/foobar", 186s # "keywordLocation": "/patternProperties/b.*" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 598 - patternProperties.json: "patternProperties with boolean schemas" - "empty object is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 599 - patternProperties.json: "patternProperties with null valued instance properties" - "allows null values" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 600 - properties.json: "object properties validation" - "both properties present and valid is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 601 - properties.json: "object properties validation" - "one property invalid is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got object, not string", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/properties/bar/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got object, not string", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/properties/bar/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 602 - properties.json: "object properties validation" - "both properties invalid is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got object, not string", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/properties/bar/type" 186s # }, 186s # { 186s # "error": "got array, not integer", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got object, not string", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/properties/bar/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 603 - properties.json: "object properties validation" - "doesn't invalidate other properties" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 604 - properties.json: "object properties validation" - "ignores arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 605 - properties.json: "object properties validation" - "ignores other non-objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 606 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property validates property" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 607 - properties.json: "properties, patternProperties, additionalProperties interaction" - "property invalidates property" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "array has more than 3 items", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/maxItems" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "array has more than 3 items", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/maxItems" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 608 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates property" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "array has fewer than 2 items", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/patternProperties/f.o/minItems" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "array has fewer than 2 items", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/patternProperties/f.o/minItems" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 609 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty validates nonproperty" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 610 - properties.json: "properties, patternProperties, additionalProperties interaction" - "patternProperty invalidates nonproperty" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "array has fewer than 2 items", 186s # "instanceLocation": "/fxo", 186s # "keywordLocation": "/patternProperties/f.o/minItems" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "array has fewer than 2 items", 186s # "instanceLocation": "/fxo", 186s # "keywordLocation": "/patternProperties/f.o/minItems" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 611 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty ignores property" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 612 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty validates others" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 613 - properties.json: "properties, patternProperties, additionalProperties interaction" - "additionalProperty invalidates others" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/quux", 186s # "keywordLocation": "/additionalProperties/type" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/quux", 186s # "keywordLocation": "/additionalProperties/type" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 614 - properties.json: "properties with boolean schema" - "no property present is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 615 - properties.json: "properties with boolean schema" - "only 'true' property present is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 616 - properties.json: "properties with boolean schema" - "only 'false' property present is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "property not permitted", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/properties/bar" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "property not permitted", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/properties/bar" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 617 - properties.json: "properties with boolean schema" - "both properties present is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "property not permitted", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/properties/bar" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "property not permitted", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/properties/bar" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 618 - properties.json: "properties with escaped characters" - "object with all numbers is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 619 - properties.json: "properties with escaped characters" - "object with strings is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not number", 186s # "instanceLocation": "/foo\tbar", 186s # "keywordLocation": "/properties/foo\tbar/type" 186s # }, 186s # { 186s # "error": "got string, not number", 186s # "instanceLocation": "/foo\nbar", 186s # "keywordLocation": "/properties/foo\nbar/type" 186s # }, 186s # { 186s # "error": "got string, not number", 186s # "instanceLocation": "/foo\fbar", 186s # "keywordLocation": "/properties/foo\fbar/type" 186s # }, 186s # { 186s # "error": "got string, not number", 186s # "instanceLocation": "/foo\rbar", 186s # "keywordLocation": "/properties/foo\rbar/type" 186s # }, 186s # { 186s # "error": "got string, not number", 186s # "instanceLocation": "/foo\"bar", 186s # "keywordLocation": "/properties/foo\"bar/type" 186s # }, 186s # { 186s # "error": "got string, not number", 186s # "instanceLocation": "/foo\\bar", 186s # "keywordLocation": "/properties/foo\\bar/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not number", 186s # "instanceLocation": "/foo\tbar", 186s # "keywordLocation": "/properties/foo\tbar/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 620 - properties.json: "properties with null valued instance properties" - "allows null values" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 621 - properties.json: "properties whose names are Javascript object property names" - "ignores arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 622 - properties.json: "properties whose names are Javascript object property names" - "ignores other non-objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 623 - properties.json: "properties whose names are Javascript object property names" - "none of the properties mentioned" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 624 - properties.json: "properties whose names are Javascript object property names" - "__proto__ not valid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not number", 186s # "instanceLocation": "/__proto__", 186s # "keywordLocation": "/properties/__proto__/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not number", 186s # "instanceLocation": "/__proto__", 186s # "keywordLocation": "/properties/__proto__/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 625 - properties.json: "properties whose names are Javascript object property names" - "toString not valid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not string", 186s # "instanceLocation": "/toString/length", 186s # "keywordLocation": "/properties/toString/properties/length/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "/toString", 186s # "keywordLocation": "/properties/toString/properties" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not string", 186s # "instanceLocation": "/toString/length", 186s # "keywordLocation": "/properties/toString/properties/length/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "/toString", 186s # "keywordLocation": "/properties/toString/properties" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 626 - properties.json: "properties whose names are Javascript object property names" - "constructor not valid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got object, not number", 186s # "instanceLocation": "/constructor", 186s # "keywordLocation": "/properties/constructor/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got object, not number", 186s # "instanceLocation": "/constructor", 186s # "keywordLocation": "/properties/constructor/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 627 - properties.json: "properties whose names are Javascript object property names" - "all present and valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 628 - propertyNames.json: "propertyNames validation" - "all property names valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 629 - propertyNames.json: "propertyNames validation" - "some property names invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "length is greater than 3", 186s # "instanceLocation": "/foobar", 186s # "keywordLocation": "/propertyNames/maxLength" 186s # }, 186s # { 186s # "error": "not all property names are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/propertyNames" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "length is greater than 3", 186s # "instanceLocation": "/foobar", 186s # "keywordLocation": "/propertyNames/maxLength" 186s # }, 186s # { 186s # "error": "not all property names are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/propertyNames" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 630 - propertyNames.json: "propertyNames validation" - "object without properties is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 631 - propertyNames.json: "propertyNames validation" - "ignores arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 632 - propertyNames.json: "propertyNames validation" - "ignores strings" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 633 - propertyNames.json: "propertyNames validation" - "ignores other non-objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 634 - propertyNames.json: "propertyNames validation with pattern" - "matching property names valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 635 - propertyNames.json: "propertyNames validation with pattern" - "non-matching property name is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "/aaA", 186s # "keywordLocation": "/propertyNames/pattern" 186s # }, 186s # { 186s # "error": "not all property names are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/propertyNames" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "/aaA", 186s # "keywordLocation": "/propertyNames/pattern" 186s # }, 186s # { 186s # "error": "not all property names are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/propertyNames" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 636 - propertyNames.json: "propertyNames validation with pattern" - "object without properties is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 637 - propertyNames.json: "propertyNames with boolean schema true" - "object with any properties is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 638 - propertyNames.json: "propertyNames with boolean schema true" - "empty object is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 639 - propertyNames.json: "propertyNames with boolean schema false" - "object with any properties is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/propertyNames" 186s # }, 186s # { 186s # "error": "not all property names are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/propertyNames" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "subschema is false", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/propertyNames" 186s # }, 186s # { 186s # "error": "not all property names are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/propertyNames" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 640 - propertyNames.json: "propertyNames with boolean schema false" - "empty object is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 641 - ref.json: "root pointer ref" - "match" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 642 - ref.json: "root pointer ref" - "recursive match" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 643 - ref.json: "root pointer ref" - "mismatch" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 644 - ref.json: "root pointer ref" - "recursive mismatch" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/additionalProperties", 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/foo/bar", 186s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "#/additionalProperties", 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/additionalProperties", 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/foo/bar", 186s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "#/additionalProperties", 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/$ref/additionalProperties" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 645 - ref.json: "relative pointer ref to object" - "match" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 646 - ref.json: "relative pointer ref to object" - "mismatch" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/properties/foo/type", 186s # "error": "got boolean, not integer", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/properties/bar/$ref/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/properties/foo/type", 186s # "error": "got boolean, not integer", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/properties/bar/$ref/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 647 - ref.json: "relative pointer ref to array" - "match array" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 648 - ref.json: "relative pointer ref to array" - "mismatch array" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/items/0/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/items/1/$ref/type" 186s # }, 186s # { 186s # "error": "not all items are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/items/0/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "/1", 186s # "keywordLocation": "/items/1/$ref/type" 186s # }, 186s # { 186s # "error": "not all items are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 649 - ref.json: "escaped pointer ref" - "slash invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/slash~1field/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "/slash", 186s # "keywordLocation": "/properties/slash/$ref/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/slash~1field/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "/slash", 186s # "keywordLocation": "/properties/slash/$ref/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 650 - ref.json: "escaped pointer ref" - "tilde invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/tilde~0field/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "/tilde", 186s # "keywordLocation": "/properties/tilde/$ref/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/tilde~0field/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "/tilde", 186s # "keywordLocation": "/properties/tilde/$ref/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 651 - ref.json: "escaped pointer ref" - "percent invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/percent%25field/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "/percent", 186s # "keywordLocation": "/properties/percent/$ref/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/percent%25field/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "/percent", 186s # "keywordLocation": "/properties/percent/$ref/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 652 - ref.json: "escaped pointer ref" - "slash valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 653 - ref.json: "escaped pointer ref" - "tilde valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 654 - ref.json: "escaped pointer ref" - "percent valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 655 - ref.json: "nested refs" - "nested ref valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 656 - ref.json: "nested refs" - "nested ref invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/a/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/$ref/$ref/type" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/a/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/$ref/$ref/type" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 657 - ref.json: "ref overrides any sibling keywords" - "ref valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 658 - ref.json: "ref overrides any sibling keywords" - "ref valid, maxItems ignored" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 659 - ref.json: "ref overrides any sibling keywords" - "ref invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/reffed/type", 186s # "error": "got string, not array", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/$ref/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/reffed/type", 186s # "error": "got string, not array", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/$ref/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 660 - ref.json: "$ref prevents a sibling $id from changing the base uri" - "$ref resolves to /definitions/base_foo, data does not validate" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/foo.json#/type", 186s # "error": "got string, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/foo.json#/type", 186s # "error": "got string, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/sibling_id/base/#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 661 - ref.json: "$ref prevents a sibling $id from changing the base uri" - "$ref resolves to /definitions/base_foo, data validates" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 662 - ref.json: "remote ref, containing refs itself" - "remote ref valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 663 - ref.json: "remote ref, containing refs itself" - "remote ref invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/definitions/nonNegativeInteger/minimum", 186s # "error": "value is less than 0", 186s # "instanceLocation": "/minLength", 186s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf/0/$ref/minimum" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/definitions/nonNegativeIntegerDefault0/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "/minLength", 186s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/$ref/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/definitions/nonNegativeInteger/minimum", 186s # "error": "value is less than 0", 186s # "instanceLocation": "/minLength", 186s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf/0/$ref/minimum" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/definitions/nonNegativeIntegerDefault0/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "/minLength", 186s # "keywordLocation": "/$ref/properties/minLength/$ref/allOf" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://json-schema.org/draft-07/schema#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/$ref/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 664 - ref.json: "property named $ref that is not a reference" - "property named $ref valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 665 - ref.json: "property named $ref that is not a reference" - "property named $ref invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not string", 186s # "instanceLocation": "/$ref", 186s # "keywordLocation": "/properties/$ref/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not string", 186s # "instanceLocation": "/$ref", 186s # "keywordLocation": "/properties/$ref/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 666 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 667 - ref.json: "property named $ref, containing an actual $ref" - "property named $ref invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/is-string/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/$ref", 186s # "keywordLocation": "/properties/$ref/$ref/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/is-string/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/$ref", 186s # "keywordLocation": "/properties/$ref/$ref/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 668 - ref.json: "$ref to boolean schema true" - "any value is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 669 - ref.json: "$ref to boolean schema false" - "any value is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/bool", 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/bool", 186s # "error": "subschema is false", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 670 - ref.json: "Recursive references between schemas" - "valid tree" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 671 - ref.json: "Recursive references between schemas" - "invalid tree" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties/value/type", 186s # "error": "got string, not number", 186s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 186s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "/nodes/0/subtree/nodes/0", 186s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/nodes/0/subtree/nodes", 186s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "/nodes/0/subtree", 186s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "/nodes/0", 186s # "keywordLocation": "/properties/nodes/items/$ref/properties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/nodes", 186s # "keywordLocation": "/properties/nodes/items" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties/value/type", 186s # "error": "got string, not number", 186s # "instanceLocation": "/nodes/0/subtree/nodes/0/value", 186s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties/value/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "/nodes/0/subtree/nodes/0", 186s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items/$ref/properties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/nodes/0/subtree/nodes", 186s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties/nodes/items" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "/nodes/0/subtree", 186s # "keywordLocation": "/properties/nodes/items/$ref/properties/subtree/$ref/properties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/node#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "/nodes/0", 186s # "keywordLocation": "/properties/nodes/items/$ref/properties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties/nodes/items", 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/nodes", 186s # "keywordLocation": "/properties/nodes/items" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/tree#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 672 - ref.json: "refs with quote" - "object with numbers is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 673 - ref.json: "refs with quote" - "object with strings is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/foo%22bar/type", 186s # "error": "got string, not number", 186s # "instanceLocation": "/foo\"bar", 186s # "keywordLocation": "/properties/foo\"bar/$ref/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/foo%22bar/type", 186s # "error": "got string, not number", 186s # "instanceLocation": "/foo\"bar", 186s # "keywordLocation": "/properties/foo\"bar/$ref/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 674 - ref.json: "Location-independent identifier" - "match" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 675 - ref.json: "Location-independent identifier" - "mismatch" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/A/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/A/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 676 - ref.json: "Reference an anchor with a non-relative URI" - "match" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 677 - ref.json: "Reference an anchor with a non-relative URI" - "mismatch" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/definitions/A/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/definitions/A/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "https://example.com/schema-with-anchor#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 678 - ref.json: "Location-independent identifier with base URI change in subschema" - "match" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 679 - ref.json: "Location-independent identifier with base URI change in subschema" - "mismatch" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/nested.json#/definitions/B/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/root#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/nested.json#/definitions/B/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/root#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 680 - ref.json: "naive replacement of $ref with its destination is not correct" - "do not evaluate the $ref inside the enum, matching any string" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 681 - ref.json: "naive replacement of $ref with its destination is not correct" - "do not evaluate the $ref inside the enum, definition exact match" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/enum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 682 - ref.json: "naive replacement of $ref with its destination is not correct" - "match the enum exactly" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 683 - ref.json: "refs with relative uris and defs" - "invalid on inner field" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/foo/bar", 186s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/allOf" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/foo/bar", 186s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/allOf" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 684 - ref.json: "refs with relative uris and defs" - "invalid on outer field" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/allOf" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/definitions/inner/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs2.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/allOf" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-relative-uri-defs1.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 685 - ref.json: "refs with relative uris and defs" - "valid on both fields" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 686 - ref.json: "relative refs with absolute uris and defs" - "invalid on inner field" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/foo/bar", 186s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/allOf" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/foo/bar", 186s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties/bar/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/allOf/0/$ref/properties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/allOf" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 687 - ref.json: "relative refs with absolute uris and defs" - "invalid on outer field" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/allOf" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/definitions/inner/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs2.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/allOf" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/schema-refs-absolute-uris-defs1.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 688 - ref.json: "relative refs with absolute uris and defs" - "valid on both fields" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 689 - ref.json: "$id must be resolved against nearest parent, not just immediate parent" - "number is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 690 - ref.json: "$id must be resolved against nearest parent, not just immediate parent" - "non-number is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 186s # "error": "got string, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://example.com/b/d.json#/type", 186s # "error": "got string, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/a.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 691 - ref.json: "simple URN base URI with $ref via the URN" - "valid under the URN IDed schema" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 692 - ref.json: "simple URN base URI with $ref via the URN" - "invalid under the URN IDed schema" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 186s # "error": "value is less than 30", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/$ref/minimum" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/minimum", 186s # "error": "value is less than 30", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/$ref/minimum" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ffff-ffff-4321feebdaed#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 693 - ref.json: "simple URN base URI with JSON pointer" - "a string is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 694 - ref.json: "simple URN base URI with JSON pointer" - "a non-string is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/definitions/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/definitions/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-00ff-ff00-4321feebdaed#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 695 - ref.json: "URN base URI with NSS" - "a string is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 696 - ref.json: "URN base URI with NSS" - "a non-string is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/definitions/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/definitions/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "urn:example:1/406/47452/2#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 697 - ref.json: "URN base URI with r-component" - "a string is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 698 - ref.json: "URN base URI with r-component" - "a non-string is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/definitions/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/definitions/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "urn:example:foo-bar-baz-qux?+CCResolve:cc=uk#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 699 - ref.json: "URN base URI with q-component" - "a string is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 700 - ref.json: "URN base URI with q-component" - "a non-string is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/definitions/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/definitions/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "urn:example:weather?=op=map&lat=39.56&lon=-104.85&datetime=1969-07-21T02:56:15Z#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 701 - ref.json: "URN base URI with URN and JSON pointer ref" - "a string is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 702 - ref.json: "URN base URI with URN and JSON pointer ref" - "a non-string is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/definitions/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/definitions/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-0000-0000-4321feebdaed#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 703 - ref.json: "URN base URI with URN and anchor ref" - "a string is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 704 - ref.json: "URN base URI with URN and anchor ref" - "a non-string is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/definitions/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/definitions/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/foo", 186s # "keywordLocation": "/properties/foo/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "urn:uuid:deadbeef-1234-ff00-00ff-4321feebdaed#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 705 - ref.json: "ref to if" - "a non-integer is invalid due to the $ref" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://example.com/ref/if#/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://example.com/ref/if#/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 706 - ref.json: "ref to if" - "an integer is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 707 - ref.json: "ref to then" - "a non-integer is invalid due to the $ref" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://example.com/ref/then#/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://example.com/ref/then#/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 708 - ref.json: "ref to then" - "an integer is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 709 - ref.json: "ref to else" - "a non-integer is invalid due to the $ref" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://example.com/ref/else#/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://example.com/ref/else#/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 710 - ref.json: "ref to else" - "an integer is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 711 - ref.json: "ref with absolute-path-reference" - "a string is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 712 - ref.json: "ref with absolute-path-reference" - "an integer is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/ref/absref.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://example.com/absref/foobar.json#/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://example.com/ref/absref.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 713 - ref.json: "$id with file URI still resolves pointers - *nix" - "number is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 714 - ref.json: "$id with file URI still resolves pointers - *nix" - "non-number is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "file:///folder/file.json#/definitions/foo/type", 186s # "error": "got string, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "file:///folder/file.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "file:///folder/file.json#/definitions/foo/type", 186s # "error": "got string, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "file:///folder/file.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 715 - ref.json: "$id with file URI still resolves pointers - windows" - "number is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 716 - ref.json: "$id with file URI still resolves pointers - windows" - "non-number is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/definitions/foo/type", 186s # "error": "got string, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/definitions/foo/type", 186s # "error": "got string, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "file:///c:/folder/file.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 717 - ref.json: "empty tokens in $ref json-pointer" - "number is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 718 - ref.json: "empty tokens in $ref json-pointer" - "non-number is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions//definitions//type", 186s # "error": "got string, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions//definitions//type", 186s # "error": "got string, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/type" 186s # }, 186s # { 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 719 - refRemote.json: "remote ref" - "remote ref valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 720 - refRemote.json: "remote ref" - "remote ref invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/$ref/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/$ref/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 721 - refRemote.json: "fragment within remote ref" - "remote fragment valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 722 - refRemote.json: "fragment within remote ref" - "remote fragment invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/$ref/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/$ref/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 723 - refRemote.json: "ref within remote ref" - "ref within ref valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 724 - refRemote.json: "ref within remote ref" - "ref within ref invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/$ref/$ref/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/subSchemas.json#/definitions/integer/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/$ref/$ref/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 725 - refRemote.json: "base URI change" - "base URI change ref valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 726 - refRemote.json: "base URI change" - "base URI change ref invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "/0/0", 186s # "keywordLocation": "/items/items/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChange/#/items", 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/items/items" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/#/items", 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "/0/0", 186s # "keywordLocation": "/items/items/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChange/#/items", 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/0", 186s # "keywordLocation": "/items/items" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/#/items", 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/items" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 727 - refRemote.json: "base URI change - change folder" - "number is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 728 - refRemote.json: "base URI change - change folder" - "string is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "/list/0", 186s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolder/#/items", 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/list", 186s # "keywordLocation": "/properties/list/$ref/items" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs1.json#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "/list/0", 186s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolder/#/items", 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/list", 186s # "keywordLocation": "/properties/list/$ref/items" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs1.json#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 729 - refRemote.json: "base URI change - change folder in subschema" - "number is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 730 - refRemote.json: "base URI change - change folder in subschema" - "string is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "/list/0", 186s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/list", 186s # "keywordLocation": "/properties/list/$ref/items" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs2.json#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "/list/0", 186s # "keywordLocation": "/properties/list/$ref/items/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/baseUriChangeFolderInSubschema/#/definitions/bar/items", 186s # "error": "subschema is not valid against all items", 186s # "instanceLocation": "/list", 186s # "keywordLocation": "/properties/list/$ref/items" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/scope_change_defs2.json#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 731 - refRemote.json: "root ref in remote ref" - "string is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 732 - refRemote.json: "root ref in remote ref" - "null is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 733 - refRemote.json: "root ref in remote ref" - "object is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf/0/type", 186s # "error": "got object, not null", 186s # "instanceLocation": "/name", 186s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/type", 186s # "error": "got object, not string", 186s # "instanceLocation": "/name", 186s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf", 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "/name", 186s # "keywordLocation": "/properties/name/$ref/anyOf" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/object#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf/0/type", 186s # "error": "got object, not null", 186s # "instanceLocation": "/name", 186s # "keywordLocation": "/properties/name/$ref/anyOf/0/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/type", 186s # "error": "got object, not string", 186s # "instanceLocation": "/name", 186s # "keywordLocation": "/properties/name/$ref/anyOf/1/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/name.json#/definitions/orNull/anyOf", 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "/name", 186s # "keywordLocation": "/properties/name/$ref/anyOf" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/object#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 734 - refRemote.json: "remote ref with ref to definitions" - "invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/allOf" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/schema-remote-ref-ref-defs1.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties/bar/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/bar", 186s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties/bar/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/definitions/inner/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/allOf/0/$ref/properties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/ref-and-definitions.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/0/$ref/allOf" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/schema-remote-ref-ref-defs1.json#/allOf", 186s # "error": "subschema 0 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 735 - refRemote.json: "remote ref with ref to definitions" - "valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 736 - refRemote.json: "Location-independent identifier in remote ref" - "integer is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 737 - refRemote.json: "Location-independent identifier in remote ref" - "string is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/locationIndependentIdentifierPre2019.json#/definitions/A/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/$ref/$ref/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/locationIndependentIdentifierPre2019.json#/definitions/A/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/$ref/$ref/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 738 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "number is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/name/foo", 186s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/nested/foo-ref-string.json#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "/name", 186s # "keywordLocation": "/properties/name/$ref/properties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/some-id#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "/name/foo", 186s # "keywordLocation": "/properties/name/$ref/properties/foo/$ref/type" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/nested/foo-ref-string.json#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "/name", 186s # "keywordLocation": "/properties/name/$ref/properties" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/some-id#/properties", 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/properties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 739 - refRemote.json: "retrieved nested refs resolve relative to their URI not $id" - "string is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 740 - refRemote.json: "$ref to $ref finds location-independent $id" - "number is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 741 - refRemote.json: "$ref to $ref finds location-independent $id" - "non-number is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/draft7/detached-ref.json#/definitions/detached/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/$ref/$ref/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/draft7/detached-ref.json#/definitions/detached/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/$ref/$ref/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 742 - required.json: "required validation" - "present required property is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 743 - required.json: "required validation" - "non-present required property is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: foo", 186s # "instanceLocation": "", 186s # "keywordLocation": "/required" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing property: foo", 186s # "instanceLocation": "", 186s # "keywordLocation": "/required" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 744 - required.json: "required validation" - "ignores arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 745 - required.json: "required validation" - "ignores strings" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 746 - required.json: "required validation" - "ignores other non-objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 747 - required.json: "required default validation" - "not required by default" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 748 - required.json: "required with empty array" - "property not required" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 749 - required.json: "required with escaped characters" - "object with all properties present is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 750 - required.json: "required with escaped characters" - "object with some properties missing is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/required" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing properties: foo\\bar, foo\rbar, foo\tbar, foo\fbar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/required" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 751 - required.json: "required properties whose names are Javascript object property names" - "ignores arrays" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 752 - required.json: "required properties whose names are Javascript object property names" - "ignores other non-objects" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 753 - required.json: "required properties whose names are Javascript object property names" - "none of the properties mentioned" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing properties: __proto__, toString, constructor", 186s # "instanceLocation": "", 186s # "keywordLocation": "/required" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing properties: __proto__, toString, constructor", 186s # "instanceLocation": "", 186s # "keywordLocation": "/required" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 754 - required.json: "required properties whose names are Javascript object property names" - "__proto__ present" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing properties: toString, constructor", 186s # "instanceLocation": "", 186s # "keywordLocation": "/required" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing properties: toString, constructor", 186s # "instanceLocation": "", 186s # "keywordLocation": "/required" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 755 - required.json: "required properties whose names are Javascript object property names" - "toString present" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing properties: __proto__, constructor", 186s # "instanceLocation": "", 186s # "keywordLocation": "/required" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing properties: __proto__, constructor", 186s # "instanceLocation": "", 186s # "keywordLocation": "/required" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 756 - required.json: "required properties whose names are Javascript object property names" - "constructor present" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing properties: __proto__, toString", 186s # "instanceLocation": "", 186s # "keywordLocation": "/required" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "object is missing properties: __proto__, toString", 186s # "instanceLocation": "", 186s # "keywordLocation": "/required" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 757 - required.json: "required properties whose names are Javascript object property names" - "all present" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 758 - type.json: "integer type matches integers" - "an integer is an integer" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 759 - type.json: "integer type matches integers" - "a float with zero fractional part is an integer" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 760 - type.json: "integer type matches integers" - "a float is not an integer" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got number, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got number, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 761 - type.json: "integer type matches integers" - "a string is not an integer" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 762 - type.json: "integer type matches integers" - "a string is still not an integer, even if it looks like one" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got string, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 763 - type.json: "integer type matches integers" - "an object is not an integer" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got object, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got object, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 764 - type.json: "integer type matches integers" - "an array is not an integer" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got array, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got array, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 765 - type.json: "integer type matches integers" - "a boolean is not an integer" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got boolean, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got boolean, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 766 - type.json: "integer type matches integers" - "null is not an integer" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got null, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/integer.json#/type", 186s # "error": "got null, not integer", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 767 - type.json: "number type matches numbers" - "an integer is a number" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 768 - type.json: "number type matches numbers" - "a float with zero fractional part is a number (and an integer)" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 769 - type.json: "number type matches numbers" - "a float is a number" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 770 - type.json: "number type matches numbers" - "a string is not a number" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 771 - type.json: "number type matches numbers" - "a string is still not a number, even if it looks like one" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 772 - type.json: "number type matches numbers" - "an object is not a number" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got object, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got object, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 773 - type.json: "number type matches numbers" - "an array is not a number" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got array, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got array, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 774 - type.json: "number type matches numbers" - "a boolean is not a number" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got boolean, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got boolean, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 775 - type.json: "number type matches numbers" - "null is not a number" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got null, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got null, not number", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 776 - type.json: "string type matches strings" - "1 is not a string" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 777 - type.json: "string type matches strings" - "a float is not a string" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 186s # "error": "got number, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 186s # "error": "got number, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 778 - type.json: "string type matches strings" - "a string is a string" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 779 - type.json: "string type matches strings" - "a string is still a string, even if it looks like a number" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 780 - type.json: "string type matches strings" - "an empty string is still a string" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 781 - type.json: "string type matches strings" - "an object is not a string" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 186s # "error": "got object, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 186s # "error": "got object, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 782 - type.json: "string type matches strings" - "an array is not a string" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 186s # "error": "got array, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 186s # "error": "got array, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 783 - type.json: "string type matches strings" - "a boolean is not a string" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 186s # "error": "got boolean, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 186s # "error": "got boolean, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 784 - type.json: "string type matches strings" - "null is not a string" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 186s # "error": "got null, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 186s # "error": "got null, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 785 - type.json: "object type matches objects" - "an integer is not an object" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not object", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not object", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 786 - type.json: "object type matches objects" - "a float is not an object" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got number, not object", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got number, not object", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 787 - type.json: "object type matches objects" - "a string is not an object" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not object", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not object", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 788 - type.json: "object type matches objects" - "an object is an object" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 789 - type.json: "object type matches objects" - "an array is not an object" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got array, not object", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got array, not object", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 790 - type.json: "object type matches objects" - "a boolean is not an object" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got boolean, not object", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got boolean, not object", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 791 - type.json: "object type matches objects" - "null is not an object" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got null, not object", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got null, not object", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 792 - type.json: "array type matches arrays" - "an integer is not an array" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not array", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not array", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 793 - type.json: "array type matches arrays" - "a float is not an array" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got number, not array", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got number, not array", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 794 - type.json: "array type matches arrays" - "a string is not an array" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not array", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not array", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 795 - type.json: "array type matches arrays" - "an object is not an array" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got object, not array", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got object, not array", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 796 - type.json: "array type matches arrays" - "an array is an array" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 797 - type.json: "array type matches arrays" - "a boolean is not an array" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got boolean, not array", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got boolean, not array", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 798 - type.json: "array type matches arrays" - "null is not an array" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got null, not array", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got null, not array", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 799 - type.json: "boolean type matches booleans" - "an integer is not a boolean" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not boolean", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not boolean", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 800 - type.json: "boolean type matches booleans" - "zero is not a boolean" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not boolean", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not boolean", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 801 - type.json: "boolean type matches booleans" - "a float is not a boolean" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got number, not boolean", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got number, not boolean", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 802 - type.json: "boolean type matches booleans" - "a string is not a boolean" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not boolean", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not boolean", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 803 - type.json: "boolean type matches booleans" - "an empty string is not a boolean" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not boolean", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not boolean", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 804 - type.json: "boolean type matches booleans" - "an object is not a boolean" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got object, not boolean", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got object, not boolean", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 805 - type.json: "boolean type matches booleans" - "an array is not a boolean" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got array, not boolean", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got array, not boolean", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 806 - type.json: "boolean type matches booleans" - "true is a boolean" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 807 - type.json: "boolean type matches booleans" - "false is a boolean" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 808 - type.json: "boolean type matches booleans" - "null is not a boolean" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got null, not boolean", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got null, not boolean", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 809 - type.json: "null type matches only the null object" - "an integer is not null" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 810 - type.json: "null type matches only the null object" - "a float is not null" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got number, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got number, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 811 - type.json: "null type matches only the null object" - "zero is not null" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 812 - type.json: "null type matches only the null object" - "a string is not null" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 813 - type.json: "null type matches only the null object" - "an empty string is not null" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 814 - type.json: "null type matches only the null object" - "an object is not null" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got object, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got object, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 815 - type.json: "null type matches only the null object" - "an array is not null" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got array, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got array, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 816 - type.json: "null type matches only the null object" - "true is not null" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got boolean, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got boolean, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 817 - type.json: "null type matches only the null object" - "false is not null" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got boolean, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got boolean, not null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 818 - type.json: "null type matches only the null object" - "null is null" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 819 - type.json: "multiple types can be specified in an array" - "an integer is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 820 - type.json: "multiple types can be specified in an array" - "a string is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 821 - type.json: "multiple types can be specified in an array" - "a float is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got number, not one of integer, string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got number, not one of integer, string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 822 - type.json: "multiple types can be specified in an array" - "an object is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got object, not one of integer, string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got object, not one of integer, string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 823 - type.json: "multiple types can be specified in an array" - "an array is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got array, not one of integer, string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got array, not one of integer, string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 824 - type.json: "multiple types can be specified in an array" - "a boolean is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got boolean, not one of integer, string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got boolean, not one of integer, string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 825 - type.json: "multiple types can be specified in an array" - "null is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got null, not one of integer, string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got null, not one of integer, string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 826 - type.json: "type as array with one item" - "string is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 827 - type.json: "type as array with one item" - "number is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not one of string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not one of string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 828 - type.json: "type: array or object" - "array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 829 - type.json: "type: array or object" - "object is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 830 - type.json: "type: array or object" - "number is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not one of array, object", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not one of array, object", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 831 - type.json: "type: array or object" - "string is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not one of array, object", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not one of array, object", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 832 - type.json: "type: array or object" - "null is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got null, not one of array, object", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got null, not one of array, object", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 833 - type.json: "type: array, object or null" - "array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 834 - type.json: "type: array, object or null" - "object is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 835 - type.json: "type: array, object or null" - "null is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 836 - type.json: "type: array, object or null" - "number is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not one of array, object, null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got integer, not one of array, object, null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 837 - type.json: "type: array, object or null" - "string is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not one of array, object, null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not one of array, object, null", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 838 - uniqueItems.json: "uniqueItems validation" - "unique array of integers is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 839 - uniqueItems.json: "uniqueItems validation" - "non-unique array of integers is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 840 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two integers is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 2 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 2 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 841 - uniqueItems.json: "uniqueItems validation" - "numbers are unique if mathematically unequal" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 842 - uniqueItems.json: "uniqueItems validation" - "false is not equal to zero" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 843 - uniqueItems.json: "uniqueItems validation" - "true is not equal to one" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 844 - uniqueItems.json: "uniqueItems validation" - "unique array of strings is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 845 - uniqueItems.json: "uniqueItems validation" - "non-unique array of strings is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 2 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 2 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 846 - uniqueItems.json: "uniqueItems validation" - "unique array of objects is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 847 - uniqueItems.json: "uniqueItems validation" - "non-unique array of objects is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 848 - uniqueItems.json: "uniqueItems validation" - "property order of array of objects is ignored" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 849 - uniqueItems.json: "uniqueItems validation" - "unique array of nested objects is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 850 - uniqueItems.json: "uniqueItems validation" - "non-unique array of nested objects is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 851 - uniqueItems.json: "uniqueItems validation" - "unique array of arrays is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 852 - uniqueItems.json: "uniqueItems validation" - "non-unique array of arrays is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 853 - uniqueItems.json: "uniqueItems validation" - "non-unique array of more than two arrays is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 2 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 2 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 854 - uniqueItems.json: "uniqueItems validation" - "1 and true are unique" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 855 - uniqueItems.json: "uniqueItems validation" - "0 and false are unique" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 856 - uniqueItems.json: "uniqueItems validation" - "[1] and [true] are unique" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 857 - uniqueItems.json: "uniqueItems validation" - "[0] and [false] are unique" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 858 - uniqueItems.json: "uniqueItems validation" - "nested [1] and [true] are unique" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 859 - uniqueItems.json: "uniqueItems validation" - "nested [0] and [false] are unique" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 860 - uniqueItems.json: "uniqueItems validation" - "unique heterogeneous types are valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 861 - uniqueItems.json: "uniqueItems validation" - "non-unique heterogeneous types are invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 4 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 4 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 862 - uniqueItems.json: "uniqueItems validation" - "different objects are unique" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 863 - uniqueItems.json: "uniqueItems validation" - "objects are non-unique despite key order" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 864 - uniqueItems.json: "uniqueItems validation" - "{"a": false} and {"a": 0} are unique" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 865 - uniqueItems.json: "uniqueItems validation" - "{"a": true} and {"a": 1} are unique" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 866 - uniqueItems.json: "uniqueItems with an array of items" - "[false, true] from items array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 867 - uniqueItems.json: "uniqueItems with an array of items" - "[true, false] from items array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 868 - uniqueItems.json: "uniqueItems with an array of items" - "[false, false] from items array is not valid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 869 - uniqueItems.json: "uniqueItems with an array of items" - "[true, true] from items array is not valid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 870 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [false, true] is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 871 - uniqueItems.json: "uniqueItems with an array of items" - "unique array extended from [true, false] is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 872 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [false, true] is not valid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 2 and 3 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 2 and 3 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 873 - uniqueItems.json: "uniqueItems with an array of items" - "non-unique array extended from [true, false] is not valid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 2 and 3 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 2 and 3 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 874 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 875 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 876 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[false, false] from items array is not valid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 877 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "[true, true] from items array is not valid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "items at indices 0 and 1 are not unique", 186s # "instanceLocation": "", 186s # "keywordLocation": "/uniqueItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 878 - uniqueItems.json: "uniqueItems with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "additional item not permitted", 186s # "instanceLocation": "/2", 186s # "keywordLocation": "/additionalItems" 186s # }, 186s # { 186s # "error": "subschema is not valid against all additional items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "additional item not permitted", 186s # "instanceLocation": "/2", 186s # "keywordLocation": "/additionalItems" 186s # }, 186s # { 186s # "error": "subschema is not valid against all additional items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 879 - uniqueItems.json: "uniqueItems=false validation" - "unique array of integers is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 880 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of integers is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 881 - uniqueItems.json: "uniqueItems=false validation" - "numbers are unique if mathematically unequal" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 882 - uniqueItems.json: "uniqueItems=false validation" - "false is not equal to zero" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 883 - uniqueItems.json: "uniqueItems=false validation" - "true is not equal to one" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 884 - uniqueItems.json: "uniqueItems=false validation" - "unique array of objects is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 885 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of objects is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 886 - uniqueItems.json: "uniqueItems=false validation" - "unique array of nested objects is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 887 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of nested objects is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 888 - uniqueItems.json: "uniqueItems=false validation" - "unique array of arrays is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 889 - uniqueItems.json: "uniqueItems=false validation" - "non-unique array of arrays is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 890 - uniqueItems.json: "uniqueItems=false validation" - "1 and true are unique" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 891 - uniqueItems.json: "uniqueItems=false validation" - "0 and false are unique" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 892 - uniqueItems.json: "uniqueItems=false validation" - "unique heterogeneous types are valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 893 - uniqueItems.json: "uniqueItems=false validation" - "non-unique heterogeneous types are valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 894 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, true] from items array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 895 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, false] from items array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 896 - uniqueItems.json: "uniqueItems=false with an array of items" - "[false, false] from items array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 897 - uniqueItems.json: "uniqueItems=false with an array of items" - "[true, true] from items array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 898 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [false, true] is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 899 - uniqueItems.json: "uniqueItems=false with an array of items" - "unique array extended from [true, false] is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 900 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [false, true] is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 901 - uniqueItems.json: "uniqueItems=false with an array of items" - "non-unique array extended from [true, false] is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 902 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, true] from items array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 903 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, false] from items array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 904 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[false, false] from items array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 905 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "[true, true] from items array is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 906 - uniqueItems.json: "uniqueItems=false with an array of items and additionalItems=false" - "extra items are invalid even if unique" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "additional item not permitted", 186s # "instanceLocation": "/2", 186s # "keywordLocation": "/additionalItems" 186s # }, 186s # { 186s # "error": "subschema is not valid against all additional items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "additional item not permitted", 186s # "instanceLocation": "/2", 186s # "keywordLocation": "/additionalItems" 186s # }, 186s # { 186s # "error": "subschema is not valid against all additional items", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalItems" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 907 - optional/bignum.json: "integer" - "a bignum is an integer" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 908 - optional/bignum.json: "integer" - "a negative bignum is an integer" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 909 - optional/bignum.json: "number" - "a bignum is a number" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 910 - optional/bignum.json: "number" - "a negative bignum is a number" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 911 - optional/bignum.json: "string" - "a bignum is not a string" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/nested/string.json#/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/type" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 912 - optional/bignum.json: "maximum integer comparison" - "comparison works for high numbers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 913 - optional/bignum.json: "float comparison with high precision" - "comparison works for high numbers" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 186s # "instanceLocation": "", 186s # "keywordLocation": "/exclusiveMaximum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is greater than or equal to 972783798187987123879878123.18878137", 186s # "instanceLocation": "", 186s # "keywordLocation": "/exclusiveMaximum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 914 - optional/bignum.json: "minimum integer comparison" - "comparison works for very negative numbers" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 915 - optional/bignum.json: "float comparison with high precision on negative numbers" - "comparison works for very negative numbers" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 186s # "instanceLocation": "", 186s # "keywordLocation": "/exclusiveMinimum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "value is less than or equal to -972783798187987123879878123.18878137", 186s # "instanceLocation": "", 186s # "keywordLocation": "/exclusiveMinimum" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 916 - optional/content.json: "validation of string-encoded content based on media type" - "a valid JSON document" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 917 - optional/content.json: "validation of string-encoded content based on media type" - "an invalid JSON document" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "could not decode application/json string: '\"' expected, at character offset 1 (before \":}\") at /usr/share/perl5/JSON/Schema/Modern.pm line 1142.", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contentMediaType" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "could not decode application/json string: '\"' expected, at character offset 1 (before \":}\") at /usr/share/perl5/JSON/Schema/Modern.pm line 1142.", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contentMediaType" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 918 - optional/content.json: "validation of string-encoded content based on media type" - "ignores non-strings" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 919 - optional/content.json: "validation of binary string-encoding" - "a valid base64 string" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 920 - optional/content.json: "validation of binary string-encoding" - "an invalid base64 string (% is not a valid character)" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "could not decode base64 string: invalid characters", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contentEncoding" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "could not decode base64 string: invalid characters", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contentEncoding" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 921 - optional/content.json: "validation of binary string-encoding" - "ignores non-strings" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 922 - optional/content.json: "validation of binary-encoded media type documents" - "a valid base64-encoded JSON document" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 923 - optional/content.json: "validation of binary-encoded media type documents" - "a validly-encoded invalid JSON document" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "could not decode application/json string: '\"' expected, at character offset 1 (before \":}\\n\") at /usr/share/perl5/JSON/Schema/Modern.pm line 1142.", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contentMediaType" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "could not decode application/json string: '\"' expected, at character offset 1 (before \":}\\n\") at /usr/share/perl5/JSON/Schema/Modern.pm line 1142.", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contentMediaType" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 924 - optional/content.json: "validation of binary-encoded media type documents" - "an invalid base64 string that is valid JSON" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "could not decode base64 string: invalid characters", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contentEncoding" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "could not decode base64 string: invalid characters", 186s # "instanceLocation": "", 186s # "keywordLocation": "/contentEncoding" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 925 - optional/content.json: "validation of binary-encoded media type documents" - "ignores non-strings" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 926 - optional/cross-draft.json: "refs to future drafts are processed as future drafts" - "missing bar is invalid" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/dependentRequired.json#/dependentRequired/foo", 186s # "error": "object is missing property: bar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/1/$ref/dependentRequired/foo" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/dependentRequired.json#/dependentRequired", 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/1/$ref/dependentRequired" 186s # }, 186s # { 186s # "error": "subschema 1 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/dependentRequired.json#/dependentRequired/foo", 186s # "error": "object is missing property: bar", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/1/$ref/dependentRequired/foo" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "http://localhost:1234/draft2019-09/dependentRequired.json#/dependentRequired", 186s # "error": "not all dependencies are satisfied", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf/1/$ref/dependentRequired" 186s # }, 186s # { 186s # "error": "subschema 1 is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/allOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 927 - optional/cross-draft.json: "refs to future drafts are processed as future drafts" - "present bar is valid" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 928 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches in Python, but not in ECMA 262" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 929 - optional/ecmascript-regex.json: "ECMA 262 regex $ does not match trailing newline" - "matches" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 930 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "does not match" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 931 - optional/ecmascript-regex.json: "ECMA 262 regex converts \t to horizontal tab" - "matches" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 932 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "does not match" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 933 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and upper letter" - "matches" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 934 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "does not match" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 935 - optional/ecmascript-regex.json: "ECMA 262 regex escapes control codes with \c and lower letter" - "matches" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 936 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "ASCII zero matches" { # TODO Test marked TODO via "todo_tests" 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true # 186s 1..1 186s } 186s ok 937 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "NKO DIGIT ZERO does not match (unlike e.g. Python)" { # TODO Test marked TODO via "todo_tests" 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s not ok 1 - evaluation result is incorrect # 186s # Failed test (with amnesty) 'evaluation result is incorrect' 186s # at t/zzz-acceptance-draft7.t line 49. 186s # expected false; got true 186s # data: "\"߀\"" 186s # schema: "{\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 186s # result: { 186s # "valid": true 186s # } 186s 1..1 186s } 186s ok 938 - optional/ecmascript-regex.json: "ECMA 262 \d matches ascii digits only" - "NKO DIGIT ZERO (as \u escape) does not match" { # TODO Test marked TODO via "todo_tests" 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s not ok 1 - evaluation result is incorrect # 186s # Failed test (with amnesty) 'evaluation result is incorrect' 186s # at t/zzz-acceptance-draft7.t line 49. 186s # expected false; got true 186s # data: "\"߀\"" 186s # schema: "{\"pattern\":\"^\\\\d$\",\"type\":\"string\"}" 186s # result: { 186s # "valid": true 186s # } 186s 1..1 186s } 186s ok 939 - optional/ecmascript-regex.json: "ECMA 262 \D matches everything but ascii digits" - "ASCII zero does not match" { # TODO Test marked TODO via "todo_tests" 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false # 186s 1..1 186s } 186s ok 940 - optional/ecmascript-regex.json: "ECMA 262 \D matches everything but ascii digits" - "NKO DIGIT ZERO matches (unlike e.g. Python)" { # TODO Test marked TODO via "todo_tests" 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s not ok 1 - evaluation result is incorrect # 186s # Failed test (with amnesty) 'evaluation result is incorrect' 186s # at t/zzz-acceptance-draft7.t line 49. 186s # expected true; got false 186s # data: "\"߀\"" 186s # schema: "{\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s 1..1 186s } 186s ok 941 - optional/ecmascript-regex.json: "ECMA 262 \D matches everything but ascii digits" - "NKO DIGIT ZERO (as \u escape) matches" { # TODO Test marked TODO via "todo_tests" 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s not ok 1 - evaluation result is incorrect # 186s # Failed test (with amnesty) 'evaluation result is incorrect' 186s # at t/zzz-acceptance-draft7.t line 49. 186s # expected true; got false 186s # data: "\"߀\"" 186s # schema: "{\"pattern\":\"^\\\\D$\",\"type\":\"string\"}" 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s 1..1 186s } 186s ok 942 - optional/ecmascript-regex.json: "ECMA 262 \w matches ascii letters only" - "ASCII 'a' matches" { # TODO Test marked TODO via "todo_tests" 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true # 186s 1..1 186s } 186s ok 943 - optional/ecmascript-regex.json: "ECMA 262 \w matches ascii letters only" - "latin-1 e-acute does not match (unlike e.g. Python)" { # TODO Test marked TODO via "todo_tests" 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s not ok 1 - evaluation result is incorrect # 186s # Failed test (with amnesty) 'evaluation result is incorrect' 186s # at t/zzz-acceptance-draft7.t line 49. 186s # expected false; got true 186s # data: "\"é\"" 186s # schema: "{\"pattern\":\"^\\\\w$\",\"type\":\"string\"}" 186s # result: { 186s # "valid": true 186s # } 186s 1..1 186s } 186s ok 944 - optional/ecmascript-regex.json: "ECMA 262 \W matches everything but ascii letters" - "ASCII 'a' does not match" { # TODO Test marked TODO via "todo_tests" 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false # 186s 1..1 186s } 186s ok 945 - optional/ecmascript-regex.json: "ECMA 262 \W matches everything but ascii letters" - "latin-1 e-acute matches (unlike e.g. Python)" { # TODO Test marked TODO via "todo_tests" 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s not ok 1 - evaluation result is incorrect # 186s # Failed test (with amnesty) 'evaluation result is incorrect' 186s # at t/zzz-acceptance-draft7.t line 49. 186s # expected true; got false 186s # data: "\"é\"" 186s # schema: "{\"pattern\":\"^\\\\W$\",\"type\":\"string\"}" 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s 1..1 186s } 186s ok 946 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "ASCII space matches" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 947 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Character tabulation matches" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 948 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Line tabulation matches" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 949 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Form feed matches" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 950 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "latin-1 non-breaking-space matches" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 951 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "zero-width whitespace matches" { # TODO Test marked TODO via "todo_tests" 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s not ok 1 - evaluation result is incorrect # 186s # Failed test (with amnesty) 'evaluation result is incorrect' 186s # at t/zzz-acceptance-draft7.t line 49. 186s # expected true; got false 186s # data: "\"\"" 186s # schema: "{\"pattern\":\"^\\\\s$\",\"type\":\"string\"}" 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s 1..1 186s } 186s ok 952 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "line feed matches (line terminator)" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 953 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "paragraph separator matches (line terminator)" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 954 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "EM SPACE matches (Space_Separator)" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 955 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace control does not match" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 956 - optional/ecmascript-regex.json: "ECMA 262 \s matches whitespace" - "Non-whitespace does not match" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 957 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "ASCII space does not match" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 958 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Character tabulation does not match" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 959 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Line tabulation does not match" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 960 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Form feed does not match" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 961 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "latin-1 non-breaking-space does not match" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 962 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "zero-width whitespace does not match" { # TODO Test marked TODO via "todo_tests" 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s not ok 1 - evaluation result is incorrect # 186s # Failed test (with amnesty) 'evaluation result is incorrect' 186s # at t/zzz-acceptance-draft7.t line 49. 186s # expected false; got true 186s # data: "\"\"" 186s # schema: "{\"pattern\":\"^\\\\S$\",\"type\":\"string\"}" 186s # result: { 186s # "valid": true 186s # } 186s 1..1 186s } 186s ok 963 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "line feed does not match (line terminator)" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 964 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "paragraph separator does not match (line terminator)" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 965 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "EM SPACE does not match (Space_Separator)" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 966 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace control matches" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 967 - optional/ecmascript-regex.json: "ECMA 262 \S matches everything but whitespace" - "Non-whitespace matches" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 968 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "ascii character in json string" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 969 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "literal unicode character in json string" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 970 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode character in hex format in string" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 971 - optional/ecmascript-regex.json: "patterns always use unicode semantics with pattern" - "unicode matching is case-sensitive" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 972 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 973 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "literal unicode character in json string" { # TODO Test marked TODO via "todo_tests" 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s not ok 1 - evaluation result is incorrect # 186s # Failed test (with amnesty) 'evaluation result is incorrect' 186s # at t/zzz-acceptance-draft7.t line 49. 186s # expected false; got true 186s # data: "\"Les hivers de mon enfance étaient des saisons longues, longues. Nous vivions en trois lieux: l'école, l'église et la patinoire; mais la vraie vie était sur la patinoire.\"" 186s # schema: "{\"pattern\":\"\\\\wcole\"}" 186s # result: { 186s # "valid": true 186s # } 186s 1..1 186s } 186s ok 974 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "unicode character in hex format in string" { # TODO Test marked TODO via "todo_tests" 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s not ok 1 - evaluation result is incorrect # 186s # Failed test (with amnesty) 'evaluation result is incorrect' 186s # at t/zzz-acceptance-draft7.t line 49. 186s # expected false; got true 186s # data: "\"Les hivers de mon enfance étaient des saisons longues, longues. Nous vivions en trois lieux: l'école, l'église et la patinoire; mais la vraie vie était sur la patinoire.\"" 186s # schema: "{\"pattern\":\"\\\\wcole\"}" 186s # result: { 186s # "valid": true 186s # } 186s 1..1 186s } 186s ok 975 - optional/ecmascript-regex.json: "\w in patterns matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 976 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "literal unicode character in json string" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 977 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "unicode character in hex format in string" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 978 - optional/ecmascript-regex.json: "pattern with ASCII ranges" - "ascii characters match" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 979 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii digits" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 980 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "ascii non-digits" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 981 - optional/ecmascript-regex.json: "\d in pattern matches [0-9], not unicode digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { # TODO Test marked TODO via "todo_tests" 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s not ok 1 - evaluation result is incorrect # 186s # Failed test (with amnesty) 'evaluation result is incorrect' 186s # at t/zzz-acceptance-draft7.t line 49. 186s # expected false; got true 186s # data: "\"৪২\"" 186s # schema: "{\"pattern\":\"^\\\\d+$\"}" 186s # result: { 186s # "valid": true 186s # } 186s 1..1 186s } 186s ok 982 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii digits" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 983 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "ascii non-digits" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 984 - optional/ecmascript-regex.json: "pattern with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 985 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "ascii character in json string" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 986 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "literal unicode character in json string" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 987 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode character in hex format in string" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 988 - optional/ecmascript-regex.json: "patterns always use unicode semantics with patternProperties" - "unicode matching is case-sensitive" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/L'ÉCOLE", 186s # "keywordLocation": "/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/L'ÉCOLE", 186s # "keywordLocation": "/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 989 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "ascii character in json string" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 990 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "literal unicode character in json string" { # TODO Test marked TODO via "todo_tests" 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s not ok 1 - evaluation result is incorrect # 186s # Failed test (with amnesty) 'evaluation result is incorrect' 186s # at t/zzz-acceptance-draft7.t line 49. 186s # expected false; got true 186s # data: "{\"l'école\":\"pas de vraie vie\"}" 186s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 186s # result: { 186s # "valid": true 186s # } 186s 1..1 186s } 186s ok 991 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "unicode character in hex format in string" { # TODO Test marked TODO via "todo_tests" 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s not ok 1 - evaluation result is incorrect # 186s # Failed test (with amnesty) 'evaluation result is incorrect' 186s # at t/zzz-acceptance-draft7.t line 49. 186s # expected false; got true 186s # data: "{\"l'école\":\"pas de vraie vie\"}" 186s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"\\\\wcole\":true},\"type\":\"object\"}" 186s # result: { 186s # "valid": true 186s # } 186s 1..1 186s } 186s ok 992 - optional/ecmascript-regex.json: "\w in patternProperties matches [A-Za-z0-9_], not unicode letters" - "unicode matching is case-sensitive" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/L'ÉCOLE", 186s # "keywordLocation": "/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/L'ÉCOLE", 186s # "keywordLocation": "/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 993 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "literal unicode character in json string" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/l'école", 186s # "keywordLocation": "/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/l'école", 186s # "keywordLocation": "/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 994 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "unicode character in hex format in string" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/l'école", 186s # "keywordLocation": "/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/l'école", 186s # "keywordLocation": "/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 995 - optional/ecmascript-regex.json: "patternProperties with ASCII ranges" - "ascii characters match" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 996 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii digits" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 997 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "ascii non-digits" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/-%#", 186s # "keywordLocation": "/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/-%#", 186s # "keywordLocation": "/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 998 - optional/ecmascript-regex.json: "\d in patternProperties matches [0-9], not unicode digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { # TODO Test marked TODO via "todo_tests" 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s not ok 1 - evaluation result is incorrect # 186s # Failed test (with amnesty) 'evaluation result is incorrect' 186s # at t/zzz-acceptance-draft7.t line 49. 186s # expected false; got true 186s # data: "{\"৪২\":\"khajit has wares if you have coin\"}" 186s # schema: "{\"additionalProperties\":false,\"patternProperties\":{\"^\\\\d+$\":true},\"type\":\"object\"}" 186s # result: { 186s # "valid": true 186s # } 186s 1..1 186s } 186s ok 999 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii digits" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 1000 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "ascii non-digits" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/-%#", 186s # "keywordLocation": "/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "additional property not permitted", 186s # "instanceLocation": "/-%#", 186s # "keywordLocation": "/additionalProperties" 186s # }, 186s # { 186s # "error": "not all additional properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/additionalProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 1001 - optional/ecmascript-regex.json: "patternProperties with non-ASCII digits" - "non-ascii digits (BENGALI DIGIT FOUR, BENGALI DIGIT TWO)" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 1002 - optional/float-overflow.json: "all integers are multiples of 0.5, if overflow is handled" - "valid if optional overflow handling is implemented" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s # 186s ok 1003 - optional/id.json: "id inside an enum is not a real identifier" - "exact match to enum, and type matches" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 1004 - optional/id.json: "id inside an enum is not a real identifier" - "match $ref to id" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 1005 - optional/id.json: "id inside an enum is not a real identifier" - "no match on enum or $ref to id" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/id_in_enum/enum", 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/$ref/enum" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "https://localhost:1234/id/my_identifier.json#/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/1/$ref/type" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/id_in_enum/enum", 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/$ref/enum" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "https://localhost:1234/id/my_identifier.json#/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/1/$ref/type" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 1006 - optional/id.json: "non-schema object containing a plain-name $id property" - "skip traversing definition for a valid result" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 1007 - optional/id.json: "non-schema object containing a plain-name $id property" - "const at const_not_anchor does not match" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else/$ref/const" 186s # }, 186s # { 186s # "error": "subschema is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/const_not_anchor/const", 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else/$ref/const" 186s # }, 186s # { 186s # "error": "subschema is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 1008 - optional/id.json: "non-schema object containing an $id property" - "skip traversing definition for a valid result" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 1009 - optional/id.json: "non-schema object containing an $id property" - "const at const_not_id does not match" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else/$ref/const" 186s # }, 186s # { 186s # "error": "subschema is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/const_not_id/const", 186s # "error": "value does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else/$ref/const" 186s # }, 186s # { 186s # "error": "subschema is not valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/else" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 1010 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches empty" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 1011 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches single" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 1012 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "matches two" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 1013 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 1014 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 1015 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match one ASCII" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 1016 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: pattern" - "doesn't match two ASCII" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "pattern does not match", 186s # "instanceLocation": "", 186s # "keywordLocation": "/pattern" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 1017 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches empty" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 1018 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches single" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 1019 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "matches two" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 1020 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match one" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/🐲", 186s # "keywordLocation": "/patternProperties/^🐲*$/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/🐲", 186s # "keywordLocation": "/patternProperties/^🐲*$/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 1021 - optional/non-bmp-regex.json: "Proper UTF-16 surrogate pair handling: patternProperties" - "doesn't match two" { 186s # result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/🐲🐲", 186s # "keywordLocation": "/patternProperties/^🐲*$/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "error": "got string, not integer", 186s # "instanceLocation": "/🐲🐲", 186s # "keywordLocation": "/patternProperties/^🐲*$/type" 186s # }, 186s # { 186s # "error": "not all properties are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/patternProperties" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s ok 1022 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches second anyOf, which has a real schema in it" { 186s # result: { 186s # "valid": true 186s # } 186s # short-circuited result: { 186s # "valid": true 186s # } 186s ok 1 - test passes: data is valid: true 186s 1..1 186s } 186s ok 1023 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in first anyOf" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/$ref/not" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/1/$ref/not" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 186s # "error": "got null, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/2/$ref/type" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/$ref/not" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/1/$ref/not" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 186s # "error": "got null, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/2/$ref/type" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s ok 1024 - optional/unknownKeyword.json: "$id inside an unknown keyword is not a real identifier" - "type matches non-schema in third anyOf" { 186s # result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/$ref/not" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/1/$ref/not" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/2/$ref/type" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s # short-circuited result: { 186s # "errors": [ 186s # { 186s # "absoluteKeywordLocation": "#/definitions/id_in_unknown0/not", 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/0/$ref/not" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "#/definitions/id_in_unknown1/not", 186s # "error": "subschema is valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/1/$ref/not" 186s # }, 186s # { 186s # "absoluteKeywordLocation": "https://localhost:1234/unknownKeyword/my_identifier.json#/type", 186s # "error": "got integer, not string", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf/2/$ref/type" 186s # }, 186s # { 186s # "error": "no subschemas are valid", 186s # "instanceLocation": "", 186s # "keywordLocation": "/anyOf" 186s # } 186s # ], 186s # "valid": false 186s # } 186s ok 1 - test passes: data is valid: false 186s 1..1 186s } 186s # 186s # 186s # generated with: Test::JSON::Schema::Acceptance 1.026 186s # with commit: 9fc880bfb6d8ccd093bc82431f17d13681ffae8e (23.2.0-117-g9fc880b) 186s # from repository: git://github.com/json-schema-org/JSON-Schema-Test-Suite.git 186s # specification version: draft7 186s # optional tests included: yes 186s # skipping directory: optional/format 186s # 186s # filename pass todo-fail fail 186s # --------------------------------------------------------------- 186s # additionalItems.json 20 0 0 186s # additionalProperties.json 16 0 0 186s # allOf.json 30 0 0 186s # anyOf.json 18 0 0 186s # boolean_schema.json 18 0 0 186s # const.json 50 0 0 186s # contains.json 21 0 0 186s # default.json 7 0 0 186s # definitions.json 2 0 0 186s # dependencies.json 36 0 0 186s # enum.json 45 0 0 186s # exclusiveMaximum.json 4 0 0 186s # exclusiveMinimum.json 4 0 0 186s # format.json 102 0 0 186s # if-then-else.json 26 0 0 186s # infinite-loop-detection.json 2 0 0 186s # items.json 28 0 0 186s # maxItems.json 6 0 0 186s # maxLength.json 7 0 0 186s # maxProperties.json 10 0 0 186s # maximum.json 8 0 0 186s # minItems.json 6 0 0 186s # minLength.json 7 0 0 186s # minProperties.json 8 0 0 186s # minimum.json 11 0 0 186s # multipleOf.json 10 0 0 186s # not.json 38 0 0 186s # oneOf.json 27 0 0 186s # pattern.json 9 0 0 186s # patternProperties.json 23 0 0 186s # properties.json 28 0 0 186s # propertyNames.json 13 0 0 186s # ref.json 78 0 0 186s # refRemote.json 23 0 0 186s # required.json 16 0 0 186s # type.json 80 0 0 186s # uniqueItems.json 69 0 0 186s # optional/bignum.json 9 0 0 186s # optional/content.json 10 0 0 186s # optional/cross-draft.json 2 0 0 186s # optional/ecmascript-regex.json 60 14 0 186s # optional/float-overflow.json 1 0 0 186s # optional/id.json 7 0 0 186s # optional/non-bmp-regex.json 12 0 0 186s # optional/unknownKeyword.json 3 0 0 186s # --------------------------------------------------------------- 186s # TOTAL 1010 14 0 186s # 186s # Congratulations, all non-optional tests are passing! 186s # 186s ok 1025 - no leaks in the main evaluator object 186s ok 1026 - no leaks in the short-circuiting evaluator object 186s 1..1026 186s ok 186s t/zzz-check-breaks.t .................... 186s 1..2 186s ok 1 # skip no conflicts module found to check against 186s ok 2 - checked x_breaks data 186s ok 186s All tests successful. 186s 186s Test Summary Report 186s ------------------- 186s t/zzz-acceptance-draft2019-09-format.t (Wstat: 0 Tests: 473 Failed: 0) 186s TODO passed: 131-135, 146-201, 258-270, 282, 415-424 186s 450 186s t/zzz-acceptance-draft2019-09.t (Wstat: 0 Tests: 1376 Failed: 0) 186s TODO passed: 1237-1272, 1281-1290, 1296, 1307, 1318-1319 186s 1326, 1335-1336, 1343, 1366-1371 186s t/zzz-acceptance-draft2020-12-format.t (Wstat: 0 Tests: 480 Failed: 0) 186s TODO passed: 118-119, 138-142, 153-208, 265-277, 289 186s 422-431, 457 186s t/zzz-acceptance-draft2020-12.t (Wstat: 0 Tests: 1406 Failed: 0) 186s TODO passed: 1260-1295, 1306-1315, 1321, 1332, 1343-1344 186s 1351-1352, 1361-1362, 1369, 1396-1401 186s t/zzz-acceptance-draft4-format.t (Wstat: 0 Tests: 153 Failed: 0) 186s TODO passed: 59-62, 151 186s t/zzz-acceptance-draft4.t (Wstat: 0 Tests: 712 Failed: 0) 186s TODO passed: 446, 611-612, 628-637, 643, 654, 665-666 186s 673, 682-683, 690 186s t/zzz-acceptance-draft6-format.t (Wstat: 0 Tests: 214 Failed: 0) 186s TODO passed: 59-62, 177-186, 212 186s t/zzz-acceptance-draft6.t (Wstat: 0 Tests: 930 Failed: 0) 186s TODO passed: 840-849, 855, 866, 877-878, 885, 894-895 186s 902 186s t/zzz-acceptance-draft7-format.t (Wstat: 0 Tests: 425 Failed: 0) 186s TODO passed: 106-109, 120-174, 231-243, 255, 388-397 186s 423 186s t/zzz-acceptance-draft7.t (Wstat: 0 Tests: 1026 Failed: 0) 186s TODO passed: 936-945, 951, 962, 973-974, 981, 990-991 186s 998 186s Files=44, Tests=10302, 52 wallclock secs ( 3.34 usr 0.10 sys + 48.62 cusr 1.55 csys = 53.61 CPU) 186s Result: PASS 187s autopkgtest [08:43:54]: test autodep8-perl-build-deps: -----------------------] 187s autopkgtest [08:43:54]: test autodep8-perl-build-deps: - - - - - - - - - - results - - - - - - - - - - 187s autodep8-perl-build-deps PASS 188s autopkgtest [08:43:55]: test autodep8-perl: preparing testbed 292s autopkgtest [08:45:39]: testbed dpkg architecture: s390x 292s autopkgtest [08:45:39]: testbed apt version: 2.9.8 292s autopkgtest [08:45:39]: @@@@@@@@@@@@@@@@@@@@ test bed setup 293s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 293s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [7016 B] 293s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [94.0 kB] 293s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [15.5 kB] 293s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [1036 kB] 293s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [153 kB] 293s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [747 kB] 294s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [4940 B] 294s Fetched 2131 kB in 1s (2626 kB/s) 294s Reading package lists... 296s Reading package lists... 296s Building dependency tree... 296s Reading state information... 296s Calculating upgrade... 296s The following NEW packages will be installed: 296s libassuan9 296s The following packages will be upgraded: 296s libgpgme11t64 libseccomp2 python3-cffi-backend python3-markupsafe 296s 4 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 296s Need to get 352 kB of archives. 296s After this operation, 352 kB of additional disk space will be used. 296s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x libseccomp2 s390x 2.5.5-1ubuntu5 [52.1 kB] 296s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x python3-cffi-backend s390x 1.17.1-2build1 [91.3 kB] 296s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libassuan9 s390x 3.0.1-2 [41.3 kB] 296s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x libgpgme11t64 s390x 1.24.0-2ubuntu1 [154 kB] 296s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x python3-markupsafe s390x 2.1.5-1build3 [12.9 kB] 297s Fetched 352 kB in 0s (757 kB/s) 297s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 55517 files and directories currently installed.) 297s Preparing to unpack .../libseccomp2_2.5.5-1ubuntu5_s390x.deb ... 297s Unpacking libseccomp2:s390x (2.5.5-1ubuntu5) over (2.5.5-1ubuntu4) ... 297s Setting up libseccomp2:s390x (2.5.5-1ubuntu5) ... 297s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 55517 files and directories currently installed.) 297s Preparing to unpack .../python3-cffi-backend_1.17.1-2build1_s390x.deb ... 297s Unpacking python3-cffi-backend:s390x (1.17.1-2build1) over (1.17.1-2) ... 297s Selecting previously unselected package libassuan9:s390x. 297s Preparing to unpack .../libassuan9_3.0.1-2_s390x.deb ... 297s Unpacking libassuan9:s390x (3.0.1-2) ... 297s Preparing to unpack .../libgpgme11t64_1.24.0-2ubuntu1_s390x.deb ... 297s Unpacking libgpgme11t64:s390x (1.24.0-2ubuntu1) over (1.23.2-5ubuntu4) ... 297s Preparing to unpack .../python3-markupsafe_2.1.5-1build3_s390x.deb ... 297s Unpacking python3-markupsafe (2.1.5-1build3) over (2.1.5-1build2) ... 297s Setting up python3-markupsafe (2.1.5-1build3) ... 297s Setting up libassuan9:s390x (3.0.1-2) ... 297s Setting up libgpgme11t64:s390x (1.24.0-2ubuntu1) ... 297s Setting up python3-cffi-backend:s390x (1.17.1-2build1) ... 297s Processing triggers for libc-bin (2.40-1ubuntu3) ... 297s Reading package lists... 297s Building dependency tree... 297s Reading state information... 297s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 298s Hit:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease 298s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 298s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 298s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 298s Reading package lists... 299s Reading package lists... 299s Building dependency tree... 299s Reading state information... 299s Calculating upgrade... 299s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 299s Reading package lists... 299s Building dependency tree... 299s Reading state information... 299s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 303s Reading package lists... 303s Building dependency tree... 303s Reading state information... 303s Starting pkgProblemResolver with broken count: 0 303s Starting 2 pkgProblemResolver with broken count: 0 303s Done 303s The following additional packages will be installed: 303s autodep8 dctrl-tools javascript-common libautovivification-perl 303s libb-hooks-endofscope-perl libb-hooks-op-check-perl libclass-inspector-perl 303s libclass-method-modifiers-perl libclass-xsaccessor-perl 303s libcpanel-json-xs-perl libdata-optlist-perl libdevel-callchecker-perl 303s libdynaloader-functions-perl libexporter-tiny-perl 303s libfeature-compat-try-perl libfile-sharedir-perl 303s libgetopt-long-descriptive-perl libimport-into-perl libio-stringy-perl 303s libjs-bootstrap5 libjs-highlight.js libjs-popper.js 303s libjson-schema-modern-perl libmodule-implementation-perl 303s libmodule-runtime-perl libmojolicious-perl libmoo-perl libmoox-typetiny-perl 303s libnamespace-clean-perl libpackage-stash-perl libparams-classify-perl 303s libparams-util-perl libparams-validate-perl libpath-tiny-perl 303s libref-util-perl librole-tiny-perl libsafe-isa-perl libstrictures-perl 303s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 303s libsub-install-perl libsub-name-perl libsub-quote-perl 303s libsyntax-keyword-try-perl libtry-tiny-perl libtype-tiny-perl 303s libvariable-magic-perl libxs-parse-keyword-perl pkg-perl-autopkgtest 303s Suggested packages: 303s debtags apache2 | lighttpd | httpd bootstrap-icons libjs-bootstrap5-doc 303s libscalar-number-perl libbareword-filehandles-perl libindirect-perl 303s libmultidimensional-perl libxstring-perl libdevel-lexalias-perl 303s libdevel-stacktrace-perl 303s Recommended packages: 303s node-jquery libdata-validate-domain-perl libdatetime-format-rfc3339-perl 303s libemail-address-xs-perl libnet-idn-encode-perl libref-util-xs-perl 303s libsereal-perl libtime-moment-perl libtype-tiny-xs-perl libev-perl 303s libfuture-asyncawait-perl libio-socket-socks-perl libio-socket-ssl-perl 303s libmojo-server-fastcgi-perl libpackage-stash-xs-perl libunicode-utf8-perl 303s libreadonly-perl 303s The following NEW packages will be installed: 303s autodep8 autopkgtest-satdep dctrl-tools javascript-common 303s libautovivification-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl 303s libclass-inspector-perl libclass-method-modifiers-perl 303s libclass-xsaccessor-perl libcpanel-json-xs-perl libdata-optlist-perl 303s libdevel-callchecker-perl libdynaloader-functions-perl libexporter-tiny-perl 303s libfeature-compat-try-perl libfile-sharedir-perl 303s libgetopt-long-descriptive-perl libimport-into-perl libio-stringy-perl 303s libjs-bootstrap5 libjs-highlight.js libjs-popper.js 303s libjson-schema-modern-perl libmodule-implementation-perl 303s libmodule-runtime-perl libmojolicious-perl libmoo-perl libmoox-typetiny-perl 303s libnamespace-clean-perl libpackage-stash-perl libparams-classify-perl 303s libparams-util-perl libparams-validate-perl libpath-tiny-perl 303s libref-util-perl librole-tiny-perl libsafe-isa-perl libstrictures-perl 303s libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl 303s libsub-install-perl libsub-name-perl libsub-quote-perl 303s libsyntax-keyword-try-perl libtry-tiny-perl libtype-tiny-perl 303s libvariable-magic-perl libxs-parse-keyword-perl pkg-perl-autopkgtest 303s 0 upgraded, 51 newly installed, 0 to remove and 0 not upgraded. 303s Need to get 3082 kB/3082 kB of archives. 303s After this operation, 13.7 MB of additional disk space will be used. 303s Get:1 /tmp/autopkgtest.Liz2nS/2-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [728 B] 303s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x dctrl-tools s390x 2.24-3build3 [106 kB] 304s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x autodep8 all 0.28+nmu1ubuntu1 [13.7 kB] 304s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x javascript-common all 11+nmu1 [5936 B] 304s Get:5 http://ftpmaster.internal/ubuntu plucky/universe s390x libautovivification-perl s390x 0.18-2build5 [22.3 kB] 304s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x libb-hooks-op-check-perl s390x 0.22-3build2 [9566 B] 304s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x libdynaloader-functions-perl all 0.004-1 [11.4 kB] 304s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x libdevel-callchecker-perl s390x 0.009-1build1 [14.2 kB] 304s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x libparams-classify-perl s390x 0.015-2build6 [20.6 kB] 304s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libmodule-runtime-perl all 0.016-2 [16.4 kB] 304s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libtry-tiny-perl all 0.32-1 [21.2 kB] 304s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x libmodule-implementation-perl all 0.09-2 [12.0 kB] 304s Get:13 http://ftpmaster.internal/ubuntu plucky/main s390x libsub-exporter-progressive-perl all 0.001013-3 [6718 B] 304s Get:14 http://ftpmaster.internal/ubuntu plucky/main s390x libvariable-magic-perl s390x 0.64-1build1 [36.4 kB] 304s Get:15 http://ftpmaster.internal/ubuntu plucky/main s390x libb-hooks-endofscope-perl all 0.28-1 [15.8 kB] 304s Get:16 http://ftpmaster.internal/ubuntu plucky/main s390x libclass-inspector-perl all 1.36-3 [15.4 kB] 304s Get:17 http://ftpmaster.internal/ubuntu plucky/main s390x libclass-method-modifiers-perl all 2.15-1 [16.1 kB] 304s Get:18 http://ftpmaster.internal/ubuntu plucky/main s390x libclass-xsaccessor-perl s390x 1.19-4build5 [34.2 kB] 304s Get:19 http://ftpmaster.internal/ubuntu plucky/main s390x libcpanel-json-xs-perl s390x 4.38-1build1 [117 kB] 304s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x libparams-util-perl s390x 1.102-3build1 [21.3 kB] 304s Get:21 http://ftpmaster.internal/ubuntu plucky/main s390x libsub-install-perl all 0.929-1 [9764 B] 304s Get:22 http://ftpmaster.internal/ubuntu plucky/main s390x libdata-optlist-perl all 0.114-1 [9708 B] 304s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libexporter-tiny-perl all 1.006002-1 [36.8 kB] 304s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x libfile-sharedir-perl all 1.118-3 [14.0 kB] 304s Get:25 http://ftpmaster.internal/ubuntu plucky/main s390x libxs-parse-keyword-perl s390x 0.46-1 [62.5 kB] 304s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x libsyntax-keyword-try-perl s390x 0.30-1 [24.8 kB] 304s Get:27 http://ftpmaster.internal/ubuntu plucky/universe s390x libfeature-compat-try-perl all 0.05-1 [9998 B] 304s Get:28 http://ftpmaster.internal/ubuntu plucky/main s390x libio-stringy-perl all 2.113-2 [45.3 kB] 304s Get:29 http://ftpmaster.internal/ubuntu plucky/universe s390x libparams-validate-perl s390x 1.31-2build4 [54.9 kB] 304s Get:30 http://ftpmaster.internal/ubuntu plucky/main s390x libsub-exporter-perl all 0.990-1 [49.0 kB] 304s Get:31 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x libgetopt-long-descriptive-perl all 0.115-1 [24.9 kB] 304s Get:32 http://ftpmaster.internal/ubuntu plucky/main s390x libimport-into-perl all 1.002005-2 [10.7 kB] 304s Get:33 http://ftpmaster.internal/ubuntu plucky/universe s390x libjs-popper.js all 1.16.1+ds-6 [54.1 kB] 304s Get:34 http://ftpmaster.internal/ubuntu plucky/universe s390x libjs-bootstrap5 all 5.3.3+dfsg-1 [309 kB] 304s Get:35 http://ftpmaster.internal/ubuntu plucky/universe s390x libjs-highlight.js all 9.18.5+dfsg1-2 [385 kB] 304s Get:36 http://ftpmaster.internal/ubuntu plucky/universe s390x libmojolicious-perl all 9.38+dfsg-1 [760 kB] 304s Get:37 http://ftpmaster.internal/ubuntu plucky/main s390x librole-tiny-perl all 2.002004-1 [16.3 kB] 304s Get:38 http://ftpmaster.internal/ubuntu plucky/main s390x libsub-quote-perl all 2.006008-1ubuntu1 [20.7 kB] 304s Get:39 http://ftpmaster.internal/ubuntu plucky/main s390x libmoo-perl all 2.005005-1 [47.4 kB] 304s Get:40 http://ftpmaster.internal/ubuntu plucky/universe s390x libtype-tiny-perl all 2.004000-1 [354 kB] 304s Get:41 http://ftpmaster.internal/ubuntu plucky/universe s390x libmoox-typetiny-perl all 0.002003-4 [5930 B] 304s Get:42 http://ftpmaster.internal/ubuntu plucky/main s390x libpackage-stash-perl all 0.40-1 [19.5 kB] 304s Get:43 http://ftpmaster.internal/ubuntu plucky/main s390x libsub-identify-perl s390x 0.14-3build4 [10.0 kB] 304s Get:44 http://ftpmaster.internal/ubuntu plucky/main s390x libsub-name-perl s390x 0.27-1build4 [11.0 kB] 304s Get:45 http://ftpmaster.internal/ubuntu plucky/main s390x libnamespace-clean-perl all 0.27-2 [14.0 kB] 304s Get:46 http://ftpmaster.internal/ubuntu plucky/main s390x libpath-tiny-perl all 0.146-1 [47.5 kB] 304s Get:47 http://ftpmaster.internal/ubuntu plucky/universe s390x libref-util-perl all 0.204-2 [15.1 kB] 304s Get:48 http://ftpmaster.internal/ubuntu plucky/universe s390x libsafe-isa-perl all 1.000010-1 [7684 B] 304s Get:49 http://ftpmaster.internal/ubuntu plucky/main s390x libstrictures-perl all 2.000006-1 [16.3 kB] 304s Get:50 http://ftpmaster.internal/ubuntu plucky/universe s390x libjson-schema-modern-perl all 0.593-1 [100 kB] 304s Get:51 http://ftpmaster.internal/ubuntu plucky/universe s390x pkg-perl-autopkgtest all 0.80 [18.7 kB] 305s Fetched 3082 kB in 1s (2994 kB/s) 305s Selecting previously unselected package dctrl-tools. 305s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 55524 files and directories currently installed.) 305s Preparing to unpack .../00-dctrl-tools_2.24-3build3_s390x.deb ... 305s Unpacking dctrl-tools (2.24-3build3) ... 305s Selecting previously unselected package autodep8. 305s Preparing to unpack .../01-autodep8_0.28+nmu1ubuntu1_all.deb ... 305s Unpacking autodep8 (0.28+nmu1ubuntu1) ... 305s Selecting previously unselected package javascript-common. 305s Preparing to unpack .../02-javascript-common_11+nmu1_all.deb ... 305s Unpacking javascript-common (11+nmu1) ... 305s Selecting previously unselected package libautovivification-perl:s390x. 305s Preparing to unpack .../03-libautovivification-perl_0.18-2build5_s390x.deb ... 305s Unpacking libautovivification-perl:s390x (0.18-2build5) ... 305s Selecting previously unselected package libb-hooks-op-check-perl:s390x. 305s Preparing to unpack .../04-libb-hooks-op-check-perl_0.22-3build2_s390x.deb ... 305s Unpacking libb-hooks-op-check-perl:s390x (0.22-3build2) ... 305s Selecting previously unselected package libdynaloader-functions-perl. 305s Preparing to unpack .../05-libdynaloader-functions-perl_0.004-1_all.deb ... 305s Unpacking libdynaloader-functions-perl (0.004-1) ... 305s Selecting previously unselected package libdevel-callchecker-perl:s390x. 305s Preparing to unpack .../06-libdevel-callchecker-perl_0.009-1build1_s390x.deb ... 305s Unpacking libdevel-callchecker-perl:s390x (0.009-1build1) ... 305s Selecting previously unselected package libparams-classify-perl:s390x. 305s Preparing to unpack .../07-libparams-classify-perl_0.015-2build6_s390x.deb ... 305s Unpacking libparams-classify-perl:s390x (0.015-2build6) ... 305s Selecting previously unselected package libmodule-runtime-perl. 305s Preparing to unpack .../08-libmodule-runtime-perl_0.016-2_all.deb ... 305s Unpacking libmodule-runtime-perl (0.016-2) ... 305s Selecting previously unselected package libtry-tiny-perl. 305s Preparing to unpack .../09-libtry-tiny-perl_0.32-1_all.deb ... 305s Unpacking libtry-tiny-perl (0.32-1) ... 305s Selecting previously unselected package libmodule-implementation-perl. 305s Preparing to unpack .../10-libmodule-implementation-perl_0.09-2_all.deb ... 305s Unpacking libmodule-implementation-perl (0.09-2) ... 305s Selecting previously unselected package libsub-exporter-progressive-perl. 305s Preparing to unpack .../11-libsub-exporter-progressive-perl_0.001013-3_all.deb ... 305s Unpacking libsub-exporter-progressive-perl (0.001013-3) ... 305s Selecting previously unselected package libvariable-magic-perl. 305s Preparing to unpack .../12-libvariable-magic-perl_0.64-1build1_s390x.deb ... 305s Unpacking libvariable-magic-perl (0.64-1build1) ... 305s Selecting previously unselected package libb-hooks-endofscope-perl. 305s Preparing to unpack .../13-libb-hooks-endofscope-perl_0.28-1_all.deb ... 305s Unpacking libb-hooks-endofscope-perl (0.28-1) ... 305s Selecting previously unselected package libclass-inspector-perl. 305s Preparing to unpack .../14-libclass-inspector-perl_1.36-3_all.deb ... 305s Unpacking libclass-inspector-perl (1.36-3) ... 305s Selecting previously unselected package libclass-method-modifiers-perl. 305s Preparing to unpack .../15-libclass-method-modifiers-perl_2.15-1_all.deb ... 305s Unpacking libclass-method-modifiers-perl (2.15-1) ... 305s Selecting previously unselected package libclass-xsaccessor-perl. 305s Preparing to unpack .../16-libclass-xsaccessor-perl_1.19-4build5_s390x.deb ... 305s Unpacking libclass-xsaccessor-perl (1.19-4build5) ... 305s Selecting previously unselected package libcpanel-json-xs-perl:s390x. 305s Preparing to unpack .../17-libcpanel-json-xs-perl_4.38-1build1_s390x.deb ... 305s Unpacking libcpanel-json-xs-perl:s390x (4.38-1build1) ... 305s Selecting previously unselected package libparams-util-perl. 305s Preparing to unpack .../18-libparams-util-perl_1.102-3build1_s390x.deb ... 305s Unpacking libparams-util-perl (1.102-3build1) ... 305s Selecting previously unselected package libsub-install-perl. 305s Preparing to unpack .../19-libsub-install-perl_0.929-1_all.deb ... 305s Unpacking libsub-install-perl (0.929-1) ... 305s Selecting previously unselected package libdata-optlist-perl. 305s Preparing to unpack .../20-libdata-optlist-perl_0.114-1_all.deb ... 305s Unpacking libdata-optlist-perl (0.114-1) ... 305s Selecting previously unselected package libexporter-tiny-perl. 305s Preparing to unpack .../21-libexporter-tiny-perl_1.006002-1_all.deb ... 305s Unpacking libexporter-tiny-perl (1.006002-1) ... 305s Selecting previously unselected package libfile-sharedir-perl. 305s Preparing to unpack .../22-libfile-sharedir-perl_1.118-3_all.deb ... 305s Unpacking libfile-sharedir-perl (1.118-3) ... 305s Selecting previously unselected package libxs-parse-keyword-perl. 305s Preparing to unpack .../23-libxs-parse-keyword-perl_0.46-1_s390x.deb ... 305s Unpacking libxs-parse-keyword-perl (0.46-1) ... 305s Selecting previously unselected package libsyntax-keyword-try-perl. 305s Preparing to unpack .../24-libsyntax-keyword-try-perl_0.30-1_s390x.deb ... 305s Unpacking libsyntax-keyword-try-perl (0.30-1) ... 305s Selecting previously unselected package libfeature-compat-try-perl. 305s Preparing to unpack .../25-libfeature-compat-try-perl_0.05-1_all.deb ... 305s Unpacking libfeature-compat-try-perl (0.05-1) ... 305s Selecting previously unselected package libio-stringy-perl. 305s Preparing to unpack .../26-libio-stringy-perl_2.113-2_all.deb ... 305s Unpacking libio-stringy-perl (2.113-2) ... 305s Selecting previously unselected package libparams-validate-perl:s390x. 305s Preparing to unpack .../27-libparams-validate-perl_1.31-2build4_s390x.deb ... 305s Unpacking libparams-validate-perl:s390x (1.31-2build4) ... 305s Selecting previously unselected package libsub-exporter-perl. 305s Preparing to unpack .../28-libsub-exporter-perl_0.990-1_all.deb ... 305s Unpacking libsub-exporter-perl (0.990-1) ... 305s Selecting previously unselected package libgetopt-long-descriptive-perl. 305s Preparing to unpack .../29-libgetopt-long-descriptive-perl_0.115-1_all.deb ... 305s Unpacking libgetopt-long-descriptive-perl (0.115-1) ... 305s Selecting previously unselected package libimport-into-perl. 305s Preparing to unpack .../30-libimport-into-perl_1.002005-2_all.deb ... 305s Unpacking libimport-into-perl (1.002005-2) ... 305s Selecting previously unselected package libjs-popper.js. 305s Preparing to unpack .../31-libjs-popper.js_1.16.1+ds-6_all.deb ... 305s Unpacking libjs-popper.js (1.16.1+ds-6) ... 305s Selecting previously unselected package libjs-bootstrap5. 305s Preparing to unpack .../32-libjs-bootstrap5_5.3.3+dfsg-1_all.deb ... 305s Unpacking libjs-bootstrap5 (5.3.3+dfsg-1) ... 305s Selecting previously unselected package libjs-highlight.js. 305s Preparing to unpack .../33-libjs-highlight.js_9.18.5+dfsg1-2_all.deb ... 305s Unpacking libjs-highlight.js (9.18.5+dfsg1-2) ... 305s Selecting previously unselected package libmojolicious-perl. 305s Preparing to unpack .../34-libmojolicious-perl_9.38+dfsg-1_all.deb ... 305s Unpacking libmojolicious-perl (9.38+dfsg-1) ... 305s Selecting previously unselected package librole-tiny-perl. 305s Preparing to unpack .../35-librole-tiny-perl_2.002004-1_all.deb ... 305s Unpacking librole-tiny-perl (2.002004-1) ... 305s Selecting previously unselected package libsub-quote-perl. 305s Preparing to unpack .../36-libsub-quote-perl_2.006008-1ubuntu1_all.deb ... 305s Unpacking libsub-quote-perl (2.006008-1ubuntu1) ... 305s Selecting previously unselected package libmoo-perl. 305s Preparing to unpack .../37-libmoo-perl_2.005005-1_all.deb ... 305s Unpacking libmoo-perl (2.005005-1) ... 305s Selecting previously unselected package libtype-tiny-perl. 305s Preparing to unpack .../38-libtype-tiny-perl_2.004000-1_all.deb ... 305s Unpacking libtype-tiny-perl (2.004000-1) ... 305s Selecting previously unselected package libmoox-typetiny-perl. 305s Preparing to unpack .../39-libmoox-typetiny-perl_0.002003-4_all.deb ... 305s Unpacking libmoox-typetiny-perl (0.002003-4) ... 305s Selecting previously unselected package libpackage-stash-perl. 305s Preparing to unpack .../40-libpackage-stash-perl_0.40-1_all.deb ... 305s Unpacking libpackage-stash-perl (0.40-1) ... 305s Selecting previously unselected package libsub-identify-perl. 305s Preparing to unpack .../41-libsub-identify-perl_0.14-3build4_s390x.deb ... 305s Unpacking libsub-identify-perl (0.14-3build4) ... 305s Selecting previously unselected package libsub-name-perl:s390x. 305s Preparing to unpack .../42-libsub-name-perl_0.27-1build4_s390x.deb ... 305s Unpacking libsub-name-perl:s390x (0.27-1build4) ... 305s Selecting previously unselected package libnamespace-clean-perl. 305s Preparing to unpack .../43-libnamespace-clean-perl_0.27-2_all.deb ... 305s Unpacking libnamespace-clean-perl (0.27-2) ... 305s Selecting previously unselected package libpath-tiny-perl. 305s Preparing to unpack .../44-libpath-tiny-perl_0.146-1_all.deb ... 305s Unpacking libpath-tiny-perl (0.146-1) ... 305s Selecting previously unselected package libref-util-perl. 305s Preparing to unpack .../45-libref-util-perl_0.204-2_all.deb ... 305s Unpacking libref-util-perl (0.204-2) ... 305s Selecting previously unselected package libsafe-isa-perl. 305s Preparing to unpack .../46-libsafe-isa-perl_1.000010-1_all.deb ... 305s Unpacking libsafe-isa-perl (1.000010-1) ... 305s Selecting previously unselected package libstrictures-perl. 305s Preparing to unpack .../47-libstrictures-perl_2.000006-1_all.deb ... 305s Unpacking libstrictures-perl (2.000006-1) ... 305s Selecting previously unselected package libjson-schema-modern-perl. 305s Preparing to unpack .../48-libjson-schema-modern-perl_0.593-1_all.deb ... 305s Unpacking libjson-schema-modern-perl (0.593-1) ... 305s Selecting previously unselected package pkg-perl-autopkgtest. 305s Preparing to unpack .../49-pkg-perl-autopkgtest_0.80_all.deb ... 305s Unpacking pkg-perl-autopkgtest (0.80) ... 305s Selecting previously unselected package autopkgtest-satdep. 305s Preparing to unpack .../50-2-autopkgtest-satdep.deb ... 305s Unpacking autopkgtest-satdep (0) ... 305s Setting up javascript-common (11+nmu1) ... 305s Setting up libsafe-isa-perl (1.000010-1) ... 305s Setting up libclass-inspector-perl (1.36-3) ... 305s Setting up libdynaloader-functions-perl (0.004-1) ... 305s Setting up libclass-method-modifiers-perl (2.15-1) ... 305s Setting up libjs-popper.js (1.16.1+ds-6) ... 305s Setting up libsub-identify-perl (0.14-3build4) ... 305s Setting up libcpanel-json-xs-perl:s390x (4.38-1build1) ... 305s Setting up libio-stringy-perl (2.113-2) ... 305s Setting up libtry-tiny-perl (0.32-1) ... 305s Setting up libsub-install-perl (0.929-1) ... 305s Setting up libautovivification-perl:s390x (0.18-2build5) ... 305s Setting up libref-util-perl (0.204-2) ... 305s Setting up libvariable-magic-perl (0.64-1build1) ... 305s Setting up libb-hooks-op-check-perl:s390x (0.22-3build2) ... 305s Setting up libparams-util-perl (1.102-3build1) ... 305s Setting up libsub-exporter-progressive-perl (0.001013-3) ... 305s Setting up libsub-name-perl:s390x (0.27-1build4) ... 305s Setting up libjs-highlight.js (9.18.5+dfsg1-2) ... 305s Setting up libpath-tiny-perl (0.146-1) ... 305s Setting up librole-tiny-perl (2.002004-1) ... 305s Setting up libfile-sharedir-perl (1.118-3) ... 305s Setting up libstrictures-perl (2.000006-1) ... 305s Setting up libsub-quote-perl (2.006008-1ubuntu1) ... 305s Setting up libclass-xsaccessor-perl (1.19-4build5) ... 305s Setting up libexporter-tiny-perl (1.006002-1) ... 305s Setting up libjs-bootstrap5 (5.3.3+dfsg-1) ... 305s Setting up dctrl-tools (2.24-3build3) ... 305s Setting up autodep8 (0.28+nmu1ubuntu1) ... 305s Setting up libmojolicious-perl (9.38+dfsg-1) ... 305s Setting up libtype-tiny-perl (2.004000-1) ... 305s Setting up libdevel-callchecker-perl:s390x (0.009-1build1) ... 305s Setting up libxs-parse-keyword-perl (0.46-1) ... 305s Setting up libdata-optlist-perl (0.114-1) ... 305s Setting up pkg-perl-autopkgtest (0.80) ... 305s Setting up libsyntax-keyword-try-perl (0.30-1) ... 305s Setting up libsub-exporter-perl (0.990-1) ... 305s Setting up libfeature-compat-try-perl (0.05-1) ... 305s Setting up libparams-classify-perl:s390x (0.015-2build6) ... 305s Setting up libmodule-runtime-perl (0.016-2) ... 305s Setting up libmodule-implementation-perl (0.09-2) ... 305s Setting up libpackage-stash-perl (0.40-1) ... 305s Setting up libimport-into-perl (1.002005-2) ... 305s Setting up libmoo-perl (2.005005-1) ... 305s Setting up libmoox-typetiny-perl (0.002003-4) ... 305s Setting up libparams-validate-perl:s390x (1.31-2build4) ... 305s Setting up libb-hooks-endofscope-perl (0.28-1) ... 305s Setting up libnamespace-clean-perl (0.27-2) ... 305s Setting up libgetopt-long-descriptive-perl (0.115-1) ... 305s Setting up libjson-schema-modern-perl (0.593-1) ... 305s Setting up autopkgtest-satdep (0) ... 305s Processing triggers for man-db (2.13.0-1) ... 308s (Reading database ... 56977 files and directories currently installed.) 308s Removing autopkgtest-satdep (0) ... 310s autopkgtest [08:45:57]: test autodep8-perl: /usr/share/pkg-perl-autopkgtest/runner runtime-deps 310s autopkgtest [08:45:57]: test autodep8-perl: [----------------------- 310s /usr/share/pkg-perl-autopkgtest/runtime-deps.d/use.t .. 310s 1..4 310s ok 1 - /usr/bin/perl -w -M"JSON::Schema::Modern" -e 1 2>&1 exited successfully 310s ok 2 - /usr/bin/perl -w -M"JSON::Schema::Modern" -e 1 2>&1 produced no (non-whitelisted) output 310s ok 3 - env PERL_DL_NONLAZY=1 /usr/bin/perl -w -M"JSON::Schema::Modern" -e 1 2>&1 exited successfully 310s ok 4 - env PERL_DL_NONLAZY=1 /usr/bin/perl -w -M"JSON::Schema::Modern" -e 1 2>&1 produced no (non-whitelisted) output 310s ok 310s All tests successful. 310s Files=1, Tests=4, 0 wallclock secs ( 0.01 usr 0.00 sys + 0.46 cusr 0.03 csys = 0.50 CPU) 310s Result: PASS 311s autopkgtest [08:45:58]: test autodep8-perl: -----------------------] 311s autodep8-perl PASS (superficial) 311s autopkgtest [08:45:58]: test autodep8-perl: - - - - - - - - - - results - - - - - - - - - - 312s autopkgtest [08:45:59]: test autodep8-perl-recommends: preparing testbed 313s Reading package lists... 313s Building dependency tree... 313s Reading state information... 313s Starting pkgProblemResolver with broken count: 0 313s Starting 2 pkgProblemResolver with broken count: 0 313s Done 313s The following additional packages will be installed: 313s libalgorithm-c3-perl libclass-c3-perl libclass-data-inheritable-perl 313s libclass-singleton-perl libdata-validate-domain-perl 313s libdatetime-format-rfc3339-perl libdatetime-locale-perl libdatetime-perl 313s libdatetime-timezone-perl libdevel-stacktrace-perl libemail-address-xs-perl 313s libeval-closure-perl libexception-class-perl libmro-compat-perl 313s libnamespace-autoclean-perl libnet-domain-tld-perl libnet-idn-encode-perl 313s libparams-validationcompiler-perl libref-util-xs-perl libsereal-decoder-perl 313s libsereal-encoder-perl libsereal-perl libspecio-perl libtime-moment-perl 313s libtype-tiny-xs-perl libxstring-perl 313s Suggested packages: 313s libtest-fatal-perl 313s Recommended packages: 313s libclass-c3-xs-perl libdevel-lexalias-perl 313s The following NEW packages will be installed: 313s autopkgtest-satdep libalgorithm-c3-perl libclass-c3-perl 313s libclass-data-inheritable-perl libclass-singleton-perl 313s libdata-validate-domain-perl libdatetime-format-rfc3339-perl 313s libdatetime-locale-perl libdatetime-perl libdatetime-timezone-perl 313s libdevel-stacktrace-perl libemail-address-xs-perl libeval-closure-perl 313s libexception-class-perl libmro-compat-perl libnamespace-autoclean-perl 313s libnet-domain-tld-perl libnet-idn-encode-perl 313s libparams-validationcompiler-perl libref-util-xs-perl libsereal-decoder-perl 313s libsereal-encoder-perl libsereal-perl libspecio-perl libtime-moment-perl 313s libtype-tiny-xs-perl libxstring-perl 313s 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 313s Need to get 4355 kB/4356 kB of archives. 313s After this operation, 34.2 MB of additional disk space will be used. 313s Get:1 /tmp/autopkgtest.Liz2nS/3-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [824 B] 313s Get:2 http://ftpmaster.internal/ubuntu plucky/universe s390x libalgorithm-c3-perl all 0.11-2 [10.2 kB] 313s Get:3 http://ftpmaster.internal/ubuntu plucky/universe s390x libclass-c3-perl all 0.35-2 [18.4 kB] 313s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x libclass-data-inheritable-perl all 0.10-1 [8038 B] 313s Get:5 http://ftpmaster.internal/ubuntu plucky/universe s390x libclass-singleton-perl all 1.6-2 [11.5 kB] 313s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x libnet-domain-tld-perl all 1.75-4 [29.0 kB] 314s Get:7 http://ftpmaster.internal/ubuntu plucky/main s390x libdata-validate-domain-perl all 0.15-1 [10.4 kB] 314s Get:8 http://ftpmaster.internal/ubuntu plucky/universe s390x libnamespace-autoclean-perl all 0.31-1 [11.9 kB] 314s Get:9 http://ftpmaster.internal/ubuntu plucky/universe s390x libeval-closure-perl all 0.14-3 [10.1 kB] 314s Get:10 http://ftpmaster.internal/ubuntu plucky/main s390x libdevel-stacktrace-perl all 2.0500-1 [22.1 kB] 314s Get:11 http://ftpmaster.internal/ubuntu plucky/main s390x libexception-class-perl all 1.45-1 [28.6 kB] 314s Get:12 http://ftpmaster.internal/ubuntu plucky/universe s390x libparams-validationcompiler-perl all 0.31-1 [28.3 kB] 314s Get:13 http://ftpmaster.internal/ubuntu plucky/universe s390x libmro-compat-perl all 0.15-2 [10.1 kB] 314s Get:14 http://ftpmaster.internal/ubuntu plucky/universe s390x libxstring-perl s390x 0.005-2build4 [7886 B] 314s Get:15 http://ftpmaster.internal/ubuntu plucky/universe s390x libspecio-perl all 0.48-1 [137 kB] 314s Get:16 http://ftpmaster.internal/ubuntu plucky/universe s390x libdatetime-locale-perl all 1:1.41-1 [3193 kB] 314s Get:17 http://ftpmaster.internal/ubuntu plucky/universe s390x libdatetime-timezone-perl all 1:2.63-2+2024b [259 kB] 314s Get:18 http://ftpmaster.internal/ubuntu plucky/universe s390x libdatetime-perl s390x 2:1.65-1build3 [96.5 kB] 314s Get:19 http://ftpmaster.internal/ubuntu plucky/universe s390x libdatetime-format-rfc3339-perl all 1.8.0-1 [8156 B] 314s Get:20 http://ftpmaster.internal/ubuntu plucky/main s390x libemail-address-xs-perl s390x 1.05-1build5 [29.3 kB] 314s Get:21 http://ftpmaster.internal/ubuntu plucky/universe s390x libnet-idn-encode-perl s390x 2.500-5build1 [84.0 kB] 314s Get:22 http://ftpmaster.internal/ubuntu plucky/universe s390x libref-util-xs-perl s390x 0.117-2build5 [12.9 kB] 314s Get:23 http://ftpmaster.internal/ubuntu plucky/main s390x libsereal-decoder-perl s390x 5.004+ds-1build4 [107 kB] 314s Get:24 http://ftpmaster.internal/ubuntu plucky/main s390x libsereal-encoder-perl s390x 5.004+ds-1build4 [112 kB] 314s Get:25 http://ftpmaster.internal/ubuntu plucky/universe s390x libsereal-perl all 5.004-1 [8770 B] 314s Get:26 http://ftpmaster.internal/ubuntu plucky/main s390x libtime-moment-perl s390x 0.44-2build5 [75.5 kB] 314s Get:27 http://ftpmaster.internal/ubuntu plucky/universe s390x libtype-tiny-xs-perl s390x 0.025-2build1 [25.4 kB] 314s Fetched 4355 kB in 1s (5449 kB/s) 314s Selecting previously unselected package libalgorithm-c3-perl. 314s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 56977 files and directories currently installed.) 314s Preparing to unpack .../00-libalgorithm-c3-perl_0.11-2_all.deb ... 314s Unpacking libalgorithm-c3-perl (0.11-2) ... 314s Selecting previously unselected package libclass-c3-perl. 314s Preparing to unpack .../01-libclass-c3-perl_0.35-2_all.deb ... 314s Unpacking libclass-c3-perl (0.35-2) ... 314s Selecting previously unselected package libclass-data-inheritable-perl. 314s Preparing to unpack .../02-libclass-data-inheritable-perl_0.10-1_all.deb ... 314s Unpacking libclass-data-inheritable-perl (0.10-1) ... 314s Selecting previously unselected package libclass-singleton-perl. 314s Preparing to unpack .../03-libclass-singleton-perl_1.6-2_all.deb ... 314s Unpacking libclass-singleton-perl (1.6-2) ... 314s Selecting previously unselected package libnet-domain-tld-perl. 314s Preparing to unpack .../04-libnet-domain-tld-perl_1.75-4_all.deb ... 314s Unpacking libnet-domain-tld-perl (1.75-4) ... 314s Selecting previously unselected package libdata-validate-domain-perl. 314s Preparing to unpack .../05-libdata-validate-domain-perl_0.15-1_all.deb ... 314s Unpacking libdata-validate-domain-perl (0.15-1) ... 314s Selecting previously unselected package libnamespace-autoclean-perl. 314s Preparing to unpack .../06-libnamespace-autoclean-perl_0.31-1_all.deb ... 314s Unpacking libnamespace-autoclean-perl (0.31-1) ... 314s Selecting previously unselected package libeval-closure-perl. 314s Preparing to unpack .../07-libeval-closure-perl_0.14-3_all.deb ... 314s Unpacking libeval-closure-perl (0.14-3) ... 314s Selecting previously unselected package libdevel-stacktrace-perl. 314s Preparing to unpack .../08-libdevel-stacktrace-perl_2.0500-1_all.deb ... 314s Unpacking libdevel-stacktrace-perl (2.0500-1) ... 314s Selecting previously unselected package libexception-class-perl. 314s Preparing to unpack .../09-libexception-class-perl_1.45-1_all.deb ... 314s Unpacking libexception-class-perl (1.45-1) ... 314s Selecting previously unselected package libparams-validationcompiler-perl. 314s Preparing to unpack .../10-libparams-validationcompiler-perl_0.31-1_all.deb ... 314s Unpacking libparams-validationcompiler-perl (0.31-1) ... 314s Selecting previously unselected package libmro-compat-perl. 314s Preparing to unpack .../11-libmro-compat-perl_0.15-2_all.deb ... 314s Unpacking libmro-compat-perl (0.15-2) ... 314s Selecting previously unselected package libxstring-perl:s390x. 314s Preparing to unpack .../12-libxstring-perl_0.005-2build4_s390x.deb ... 314s Unpacking libxstring-perl:s390x (0.005-2build4) ... 314s Selecting previously unselected package libspecio-perl. 314s Preparing to unpack .../13-libspecio-perl_0.48-1_all.deb ... 314s Unpacking libspecio-perl (0.48-1) ... 314s Selecting previously unselected package libdatetime-locale-perl. 314s Preparing to unpack .../14-libdatetime-locale-perl_1%3a1.41-1_all.deb ... 314s Unpacking libdatetime-locale-perl (1:1.41-1) ... 315s Selecting previously unselected package libdatetime-timezone-perl. 315s Preparing to unpack .../15-libdatetime-timezone-perl_1%3a2.63-2+2024b_all.deb ... 315s Unpacking libdatetime-timezone-perl (1:2.63-2+2024b) ... 315s Selecting previously unselected package libdatetime-perl. 315s Preparing to unpack .../16-libdatetime-perl_2%3a1.65-1build3_s390x.deb ... 315s Unpacking libdatetime-perl (2:1.65-1build3) ... 315s Selecting previously unselected package libdatetime-format-rfc3339-perl. 315s Preparing to unpack .../17-libdatetime-format-rfc3339-perl_1.8.0-1_all.deb ... 315s Unpacking libdatetime-format-rfc3339-perl (1.8.0-1) ... 315s Selecting previously unselected package libemail-address-xs-perl. 315s Preparing to unpack .../18-libemail-address-xs-perl_1.05-1build5_s390x.deb ... 315s Unpacking libemail-address-xs-perl (1.05-1build5) ... 315s Selecting previously unselected package libnet-idn-encode-perl. 315s Preparing to unpack .../19-libnet-idn-encode-perl_2.500-5build1_s390x.deb ... 315s Unpacking libnet-idn-encode-perl (2.500-5build1) ... 315s Selecting previously unselected package libref-util-xs-perl. 315s Preparing to unpack .../20-libref-util-xs-perl_0.117-2build5_s390x.deb ... 315s Unpacking libref-util-xs-perl (0.117-2build5) ... 315s Selecting previously unselected package libsereal-decoder-perl. 315s Preparing to unpack .../21-libsereal-decoder-perl_5.004+ds-1build4_s390x.deb ... 315s Unpacking libsereal-decoder-perl (5.004+ds-1build4) ... 315s Selecting previously unselected package libsereal-encoder-perl. 315s Preparing to unpack .../22-libsereal-encoder-perl_5.004+ds-1build4_s390x.deb ... 315s Unpacking libsereal-encoder-perl (5.004+ds-1build4) ... 315s Selecting previously unselected package libsereal-perl. 315s Preparing to unpack .../23-libsereal-perl_5.004-1_all.deb ... 315s Unpacking libsereal-perl (5.004-1) ... 315s Selecting previously unselected package libtime-moment-perl. 315s Preparing to unpack .../24-libtime-moment-perl_0.44-2build5_s390x.deb ... 315s Unpacking libtime-moment-perl (0.44-2build5) ... 315s Selecting previously unselected package libtype-tiny-xs-perl:s390x. 315s Preparing to unpack .../25-libtype-tiny-xs-perl_0.025-2build1_s390x.deb ... 315s Unpacking libtype-tiny-xs-perl:s390x (0.025-2build1) ... 315s Selecting previously unselected package autopkgtest-satdep. 315s Preparing to unpack .../26-3-autopkgtest-satdep.deb ... 315s Unpacking autopkgtest-satdep (0) ... 315s Setting up libref-util-xs-perl (0.117-2build5) ... 315s Setting up libnet-idn-encode-perl (2.500-5build1) ... 315s Setting up libclass-singleton-perl (1.6-2) ... 315s Setting up libtime-moment-perl (0.44-2build5) ... 315s Setting up libxstring-perl:s390x (0.005-2build4) ... 315s Setting up libsereal-encoder-perl (5.004+ds-1build4) ... 315s Setting up libclass-data-inheritable-perl (0.10-1) ... 315s Setting up libalgorithm-c3-perl (0.11-2) ... 315s Setting up libnet-domain-tld-perl (1.75-4) ... 315s Setting up libtype-tiny-xs-perl:s390x (0.025-2build1) ... 315s Setting up libdata-validate-domain-perl (0.15-1) ... 315s Setting up libdevel-stacktrace-perl (2.0500-1) ... 315s Setting up libnamespace-autoclean-perl (0.31-1) ... 315s Setting up libsereal-decoder-perl (5.004+ds-1build4) ... 315s Setting up libeval-closure-perl (0.14-3) ... 315s Setting up libemail-address-xs-perl (1.05-1build5) ... 315s Setting up libsereal-perl (5.004-1) ... 315s Setting up libexception-class-perl (1.45-1) ... 315s Setting up libclass-c3-perl (0.35-2) ... 315s Setting up libmro-compat-perl (0.15-2) ... 315s Setting up libparams-validationcompiler-perl (0.31-1) ... 315s Setting up libspecio-perl (0.48-1) ... 315s Setting up libdatetime-locale-perl (1:1.41-1) ... 315s Setting up libdatetime-timezone-perl (1:2.63-2+2024b) ... 315s Setting up libdatetime-perl (2:1.65-1build3) ... 315s Setting up libdatetime-format-rfc3339-perl (1.8.0-1) ... 315s Setting up autopkgtest-satdep (0) ... 315s Processing triggers for man-db (2.13.0-1) ... 316s (Reading database ... 60816 files and directories currently installed.) 316s Removing autopkgtest-satdep (0) ... 317s autopkgtest [08:46:04]: test autodep8-perl-recommends: /usr/share/pkg-perl-autopkgtest/runner runtime-deps-and-recommends 317s autopkgtest [08:46:04]: test autodep8-perl-recommends: [----------------------- 318s /usr/share/pkg-perl-autopkgtest/runtime-deps-and-recommends.d/syntax.t .. 318s 1..4 318s ok 1 - Package libjson-schema-modern-perl is known to dpkg 318s ok 2 - Got status information for package libjson-schema-modern-perl 318s ok 3 - Got file list for package libjson-schema-modern-perl 318s # Subtest: all modules in libjson-schema-modern-perl pass the syntax check 318s 1..16 318s ok 1 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Annotation.pm exited successfully 318s ok 2 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Document.pm exited successfully 318s ok 3 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Error.pm exited successfully 318s ok 4 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Result.pm exited successfully 318s ok 5 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/ResultNode.pm exited successfully 318s ok 6 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Utilities.pm exited successfully 318s ok 7 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/Applicator.pm exited successfully 318s ok 8 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/Content.pm exited successfully 318s ok 9 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/Core.pm exited successfully 318s ok 10 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/FormatAnnotation.pm exited successfully 318s ok 11 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/FormatAssertion.pm exited successfully 318s ok 12 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/MetaData.pm exited successfully 318s ok 13 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/Unevaluated.pm exited successfully 318s ok 14 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary/Validation.pm exited successfully 318s ok 15 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern/Vocabulary.pm exited successfully 318s ok 16 - /usr/bin/perl -wc /usr/share/perl5/JSON/Schema/Modern.pm exited successfully 318s ok 4 - all modules in libjson-schema-modern-perl pass the syntax check 318s ok 318s All tests successful. 318s Files=1, Tests=4, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.95 cusr 0.08 csys = 1.05 CPU) 318s Result: PASS 318s autopkgtest [08:46:05]: test autodep8-perl-recommends: -----------------------] 319s autodep8-perl-recommends PASS (superficial) 319s autopkgtest [08:46:06]: test autodep8-perl-recommends: - - - - - - - - - - results - - - - - - - - - - 319s autopkgtest [08:46:06]: @@@@@@@@@@@@@@@@@@@@ summary 319s autodep8-perl-build-deps PASS 319s autodep8-perl PASS (superficial) 319s autodep8-perl-recommends PASS (superficial) 330s nova [W] Using flock in prodstack6-s390x 330s flock: timeout while waiting to get lock 330s Creating nova instance adt-plucky-s390x-libjson-schema-modern-perl-20241116-084047-juju-7f2275-prod-proposed-migration-environment-15-9fe5340e-4a2a-4f4d-9e02-b45b418b6a14 from image adt/ubuntu-plucky-s390x-server-20241115.img (UUID c94000c6-8e8d-4693-8d37-fa9d34cd2414)... 330s nova [W] Using flock in prodstack6-s390x 330s flock: timeout while waiting to get lock 330s Creating nova instance adt-plucky-s390x-libjson-schema-modern-perl-20241116-084047-juju-7f2275-prod-proposed-migration-environment-15-9fe5340e-4a2a-4f4d-9e02-b45b418b6a14 from image adt/ubuntu-plucky-s390x-server-20241115.img (UUID c94000c6-8e8d-4693-8d37-fa9d34cd2414)...